diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-10-10 09:43:15 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-10-10 09:43:15 -0400 |
commit | ebef73fe94a0329011ca35ba33272789826ce282 (patch) | |
tree | 80ff4e887f991ace6c1cb0d54356507ceb51ccd0 | |
parent | 44d0816ecd1e55b98e4e76361072667c2ffdae40 (diff) | |
download | openshift-ebef73fe94a0329011ca35ba33272789826ce282.tar.gz openshift-ebef73fe94a0329011ca35ba33272789826ce282.tar.bz2 openshift-ebef73fe94a0329011ca35ba33272789826ce282.tar.xz openshift-ebef73fe94a0329011ca35ba33272789826ce282.zip |
Apply same pattern to HA master services
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 645871ab4..1a59717c7 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -213,6 +213,9 @@ state: started when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname == openshift_master_hosts[0] register: start_result + until: not start_result | failed + retries: 1 + delay: 60 - set_fact: master_api_service_status_changed: "{{ start_result | changed }}" @@ -229,6 +232,9 @@ state: started when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname != openshift_master_hosts[0] register: start_result + until: not start_result | failed + retries: 1 + delay: 60 - set_fact: master_api_service_status_changed: "{{ start_result | changed }}" @@ -262,6 +268,9 @@ state: started when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname == openshift_master_hosts[0] register: start_result + until: not start_result | failed + retries: 1 + delay: 60 - pause: seconds: 15 @@ -274,6 +283,9 @@ state: started when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname != openshift_master_hosts[0] register: start_result + until: not start_result | failed + retries: 1 + delay: 60 - set_fact: master_controllers_service_status_changed: "{{ start_result | changed }}" |