-
Notifications
You must be signed in to change notification settings - Fork 31
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
Remove special-case for firewalld in builder #364
Conversation
Fat image build: https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/8192527716 Edit: succeeded, |
Canceled workflow, rebuilding image for safety: https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/8201785642: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Uses extravars instead of a workaround in
fatimage.yml
to ensure firewalld service is not enabled on all nodes, to minimise differences/changes of error between fatimage.yml and site.ymlBackground for future reference:
ansible/bootstrap.yml
is run by bothsite.yml
andfatimage.yml
This runs thefirewalld
role which dnf-installs firewalld . On install, the firewalld service is enabled so after a reboot it starts running. Hence by default firewalld ends up running on all nodes created with a fatimage, even though its only wanted on the login node(s) running fail2ban. Before this PR there was a workaround in fatimage.yml to explicitly disable it on build.Requires new image build.