Merge pull request 'dev' (#18) from dev into main

Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
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
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"
ansible.builtin.shell: "sleep 5 && reboot"
async: 1
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: