feat(ansible): add handler to restart node if needed

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-05-16 17:07:16 -04:00
1 parent 8beba77f76
commit 0f8136432d
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