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: