Compare commits

..

3 Commits

Author SHA1 Message Date
bf3c678554 Merge pull request 'dev' (#18) from dev into main
Reviewed-on: #18
2026-04-11 16:46:35 +02:00
Khwezi
df6eaef96c Turned async on 2026-04-11 16:46:13 +02:00
Khwezi
82a72307e4 Removed async from reboot playbook and set it to delay reboot for 5 seconds 2026-04-11 16:45:47 +02:00
2 changed files with 6 additions and 6 deletions

View File

@@ -5,13 +5,8 @@
become_method: sudo become_method: sudo
tasks: tasks:
- name: Wait for VPN host to be ready after reboot
ansible.builtin.wait_for_connection:
delay: 5
timeout: 300
- name: Trigger reboot with a slight delay - name: Trigger reboot with a slight delay
ansible.builtin.shell: "sleep 15 && shutdown -r now" ansible.builtin.shell: "sleep 5 && reboot"
async: 1 async: 1
poll: 0 poll: 0
ignore_errors: true ignore_errors: true

View File

@@ -6,6 +6,11 @@
become_method: sudo become_method: sudo
tasks: tasks:
- name: Wait for VPN host to be ready after reboot
ansible.builtin.wait_for_connection:
delay: 5
timeout: 300
- name: Update Pi-hole - name: Update Pi-hole
ansible.builtin.shell: pihole -up ansible.builtin.shell: pihole -up
args: args: