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