This commit is contained in:
admin_rb
2026-09-15 21:33:10 +02:00
parent 7c24c7ba7f
commit d095887d2e
118 changed files with 1655 additions and 21 deletions
+15
View File
@@ -0,0 +1,15 @@
---
- name: "Maintenance | Reboot systems"
hosts: all
gather_facts: true
tasks:
- name: "Windows | Reboot system"
when: ansible_facts['os_family'] == 'Windows'
ansible.windows.win_reboot:
reboot_timeout: 1800
- name: "Linux | Reboot system"
when: ansible_facts['os_family'] != 'Windows'
ansible.builtin.reboot:
reboot_timeout: 1800