fix: Wait for connection to be ready
Ping was not working, using wait_for_connection instead. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
ce2ea54033
commit
b7917a9d80
1 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,9 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Wait for infrastructure to be ready
|
- name: Wait for infrastructure to be ready
|
||||||
ansible.builtin.ping:
|
ansible.builtin.wait_for_connection:
|
||||||
retries: 30
|
delay: 10
|
||||||
delay: 10
|
timeout: 300
|
||||||
|
|
||||||
- name: Update repositories
|
- name: Update repositories
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue