2016-03-15 12:24:17 +05:30
|
|
|
---
|
|
|
|
- hosts: localhost
|
2016-03-22 13:14:31 +05:30
|
|
|
|
2017-08-29 18:51:47 +05:30
|
|
|
- include: ../prerequisites/install_prerequisites.yml
|
2017-09-05 19:35:28 +05:30
|
|
|
when: ansible_distribution != 'MacOSX'
|
2017-08-29 18:51:47 +05:30
|
|
|
|
2017-08-30 12:22:41 +05:30
|
|
|
- include: ../prerequisites/install_roles.yml
|
2017-09-05 19:35:28 +05:30
|
|
|
when: ansible_distribution != 'MacOSX'
|
2017-08-30 12:22:41 +05:30
|
|
|
|
2016-03-15 12:30:55 +05:30
|
|
|
- include: macosx.yml
|
2016-03-16 14:41:55 +05:30
|
|
|
when: ansible_distribution == 'MacOSX'
|
2016-05-25 16:17:48 +05:30
|
|
|
|
2017-08-29 18:51:47 +05:30
|
|
|
- name: setup bench and dev environment
|
|
|
|
hosts: localhost
|
|
|
|
vars:
|
2018-01-18 17:25:16 +05:30
|
|
|
bench_repo_path: "/home/{{ frappe_user }}/.bench"
|
|
|
|
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"
|
2017-08-29 18:51:47 +05:30
|
|
|
tasks:
|
|
|
|
# setup frappe-bench
|
|
|
|
- include: includes/setup_bench.yml
|
|
|
|
when: not run_travis and not without_bench_setup
|
2016-05-25 16:17:48 +05:30
|
|
|
|
2017-08-29 18:51:47 +05:30
|
|
|
# setup development environment
|
|
|
|
- include: includes/setup_dev_env.yml
|
2017-10-02 17:20:44 +05:30
|
|
|
when: not run_travis and not production and (not without_bench_setup and ansible_distribution == 'Ubuntu')
|