2016-03-15 06:54:17 +00:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
2016-03-22 07:44:31 +00:00
|
|
|
|
2017-08-29 13:21:47 +00:00
|
|
|
- include: ../prerequisites/install_prerequisites.yml
|
2017-09-05 14:05:28 +00:00
|
|
|
when: ansible_distribution != 'MacOSX'
|
2017-08-29 13:21:47 +00:00
|
|
|
|
2017-08-30 06:52:41 +00:00
|
|
|
- include: ../prerequisites/install_roles.yml
|
2017-09-05 14:05:28 +00:00
|
|
|
when: ansible_distribution != 'MacOSX'
|
2017-08-30 06:52:41 +00:00
|
|
|
|
2016-03-15 07:00:55 +00:00
|
|
|
- include: macosx.yml
|
2016-03-16 09:11:55 +00:00
|
|
|
when: ansible_distribution == 'MacOSX'
|
2016-05-25 10:47:48 +00:00
|
|
|
|
2017-08-29 13:21:47 +00:00
|
|
|
- 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 }}"
|
|
|
|
tasks:
|
|
|
|
# setup frappe-bench
|
|
|
|
- include: includes/setup_bench.yml
|
|
|
|
when: not run_travis and not without_bench_setup
|
2016-05-25 10:47:48 +00:00
|
|
|
|
2017-08-29 13:21:47 +00:00
|
|
|
# setup development environment
|
|
|
|
- include: includes/setup_dev_env.yml
|
|
|
|
when: not run_travis and not production
|