mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 09:14:04 +00:00
fix: dir permissions
This commit is contained in:
parent
48cdcfa0a0
commit
d5003e1944
@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
- name: setup bench and dev environment
|
- name: setup bench and dev environment
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
become: '{{ use_sudo }}'
|
||||||
|
become_user: '{{ frappe_user }}'
|
||||||
|
become_method: sudo
|
||||||
vars:
|
vars:
|
||||||
bench_repo_path: "/home/{{ frappe_user }}/.bench"
|
bench_repo_path: "/home/{{ frappe_user }}/.bench"
|
||||||
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"
|
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"
|
||||||
|
@ -33,7 +33,7 @@ def install_virtualbox():
|
|||||||
check_output(['bench', 'install', 'virtualbox'])
|
check_output(['bench', 'install', 'virtualbox'])
|
||||||
|
|
||||||
def install_packer():
|
def install_packer():
|
||||||
if not spawn.find_executable("packer") or not os.path.exists(os.path.join('/', 'opt', 'packer')):
|
if not spawn.find_executable("packer") and not os.path.exists(os.path.join('/', 'opt', 'packer')):
|
||||||
check_output(['bench', 'install', 'packer'])
|
check_output(['bench', 'install', 'packer'])
|
||||||
|
|
||||||
def silent_remove(name, is_dir=False):
|
def silent_remove(name, is_dir=False):
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"iso_checksum_type": "md5",
|
"iso_checksum_type": "md5",
|
||||||
"ssh_username": "frappe",
|
"ssh_username": "frappe",
|
||||||
"ssh_password": "frappe",
|
"ssh_password": "frappe",
|
||||||
"ssh_port": 22,
|
"ssh_port": 22,
|
||||||
"ssh_wait_timeout": "10000s",
|
"ssh_wait_timeout": "10000s",
|
||||||
"http_directory": "http",
|
"http_directory": "http",
|
||||||
"guest_additions_mode": "disable",
|
"guest_additions_mode": "disable",
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"iso_checksum_type": "md5",
|
"iso_checksum_type": "md5",
|
||||||
"ssh_username": "frappe",
|
"ssh_username": "frappe",
|
||||||
"ssh_password": "frappe",
|
"ssh_password": "frappe",
|
||||||
"ssh_port": 22,
|
"ssh_port": 22,
|
||||||
"ssh_wait_timeout": "10000s",
|
"ssh_wait_timeout": "10000s",
|
||||||
"http_directory": "http",
|
"http_directory": "http",
|
||||||
"guest_additions_mode": "disable",
|
"guest_additions_mode": "disable",
|
||||||
|
Loading…
Reference in New Issue
Block a user