feat(ansible): add handler to restart node if needed
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
4 files changed
+45
-49
No files matched your search
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Restart node
|
||||
ansible.builtin.reboot:
|
||||
msg: Restart node due to system changes
|
||||
|
||||
- name: Restart unattended-upgrades
|
||||
ansible.builtin.service:
|
||||
name: unattended-upgrades.service
|
||||
daemon_reload: true
|
||||
enabled: true
|
||||
state: restarted
|
||||
Reference in new issue
Block a user