Make sure git commands are run as the correct user
This commit is contained in:
parent
49c77c611c
commit
d76ad472bc
2 changed files with 2 additions and 1 deletions
|
@ -28,4 +28,3 @@
|
|||
repo: https://git.theorangeone.net/sys/gitlab-dater
|
||||
dest: "{{ home }}/gitlab-dater"
|
||||
depth: 1
|
||||
become: true
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
depth: 1
|
||||
register: fever_plugin
|
||||
become: true
|
||||
become_user: "{{ docker_user.name }}"
|
||||
|
||||
- name: Install feediron plugin
|
||||
git:
|
||||
|
@ -40,6 +41,7 @@
|
|||
depth: 1
|
||||
register: feediron_plugin
|
||||
become: true
|
||||
become_user: "{{ docker_user.name }}"
|
||||
|
||||
- name: Ensure plugins are owned by {{ docker_user.name }}
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue