diff options
Diffstat (limited to 'playbooks/common/openshift-master/restart_services_pacemaker.yml')
-rw-r--r-- | playbooks/common/openshift-master/restart_services_pacemaker.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/restart_services_pacemaker.yml b/playbooks/common/openshift-master/restart_services_pacemaker.yml new file mode 100644 index 000000000..e738f3fb6 --- /dev/null +++ b/playbooks/common/openshift-master/restart_services_pacemaker.yml @@ -0,0 +1,10 @@ +- name: Restart master services + command: pcs resource restart master +- name: Wait for master API to come back online + become: no + local_action: + module: wait_for + host="{{ openshift.master.cluster_hostname }}" + state=started + delay=10 + port="{{ openshift.master.api_port }}" |