From b7917a9d80804e145ddc8d608cb0290dc1ecf1ee Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Sun, 19 Oct 2025 10:43:10 +0200 Subject: [PATCH] fix: Wait for connection to be ready Ping was not working, using wait_for_connection instead. Signed-off-by: Julien Riou --- ansible/site.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index c66dfa9..6475ac6 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -5,9 +5,9 @@ gather_facts: false tasks: - name: Wait for infrastructure to be ready - ansible.builtin.ping: - retries: 30 - delay: 10 + ansible.builtin.wait_for_connection: + delay: 10 + timeout: 300 - name: Update repositories ansible.builtin.apt: