dev #18

Merged
khwezi merged 2 commits from dev into main 2026-04-11 16:46:35 +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: