diff options
author | jfcoz <you@example.com> | 2016-05-26 17:37:13 +0200 |
---|---|---|
committer | jfcoz <you@example.com> | 2016-05-27 10:39:52 +0200 |
commit | 708fbb0b85a76dbbef41fe6a9ae646c8662c77d9 (patch) | |
tree | 02a94a6b5221665ed8d0a766a4420719f9144608 /roles/openshift_metrics/tasks | |
parent | c78e91c7d4a304cc5d20135e96206008407c5f6f (diff) | |
download | openshift-708fbb0b85a76dbbef41fe6a9ae646c8662c77d9.tar.gz openshift-708fbb0b85a76dbbef41fe6a9ae646c8662c77d9.tar.bz2 openshift-708fbb0b85a76dbbef41fe6a9ae646c8662c77d9.tar.xz openshift-708fbb0b85a76dbbef41fe6a9ae646c8662c77d9.zip |
wait metrics-deployer complete (need to configure nodes before hosted services)
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 + |