repo: Move ansible setup to root dir
This commit is contained in:
parent
ff718b46ef
commit
7a37d60494
48 changed files with 127 additions and 172 deletions
11
roles/system/handlers/main.yaml
Normal file
11
roles/system/handlers/main.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue