summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/defaults
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-05-16 11:45:32 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-05-26 13:45:09 -0400
commit57abf26c30e306d1527e92a61a94088e542bb006 (patch)
treeab2f4d9f5e675e9e02ff05a22412878b5f9b9550 /roles/haproxy/defaults
parent643b9b30066f0130f35e9ce7b1a8a7c24a244cc7 (diff)
downloadopenshift-57abf26c30e306d1527e92a61a94088e542bb006.tar.gz
openshift-57abf26c30e306d1527e92a61a94088e542bb006.tar.bz2
openshift-57abf26c30e306d1527e92a61a94088e542bb006.tar.xz
openshift-57abf26c30e306d1527e92a61a94088e542bb006.zip
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.
Diffstat (limited to 'roles/haproxy/defaults')
-rw-r--r--roles/haproxy/defaults/main.yml22
1 files changed, 0 insertions, 22 deletions
diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
deleted file mode 100644
index a1524cfe1..000000000
--- a/roles/haproxy/defaults/main.yml
+++ /dev/null
@@ -1,22 +0,0 @@
----
-haproxy_frontend_port: 80
-
-haproxy_frontends:
-- name: main
- binds:
- - "*:80"
- default_backend: default
-
-haproxy_backends:
-- name: default
- balance: roundrobin
- servers:
- - name: web01
- address: 127.0.0.1:9000
- opts: check
-
-os_firewall_allow:
-- service: haproxy stats
- port: "9000/tcp"
-- service: haproxy balance
- port: "{{ haproxy_frontend_port }}/tcp"