Add reboot-ubuntu-server.yaml
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- name: Reboot Ubuntu server
|
||||||
|
hosts: all
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Reboot the remote server
|
||||||
|
ansible.builtin.reboot:
|
||||||
|
reboot_timeout: 600
|
||||||
|
post_reboot_delay: 30
|
||||||
Reference in New Issue
Block a user