dev #18

Merged
khwezi merged 2 commits from dev into main 2026-04-11 16:46:35 +02:00
2 changed files with 7 additions and 7 deletions
Showing only changes of commit 82a72307e4 - Show all commits

View File

@@ -5,14 +5,9 @@
become_method: sudo
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
ansible.builtin.shell: "sleep 15 && shutdown -r now"
async: 1
ansible.builtin.shell: "sleep 5 && reboot"
async: 0
poll: 0
ignore_errors: true

View File

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