2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-25 07:58:24 +00:00
bench/playbooks/develop/install.yml

26 lines
761 B
YAML
Raw Normal View History

2016-03-15 12:24:17 +05:30
---
- hosts: localhost
- include: ../prerequisites/install_prerequisites.yml
2017-09-05 19:35:28 +05:30
when: ansible_distribution != 'MacOSX'
- include: ../prerequisites/install_roles.yml
2017-09-05 19:35:28 +05:30
when: ansible_distribution != 'MacOSX'
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
- name: setup bench and dev environment
hosts: localhost
vars:
bench_repo_path: "/home/{{ frappe_user }}/.bench"
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"
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
# setup development environment
- include: includes/setup_dev_env.yml
when: not run_travis and not production and (not without_bench_setup and ansible_distribution == 'Ubuntu')