Merge pull request 'Added playbook that reboots hosts' (#7) from dev into main

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2026-04-11 14:58:26 +02:00

View File

@@ -0,0 +1,15 @@
---
- name: Reboot Managed Hosts
hosts: all
become: true
become_method: sudo
tasks:
- name: Trigger system reboot
ansible.builtin.reboot:
msg: "Reboot initiated by Semaphore UI"
connect_timeout: 5
reboot_timeout: 600
pre_reboot_delay: 0
post_reboot_delay: 30
test_command: whoami