summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/templates
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2017-05-12 15:42:22 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2017-05-12 15:42:22 +0000
commitf3b344d52fc7648e5b518fafa83144b910b98bb0 (patch)
treec66a8fc0e3f0feb2b9e8920129a84a73a390ed2f /roles/haproxy/templates
parent02df22e6c23f30b37c837972b121af7b775cf38d (diff)
downloadansible-f3b344d52fc7648e5b518fafa83144b910b98bb0.tar.gz
ansible-f3b344d52fc7648e5b518fafa83144b910b98bb0.tar.xz
ansible-f3b344d52fc7648e5b518fafa83144b910b98bb0.zip
We expect a 503
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/haproxy/templates')
-rw-r--r--roles/haproxy/templates/haproxy.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg
index 8aab2534b..1cd2032b6 100644
--- a/roles/haproxy/templates/haproxy.cfg
+++ b/roles/haproxy/templates/haproxy.cfg
@@ -440,6 +440,7 @@ listen os-nodes 0.0.0.0:10065
server os-node01 os-node01:443 check inter 10s rise 1 fall 2 ssl verify none
server os-node02 os-node02:443 check inter 10s rise 1 fall 2 ssl verify none
option httpchk GET /
+ http-check expect status 503
{% endif %}