become user instead of sudo
This commit is contained in:
parent
51a6fc4b0c
commit
2db28aa7be
|
@ -7,6 +7,8 @@
|
|||
version: '{{ item.branch }}'
|
||||
force: yes
|
||||
with_items: "{{ rcube_custom_themes }}"
|
||||
become: yes
|
||||
become_user: '{{ rcube_app_username }}'
|
||||
|
||||
- name: "[THEME] - Change repo ownership"
|
||||
file:
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
force: yes
|
||||
with_items: '{{ rcube_plugins }}'
|
||||
when: item.repo is defined
|
||||
|
||||
become: yes
|
||||
become_user: '{{ rcube_app_username }}'
|
||||
|
||||
- name: "[PLUGIN] - chown repo plugins directory"
|
||||
file:
|
||||
path: "{{ rcube_latest_path }}/plugins/{{ item.name }}"
|
||||
|
|
Loading…
Reference in New Issue