|
@@ -10,13 +10,11 @@
|
|
|
state: restarted
|
|
|
when: openshift_master_ha | bool and openshift.master.cluster_method != 'pacemaker'
|
|
|
- name: Wait for master API to come back online
|
|
|
- become: no
|
|
|
- local_action:
|
|
|
- module: wait_for
|
|
|
- host="{{ openshift.common.hostname }}"
|
|
|
- state=started
|
|
|
- delay=10
|
|
|
- port="{{ openshift.master.api_port }}"
|
|
|
+ wait_for:
|
|
|
+ host: "{{ openshift.common.hostname }}"
|
|
|
+ state: started
|
|
|
+ delay: 10
|
|
|
+ port: "{{ openshift.master.api_port }}"
|
|
|
when: openshift_master_ha | bool and openshift.master.cluster_method != 'pacemaker'
|
|
|
- name: Restart master controllers
|
|
|
service:
|