stackhpc / ansible-slurm-appliance

A Slurm-based HPC workload management environment, driven by Ansible.
36 stars 15 forks source link

Make dnf updates harder to do accidently #336

Open sjpb opened 7 months ago

sjpb commented 7 months ago

Could disable all repos to make running a dnf update harder to do accidently to improve reliability.

All repos could be enabled at the start of site.yml and disabled at the end of site.yml. Note this would make running specific playbooks fail, in some cases at least.

Note repos can't be disabled after image build without significant changes to code (including 3rd party roles) to not run any dnf/yum/package modules during site.yml - unless those modules are not used with a fqdn and can be overriden which feels horribly hacky.