and switch haproxy to use mirrorlist-proxy group
This commit is contained in:
parent
9bd7c0fb11
commit
66d866ea3a
1 changed files with 1 additions and 1 deletions
|
@ -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' or inventory_hostname_short == 'proxy05' %}
|
||||
{% if 'mirrorlist-proxy' in group_names %}
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue