modernpaste02 only in prod

This commit is contained in:
Kevin Fenzi 2017-03-04 19:34:08 +00:00
parent b5c4af2f26
commit 78106fe297

View file

@ -368,7 +368,9 @@ listen docker-candidate-registry 0.0.0.0:10054
listen modernpaste 0.0.0.0:10055
balance hdr(appserver)
server modernpaste01 modernpaste01:80 check inter 10s rise 1 fall 2
{% if env == "production" %}
server modernpaste02 modernpaste02:80 check inter 10s rise 1 fall 2
{% endif %}
option httpchk GET /
{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %}