2
0

changed back to become

This commit is contained in:
2024-06-06 18:22:16 +02:00
parent 7957e6ad27
commit 5521e60c83

View File

@@ -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"