diff options
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: |