2016-07-27 07:40:52 +00:00
|
|
|
---
|
2017-08-28 09:20:50 +00:00
|
|
|
- include: setup_essentials.yml
|
|
|
|
|
2016-07-27 07:40:52 +00:00
|
|
|
- hosts: localhost
|
2017-08-28 09:20:50 +00:00
|
|
|
become: yes
|
|
|
|
become_user: root
|
2016-07-27 07:40:52 +00:00
|
|
|
vars:
|
|
|
|
bench_repo_path: "/home/{{ ansible_user_id }}/.bench"
|
|
|
|
bench_path: "/home/{{ ansible_user_id }}/frappe-bench"
|
2017-08-28 09:20:50 +00:00
|
|
|
mysql_conf_tpl: ../files/mariadb_config.cnf
|
2016-07-27 07:40:52 +00:00
|
|
|
mysql_conf_dir: /etc/mysql/conf.d/
|
2017-08-28 09:20:50 +00:00
|
|
|
roles:
|
|
|
|
- prerequisites
|
|
|
|
- mariadb
|
|
|
|
- wkhtmltopdf
|
|
|
|
- nodejs
|
|
|
|
- psutils
|
2016-07-27 07:40:52 +00:00
|
|
|
tasks:
|
2017-08-28 09:20:50 +00:00
|
|
|
- debug:
|
|
|
|
var: run_travis
|
2016-07-27 07:40:52 +00:00
|
|
|
|
2017-08-28 09:20:50 +00:00
|
|
|
# setup frappe-bench
|
|
|
|
- include: includes/setup_bench.yml
|
|
|
|
when: not run_travis
|
2016-07-27 07:40:52 +00:00
|
|
|
|
2017-08-28 09:20:50 +00:00
|
|
|
<<<<<<< 7a7c61105c87ac4cccea9c39c23691b0a61f9836
|
2016-07-27 07:40:52 +00:00
|
|
|
# setup development environment
|
|
|
|
- include: includes/setup_dev_env.yml
|
|
|
|
when: not production and not run_travis
|
2017-09-01 11:06:21 +00:00
|
|
|
|
2017-08-28 09:20:50 +00:00
|
|
|
=======
|
|
|
|
# setup development environment
|
|
|
|
- include: includes/setup_dev_env.yml
|
|
|
|
when: not production and not run_travis
|
|
|
|
>>>>>>> create roles to install pre-requisites
|