use sudo for grokmirror clones so user is correct
This commit is contained in:
parent
4091ce9135
commit
926f0a48aa
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
- name: clone initial git repos
|
- name: clone initial git repos
|
||||||
git: repo={{ item.url }} bare=yes dest={{ grokmirror_basedir }}/{{ item.name }} update=no
|
git: repo={{ item.url }} bare=yes dest={{ grokmirror_basedir }}/{{ item.name }} update=no
|
||||||
|
sudo: true
|
||||||
sudo_user: "{{ grokmirror_user }}"
|
sudo_user: "{{ grokmirror_user }}"
|
||||||
with_items: grokmirror_repos
|
with_items: grokmirror_repos
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue