From fce86fa896be6ed9a085d2fc73518737cf589857 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Wed, 18 Dec 2019 14:11:05 +0530 Subject: [PATCH] fix: fix permissions for python3 bench init --- playbooks/roles/bench/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/roles/bench/tasks/main.yml b/playbooks/roles/bench/tasks/main.yml index 1294d054..142e41cc 100644 --- a/playbooks/roles/bench/tasks/main.yml +++ b/playbooks/roles/bench/tasks/main.yml @@ -28,6 +28,10 @@ stat: path="{{ bench_path }}" register: bench_stat + - name: Fix permissions + become_method: sudo + command: chown {{ frappe_user }} -R ~ + - name: python3 bench init for develop command: bench init {{ bench_path }} --frappe-path {{ frappe_repo_url }} --frappe-branch {{ frappe_branch }} --python {{ python }} args: