Split incus role from playbook

This commit is contained in:
Marty Oehme 2025-04-02 20:49:41 +02:00
parent 0f8822e632
commit eaaa35de25
Signed by: Marty
GPG key ID: 4E535BC19C61886E
11 changed files with 531 additions and 318 deletions

View file

@ -0,0 +1,11 @@
---
- name: Reboot host
ansible.builtin.reboot:
msg: "Reboot initiated by Ansible"
connect_timeout: 5
reboot_timeout: 600
pre_reboot_delay: 0
post_reboot_delay: 30
test_command: whoami
become: true
when: reboot_required_file.stat.exists