only run this in prod

This commit is contained in:
Kevin Fenzi 2017-12-16 23:35:32 +00:00
parent da87f26600
commit ab7f61840f

View file

@ -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