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