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
hosts: "{{ Daily_Reboot_Hosts }}"
sudo: yes
become: yes
tasks:
- name: Reboot machine
ansible.builtin.reboot:
become: yes
reboot_timeout: 3600
msg: "Automatic reboot initiated"