From 708fbb0b85a76dbbef41fe6a9ae646c8662c77d9 Mon Sep 17 00:00:00 2001 From: jfcoz Date: Thu, 26 May 2016 17:37:13 +0200 Subject: wait metrics-deployer complete (need to configure nodes before hosted services) --- roles/openshift_metrics/tasks/main.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roles/openshift_metrics/tasks') 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 + -- cgit v1.2.3