changed back to become
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: Reboot machine
|
- name: Reboot machine
|
||||||
hosts: "{{ Daily_Reboot_Hosts }}"
|
hosts: "{{ Daily_Reboot_Hosts }}"
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Reboot machine
|
- name: Reboot machine
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
||||||
|
become: yes
|
||||||
reboot_timeout: 3600
|
reboot_timeout: 3600
|
||||||
msg: "Automatic reboot initiated"
|
msg: "Automatic reboot initiated"
|
||||||
Reference in New Issue
Block a user