-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENHANCEMENT] Use ansible provisioner for Linux configuration and packages #54
Comments
First, I suggest to divide playbook by OS family.
Then, I suggest to do the same for Windows with WinRM access. |
cc @gcblack. |
- Uses vendor / distributor `.iso` file name and checksum. - Adds/updates build variables to include `iso_path`, `iso_file`, `iso_checksum_type`, and `iso_checksum_value`. - Updates code style for the variables passed to a templatefile. - Replaces the term "redhat-variant" with "redhat-derivative". - Adds Ansible to Ubuntu 20.04 and 18.06 #54
Need to modify RHEL to use RHSM during kickstart to install Ansible. All other Linux distributions now have Ansible installed during kickstart. |
- Moves RSHM registration to the kickstart - Moves installation of the EPEL repository to the kickstart - Updates provisioner script to check RHSM (via refresh) before installing additional packages. Related Issue: #54
Look who's back... RHEL 7 and CentOS 7. - Adds the builds and includes Ansible (#54) in each kickstart. - Renames the scripts for RHEL/RHEL derivatives based on major version. - Updates `build.sh`. - Updates `README.md`.
All Linux distributions now have Ansible installed during the kickstart. Proceeding to refactor script contents to Ryan |
Initial introduction of Ansible use: - Adds `ansible-local` provisioner to Ubuntu builds. - Adde an initial playbook to remove steps from the `shell` build's provisioner scripts. - Removes steps in the `ubuntu*.sh` scripts for which Ansible now performs. More to come for vmware-samples#54. Stay tuned.
Initial introduction of Ansible use for Ubuntu : - Adds `ansible-local` provisioner to Ubuntu builds. - Adde an initial playbook to remove steps from the `shell` build's provisioner scripts. - Removes steps in the `ubuntu*.sh` scripts for which Ansible now performs. More to come for #54. Stay tuned!
Still in progress. :) |
re: #54 - Adds the`ansible` provisioner for preparation of **Linux** builds. - Updates guest operating system. - Adds additional packages. - Adds CA certificate to trust authority. - Removes use of the `file` provisioner for certificates. - Removes Ansible steps from scripts (more to follow). - Updates the README.md. - Requires Ansible 2.9 or higher on the system running Packer. - Cleanup of `build.sh`.
**Linux machine images**: - Adds Ansible roles (`users`, `configure`, and `clean`) for Linux machine image builds. [#54](#54) - Updates GHA to ignore Ansible since the linter errors on a required configuration. **Windows machine images**: - Condenses Windows machine image scripts. **Chores**: - Updates to minimum Packer version to `v1.7.10`. - Updates to minimum Terraform version to `v1.1.5`. - Resolve linter issue on` CODE_OF_CONDUCT.md`. - Update dates in `LICENSE` and `NOTICE` to 2022. - Simplifies terms or phrases in `build.sh`, `config.sh`, and `set-envvars.sh`
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Code of Conduct
Description
Use
ansible
provisioner for Linux configuration and packages.Use Case(s)
Cleaner management of configuration and packages for Linux machine images
Potential Configuration
References
No response
The text was updated successfully, but these errors were encountered: