From d9bebc99fe94c2a981e6b96f36d0292d7fa80879 Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Fri, 27 Jan 2017 15:34:01 -0600 Subject: Updating to correctly pull handler for openshift_logging. Adding logic to openshift_hosted_logging too --- roles/openshift_hosted_logging/handlers/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/openshift_hosted_logging/handlers/main.yml (limited to 'roles/openshift_hosted_logging/handlers') 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 -- cgit v1.2.3