2
0
Files
Ansible/Maintenance/maint-reboot.yaml
2024-06-06 18:14:39 +02:00

12 lines
200 B
YAML

---
- name: Reboot machine
hosts: "{{ Daily_Reboot_Hosts }}"
become: true
tasks:
- name: Reboot machine
reboot:
when: True
become: true
args:
- "--no-wall"