diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-09-23 14:51:40 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-09-29 15:16:39 -0400 |
commit | 4b102facfb32e4de14147fcbbe97626c4e08e264 (patch) | |
tree | f8e72e807c7588aafe6bec987a5461997ec83ee5 /playbooks | |
parent | f255943326ad3be91d233609ec5e61382302fff5 (diff) | |
download | openshift-4b102facfb32e4de14147fcbbe97626c4e08e264.tar.gz openshift-4b102facfb32e4de14147fcbbe97626c4e08e264.tar.bz2 openshift-4b102facfb32e4de14147fcbbe97626c4e08e264.tar.xz openshift-4b102facfb32e4de14147fcbbe97626c4e08e264.zip |
Delgate handlers to first master
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/common/openshift-cluster/node_docker_ca.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/node_docker_ca.yml b/playbooks/common/openshift-cluster/node_docker_ca.yml index 6482c827b..a291aeeb7 100644 --- a/playbooks/common/openshift-cluster/node_docker_ca.yml +++ b/playbooks/common/openshift-cluster/node_docker_ca.yml @@ -86,12 +86,14 @@ -o jsonpath='{.status.availableReplicas}' --config={{ openshift_hosted_kubeconfig }} -n default + delegate_to: "{{ groups.oo_first_master.0}}" register: l_docker_registry_available_replicas until: l_docker_registry_available_replicas.stdout | default("0") != "0" retries: 30 delay: 1 failed_when: false changed_when: false + run_once: true - name: Wait for registry-console deployment command: > @@ -99,12 +101,14 @@ -o jsonpath='{.status.availableReplicas}' --config={{ openshift_hosted_kubeconfig }} -n default + delegate_to: "{{ groups.oo_first_master.0 }}" register: l_registry_console_available_replicas until: l_registry_console_available_replicas.stdout | default("0") != "0" retries: 30 delay: 1 failed_when: false changed_when: false + run_once: true - name: Restart docker service: |