10 lines
212 B
YAML
10 lines
212 B
YAML
---
|
|
- name: Reboot machine
|
|
hosts: "{{ Daily_Reboot_Hosts }}"
|
|
sudo: yes
|
|
|
|
tasks:
|
|
- name: Reboot machine
|
|
ansible.builtin.reboot:
|
|
reboot_timeout: 3600
|
|
msg: "Automatic reboot initiated" |