2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 16:36:25 +00:00

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
This commit is contained in:
Ameya Shenoy 2018-01-18 17:25:16 +05:30
parent ac6e5a3a2f
commit abf481e595
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E

View File

@ -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