Ansible/ubuntu/maint-reboot.yaml

10 lines
314 B
YAML

---
- name: Reboot machine
hosts: ["mqtt-server.ki5bhv.com", "git-server.ki5bhv.com", "webhost.ki5bhv.com", "clouflare.ki5bhv.com", "coding.ki5bhv.com",pi-hole-server.ki5bhv.com, "killer2.ki5bhv.com"]
become: true
tasks:
- name: Reboot machine
ansible.builtin.reboot:
reboot_timeout: 3600