summaryrefslogtreecommitdiffstats
path: root/roles/openshift_loadbalancer/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_loadbalancer/handlers')
-rw-r--r--roles/openshift_loadbalancer/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_loadbalancer/handlers/main.yml b/roles/openshift_loadbalancer/handlers/main.yml
new file mode 100644
index 000000000..5b8691b26
--- /dev/null
+++ b/roles/openshift_loadbalancer/handlers/main.yml
@@ -0,0 +1,6 @@
+---
+- name: restart haproxy
+ service:
+ name: haproxy
+ state: restarted
+ when: not (haproxy_start_result_changed | default(false) | bool)