From 57abf26c30e306d1527e92a61a94088e542bb006 Mon Sep 17 00:00:00 2001
From: Andrew Butcher <abutcher@redhat.com>
Date: Mon, 16 May 2016 11:45:32 -0400
Subject: Separate master and haproxy config playbooks.

* Move haproxy configuration to a separate openshift-loadbalancer play.
* Move the haproxy role to openshift_loadbalancer.
* Add openshift_loadbalancer* facts which drive haproxy configuration.
---
 roles/openshift_loadbalancer/handlers/main.yml | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 roles/openshift_loadbalancer/handlers/main.yml

(limited to 'roles/openshift_loadbalancer/handlers')

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)
-- 
cgit v1.2.3