Created
February 13, 2017 14:01
-
-
Save ahawkins/1cf7ef68dac523b370c31de61577bbf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Check test pods | |
shell: > | |
kops export kubecfg {{ item[0].name }} | |
&& kubectl get pod image-pull-test -o yaml --template {%- raw -%}'{{.status.phase}}'{%- endraw -%} --namespace {{ item[1] }} | |
environment: | |
KOPS_STATE_STORE: "s3://{{ kops_prereqs.stack_outputs.Bucket }}" | |
with_subelements: | |
- "{{ production_k8s_deployments }}" | |
- namespaces | |
until: result.stdout.lower() == 'Running' | |
retries: 5 | |
delay: 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment