You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thank you for the issue, This is a great question, i know we have community members already incorporating these into kickstart. But as with all things in IT there are many ways to do things.
there are a couple of quick approaches we could investigate but they all have pros and cons.
e.g.
End the play if kickstart before running handlers
This could miss out important handler like updating grub, creating aidedb etc
- name: End the play hosts if kickstart
ansible.builtin.meta: end_host
when:
- kickstart_used
or we could look to adding conditionals to handlers but as mentioned some will want somethings to run others wont.
It maybe a good idea to ask the discord community to see how others are getting around this, we could then get a standard approach for all documented based on the feedback.
discord link - https://lockdownenterprise.com/discord
I hope that helps, please let us know as we are keep to improve and enhance these roles.
Feature Request or Enhancement
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.
The text was updated successfully, but these errors were encountered: