2016-03-18 15:40:38 +05:30
|
|
|
---
|
2017-08-28 14:50:50 +05:30
|
|
|
- include: setup_essentials.yml
|
|
|
|
|
2017-08-28 15:46:20 +05:30
|
|
|
- name: "Setup prerequisites, mariadb, wkhtmltopdf, nodejs and psutil"
|
|
|
|
hosts: localhost
|
2017-08-28 14:50:50 +05:30
|
|
|
become: yes
|
|
|
|
become_user: root
|
2016-03-18 15:40:38 +05:30
|
|
|
vars:
|
2017-08-28 14:50:50 +05:30
|
|
|
mysql_conf_tpl: ../files/mariadb_config.cnf
|
|
|
|
mysql_secure_installation: True
|
|
|
|
roles:
|
|
|
|
- prerequisites
|
|
|
|
- mariadb
|
|
|
|
- wkhtmltopdf
|
|
|
|
- nodejs
|
2017-08-28 15:46:20 +05:30
|
|
|
- psutil
|
2016-03-18 15:40:38 +05:30
|
|
|
|
2017-08-28 16:34:46 +05:30
|
|
|
- name: setup bench and dev environment
|
|
|
|
hosts: localhost
|
|
|
|
vars:
|
|
|
|
bench_repo_path: "/home/{{ ansible_user_id }}/.bench"
|
2017-08-28 19:10:38 +05:30
|
|
|
bench_path: "/home/{{ ansible_user_id }}/{{ bench_name }}"
|
2017-08-28 15:46:20 +05:30
|
|
|
tasks:
|
2016-03-18 15:40:38 +05:30
|
|
|
# setup frappe-bench
|
|
|
|
- include: includes/setup_bench.yml
|
2016-08-02 11:58:28 +05:30
|
|
|
when: not run_travis and not without_bench_setup
|
2016-05-23 16:26:13 +05:30
|
|
|
|
|
|
|
# setup development environment
|
|
|
|
- include: includes/setup_dev_env.yml
|
2016-08-01 11:14:01 +05:30
|
|
|
when: not run_travis and not production
|