Enable proxy05 local mirrorlist
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e192879482
commit
839bc15371
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
- sudo
|
||||
- rsyncd
|
||||
- { role: mirrormanager/mirrorlist_proxy,
|
||||
when: env == "staging" or ansible_hostname == "proxy02" }
|
||||
when: env == "staging" or ansible_hostname == "proxy02" or ansible_hostname == "proxy05" }
|
||||
- { role: openvpn/client,
|
||||
when: env != "staging" }
|
||||
- apache
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -9,7 +9,7 @@ done
|
|||
|
||||
# sync also to new mirrorlist containers on proxies
|
||||
|
||||
MIRRORLIST_PROXY="proxy02.fedoraproject.org"
|
||||
MIRRORLIST_PROXY="proxy02.fedoraproject.org proxy05.fedoraproject.org"
|
||||
|
||||
for s in ${MIRRORLIST_PROXY}; do
|
||||
rsync -az --delete-delay --delay-updates --delete /var/lib/mirrormanager/{*pkl,*txt} ${s}:/srv/mirrorlist/data/mirrorlist1/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue