fix become
This commit is contained in:
parent
ab7f61840f
commit
a891cf8b96
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@
|
||||||
|
|
||||||
- name: Deploy mirrorlist data files (if this is a initial install)
|
- 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"
|
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
|
become: yes
|
||||||
|
become_user: mirrormanager
|
||||||
delegate_to: "mm-backend01.phx2.fedoraproject.org"
|
delegate_to: "mm-backend01.phx2.fedoraproject.org"
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue