Parameterize become_user
To allow some flexibility in mixed environments.
This commit is contained in:
parent
4b4dad5bfe
commit
b285427482
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@
|
|||
repo: 'https://salsa.debian.org/andi/debian-lan-ansible.git'
|
||||
dest: "{{ repo_dir }}"
|
||||
update: no
|
||||
become_user: "ansible"
|
||||
become_user: "{{ ansible_user }}"
|
||||
when: not run_in_installer|default(false)|bool
|
||||
|
||||
- name: start git-repo
|
||||
|
|
Loading…
Add table
Reference in a new issue