summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_logging/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_hosted_logging/handlers/main.yml')
-rw-r--r--roles/openshift_hosted_logging/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_hosted_logging/handlers/main.yml b/roles/openshift_hosted_logging/handlers/main.yml
new file mode 100644
index 000000000..ad79e62ae
--- /dev/null
+++ b/roles/openshift_hosted_logging/handlers/main.yml
@@ -0,0 +1,5 @@
+---
+- name: restart master
+ systemd: name={{ openshift.common.service_type }}-master state=restarted
+ when: (openshift.master.ha is not defined or not openshift.master.ha | bool) and (not (master_service_status_changed | default(false) | bool))
+ notify: Verify API Server