From abf481e5957f5b85978cafd76f33275ca7ae541d Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Thu, 18 Jan 2018 17:25:16 +0530 Subject: [PATCH] fix for cent_os ansible_user_id used to give 'root' if the easy isntall script was executed by root on centOS, but it used to give 'frappe' if on Ubuntu, hence changed ansible_user_id to frappe_user --- playbooks/develop/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/develop/install.yml b/playbooks/develop/install.yml index 3f9b9a2d..bc67dbe8 100644 --- a/playbooks/develop/install.yml +++ b/playbooks/develop/install.yml @@ -13,8 +13,8 @@ - name: setup bench and dev environment hosts: localhost vars: - bench_repo_path: "/home/{{ ansible_user_id }}/.bench" - bench_path: "/home/{{ ansible_user_id }}/{{ bench_name }}" + bench_repo_path: "/home/{{ frappe_user }}/.bench" + bench_path: "/home/{{ frappe_user }}/{{ bench_name }}" tasks: # setup frappe-bench - include: includes/setup_bench.yml