Téléverser les fichiers vers "/"
This commit is contained in:
13
reboot_backup.yml
Normal file
13
reboot_backup.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
- name: Reboot a machine
|
||||||
|
hosts: all
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Reboot the machine
|
||||||
|
ansible.builtin.reboot:
|
||||||
|
msg: "Reboot avec ansible"
|
||||||
|
connect_timeout: 5
|
||||||
|
reboot_timeout: 600
|
||||||
|
pre_reboot_delay: 0
|
||||||
|
post_reboot_delay: 30
|
Reference in New Issue
Block a user