Wait for container creation in check network test

This commit is contained in:
Matthew Mosesohn 2017-04-04 13:12:24 +03:00
parent b4d06ff8dd
commit fd20e0de90

View file

@ -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