feat(ansible): Wait for infra to be ready
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
fc59b4f9a5
commit
36b23ed093
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
||||||
hosts:
|
hosts:
|
||||||
- galene
|
- galene
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Wait for infrastructure to be ready
|
||||||
|
ansible.builtin.ping:
|
||||||
|
retries: 30
|
||||||
|
delay: 10
|
||||||
|
|
||||||
- name: Update repositories
|
- name: Update repositories
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue