2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00
bench/playbooks/develop/debian.yml

35 lines
774 B
YAML
Raw Normal View History

2016-07-27 07:40:52 +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-07-27 07:40:52 +00:00
vars:
2017-08-28 09:20:50 +00:00
mysql_conf_tpl: ../files/mariadb_config.cnf
2017-08-28 10:16:20 +00:00
mysql_secure_installation: True
2017-08-28 09:20:50 +00:00
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
2017-08-28 10:16:20 +00:00
- psutil
- name: setup bench and dev environment
hosts: localhost
vars:
bench_repo_path: "/home/{{ ansible_user_id }}/.bench"
bench_path: "/home/{{ ansible_user_id }}/frappe-bench"
2016-07-27 07:40:52 +00:00
tasks:
2017-08-28 10:16:20 +00:00
- debug:
var: run_travis
2016-07-27 07:40:52 +00:00
2017-08-28 10:16:20 +00:00
# setup frappe-bench
- include: includes/setup_bench.yml
when: not run_travis
2016-07-27 07:40:52 +00:00
# setup development environment
- include: includes/setup_dev_env.yml
when: not production and not run_travis