From 97a05fdddf1d9027449006b12bc59ded2257ac21 Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Thu, 18 Jan 2018 03:30:42 +0530 Subject: [PATCH] user mismatch fix - user root was selected in "move /tmp/.bench if it exists", changed it to frappe --- playbooks/develop/includes/setup_bench.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/develop/includes/setup_bench.yml b/playbooks/develop/includes/setup_bench.yml index 7b768c4c..adeb1736 100644 --- a/playbooks/develop/includes/setup_bench.yml +++ b/playbooks/develop/includes/setup_bench.yml @@ -12,6 +12,8 @@ - name: move /tmp/.bench if it exists command: 'cp -R /tmp/.bench {{ bench_repo_path }}' when: tmp_bench.stat.exists and not bench_repo_register.stat.exists + become: yes + become_user: frappe - name: install bench pip: name={{ bench_repo_path }} extra_args='-e'