diff options
author | Jason DeTiberus <detiber@gmail.com> | 2016-06-01 14:38:06 -0400 |
---|---|---|
committer | Jason DeTiberus <detiber@gmail.com> | 2016-06-01 14:38:06 -0400 |
commit | 54186e0e5022a827e6ffdeaffabcb5403bebe6e6 (patch) | |
tree | adabc2eab84c557b68438bcdf3bf4bf721361cfe /roles/openshift_metrics/tasks | |
parent | 1c6787d2692a8060580b0e6ff37a26b87d08c701 (diff) | |
parent | 708fbb0b85a76dbbef41fe6a9ae646c8662c77d9 (diff) | |
download | openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.gz openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.bz2 openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.xz openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.zip |
Merge pull request #1957 from jfcoz/metrics_wait_deployer
wait metrics-deployer complete (need to configure nodes before hosted…
Diffstat (limited to 'roles/openshift_metrics/tasks')
-rw-r--r-- | roles/openshift_metrics/tasks/main.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml index bee1bab90..43b85204a 100644 --- a/roles/openshift_metrics/tasks/main.yaml +++ b/roles/openshift_metrics/tasks/main.yaml @@ -54,3 +54,11 @@ command: > rm -rf {{hawkular_tmp_conf}} changed_when: false + +- name: "Wait for image pull and deployer pod" + shell: "{{ openshift.common.client_binary }} get pods -n openshift-infra | grep metrics-deployer.*Completed" + register: result + until: result.rc == 0 + retries: 60 + delay: 10 + |