diff options
| author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-02-09 22:47:32 +0000 |
|---|---|---|
| committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-02-09 22:47:41 +0000 |
| commit | 839bc15371c9feb5aa76d6f75b9a29b8133e24e6 (patch) | |
| tree | dac73fce44f9e7fefec959fb25ba7f7b03c0e55c /roles/haproxy/templates | |
| parent | e1928794822c2b31e484a873de7890cdab1d8564 (diff) | |
| download | ansible-839bc15371c9feb5aa76d6f75b9a29b8133e24e6.tar.gz ansible-839bc15371c9feb5aa76d6f75b9a29b8133e24e6.tar.xz ansible-839bc15371c9feb5aa76d6f75b9a29b8133e24e6.zip | |
Enable proxy05 local mirrorlist
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/haproxy/templates')
| -rw-r--r-- | roles/haproxy/templates/haproxy.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 288cf6399..4cc9bccb9 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -51,7 +51,7 @@ listen mirror-lists 0.0.0.0:10002 server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup {% endif %} {% if env == "production" %} -{% if inventory_hostname_short == 'proxy02' %} +{% if inventory_hostname_short == 'proxy02' or inventory_hostname_short == 'proxy05' %} server mirrorlist-local1 localhost:18081 check inter 1s rise 2 fall 3 weight 100 server mirrorlist-local2 localhost:18082 check inter 1s rise 2 fall 3 weight 100 server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup |
