mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 14:03:32 +08:00
only run this in prod
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
- name: Deploy mirrorlist data files (if this is a initial install)
|
||||
shell: "rsync -az --delete-delay --delay-updates --delete /var/lib/mirrormanager/{*pkl,*txt} {{ inventory_hostname }}:/srv/mirrorlist/data/mirrorlist1/ creates=/srv/mirrorlist/data/mirrorlist1/mirrorlist_cache.pkl"
|
||||
become: mirrormanager
|
||||
delegate_to: "mm-backend01{{env_suffix}}.phx2.fedoraproject.org"
|
||||
delegate_to: "mm-backend01.phx2.fedoraproject.org"
|
||||
when: env == "production"
|
||||
tags:
|
||||
- mirrorlist_proxy
|
||||
|
||||
Reference in New Issue
Block a user