2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00
bench/playbooks/develop/install.yml

37 lines
875 B
YAML
Raw Normal View History

2016-03-15 06:54:17 +00:00
---
- hosts: localhost
- include: setup_essentials.yml
- include: ../prerequisites/install_prerequisites.yml
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
- name: "Setup mariadb, wkhtmltopdf, nodejs and psutil"
hosts: localhost
become: yes
become_user: root
vars:
mysql_conf_tpl: ../files/mariadb_config.cnf
mysql_secure_installation: True
roles:
- mariadb
- wkhtmltopdf
- nodejs
- psutil
- 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
# setup development environment
- include: includes/setup_dev_env.yml
when: not run_travis and not production