new role for maintaining webserver
This commit is contained in:
4
ansible/roles/webserver/handlers/main.yaml
Normal file
4
ansible/roles/webserver/handlers/main.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Restart host to apply any changes and clear out uptime stuff
|
||||
become: true
|
||||
ansible.builtin.reboot:
|
||||
msg: "Reboot initiated as a part of housekeeping"
|
||||
Reference in New Issue
Block a user