summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/defaults
diff options
context:
space:
mode:
Diffstat (limited to 'roles/haproxy/defaults')
-rw-r--r--roles/haproxy/defaults/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
index 16e9af4d1..7ba5bd485 100644
--- a/roles/haproxy/defaults/main.yml
+++ b/roles/haproxy/defaults/main.yml
@@ -12,3 +12,10 @@ haproxy_backends:
- name: web01
address: 127.0.0.1:9000
opts: check
+
+os_firewall_use_firewalld: False
+os_firewall_allow:
+- service: haproxy stats
+ port: "9000/tcp"
+- service: haproxy balance
+ port: "8443/tcp"