This commit is contained in:
Justin committed 2025-09-03 20:45:17 -05:00
1 parent 79df365f95
commit bee972ff5f
6 files changed
+48 -44

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
---
- name: Rebooting Machines Proxmox
hosts: proxmox
become: true
tasks:
- name: Checking Reboot is needed
become: true
ansible.builtin.stat:
path: /run/reboot-required
register: reboot_required
- name: Reboot Machine
become: true
ansible.builtin.reboot:
reboot_timeout: 3600
when: reboot_required.stat.exists