Wait for container creation in check network test
This commit is contained in:
parent
90e8d4c4ea
commit
61eb4ba0ee
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
- name: Get pod names
|
- name: Get pod names
|
||||||
shell: "{{bin_dir}}/kubectl get pods -o json"
|
shell: "{{bin_dir}}/kubectl get pods -o json"
|
||||||
register: pods
|
register: pods
|
||||||
|
until: '"ContainerCreating" not in pods.stdout'
|
||||||
|
retries: 60
|
||||||
|
delay: 2
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Get hostnet pods
|
- name: Get hostnet pods
|
||||||
|
|
Loading…
Reference in a new issue