Skip to content
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

Run playbooks during kickstart #254

Open
duncaninnes opened this issue Nov 12, 2024 · 1 comment
Open

Run playbooks during kickstart #254

duncaninnes opened this issue Nov 12, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@duncaninnes
Copy link

Feature Request or Enhancement

  • Feature []
  • Enhancement [Ability to run all playbooks during kickstart process]

Summary of Request
Would like to be able to run all playbooks during the kickstart process. This would require kickstarts to detect when they are running in a kickstart process and not attempt to stop/start any services. Services will still be stop/started during normal operation, just not during kickstart.

Describe Alternatives You've Considered
We don't run most of the playbooks during kickstart. This is a shame, as systems boot up half-configured and requiring the playbooks to be run ASAP on boot.

Suggested Code
Not sure how to detect when running in kickstart, but once an adequate detection can be made, parts of playbooks which cause trouble during kickstart would have a "when {{ not-kickstart }}" or similar added to their definition block. This would allow the playbooks to be fully run during kickstart, resulting in a fully configured and locked-down system before firstboot. All services will be enabled/disabled and configured during kickstart, but no attempt will be made to stop/start the services.

@duncaninnes duncaninnes added the enhancement New feature or request label Nov 12, 2024
@duncaninnes
Copy link
Author

Copy of the RHEL 8 issue: ansible-lockdown/RHEL8-CIS#417

I did not realise the RHEL8 issue only applied to the specific RHEL 8 codebase. Duplicating here for visibility.

@uk-bolly uk-bolly self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants