Moving all files to basedir

This commit is contained in:
2026-03-09 13:08:44 -04:00
parent 63099ecf0d
commit 45b0203787
7 changed files with 1 additions and 1 deletions

13
reboot.yml Normal file
View File

@@ -0,0 +1,13 @@
- name: Stop mollyguard if active
ansible.builtin.script: stop_mollyguard
register: mg
- name: Determine if a reboot is necessary
ansible.builtin.command:
cmd: ~/bin/needs_reboot
register: needs_reboot
- name: Conditionally reboot
ansible.builtin.reboot:
when:
- inventory_hostname not in group['controller']
- mgc succeeded
- needs_reboot succeeded