mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +00:00
user mismatch fix
- user root was selected in "move /tmp/.bench if it exists", changed it to frappe
This commit is contained in:
parent
036b4e4b33
commit
97a05fdddf
@ -12,6 +12,8 @@
|
|||||||
- name: move /tmp/.bench if it exists
|
- name: move /tmp/.bench if it exists
|
||||||
command: 'cp -R /tmp/.bench {{ bench_repo_path }}'
|
command: 'cp -R /tmp/.bench {{ bench_repo_path }}'
|
||||||
when: tmp_bench.stat.exists and not bench_repo_register.stat.exists
|
when: tmp_bench.stat.exists and not bench_repo_register.stat.exists
|
||||||
|
become: yes
|
||||||
|
become_user: frappe
|
||||||
|
|
||||||
- name: install bench
|
- name: install bench
|
||||||
pip: name={{ bench_repo_path }} extra_args='-e'
|
pip: name={{ bench_repo_path }} extra_args='-e'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user