summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/haproxy/defaults/main.yml')
-rw-r--r--roles/haproxy/defaults/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
new file mode 100644
index 000000000..c002efdbc
--- /dev/null
+++ b/roles/haproxy/defaults/main.yml
@@ -0,0 +1,13 @@
+---
+haproxy_frontends:
+- name: main
+ bind: "*:80"
+ default_backend: default
+
+haproxy_backends:
+- name: default
+ balance: roundrobin
+ servers:
+ - name: web01
+ address: 127.0.0.1:9000
+ opts: check