2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-27 08:18:25 +00:00
bench/playbooks/develop/debian.yml

35 lines
774 B
YAML
Raw Normal View History

2016-07-27 13:10:52 +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-07-27 13:10:52 +05:30
vars:
2017-08-28 14:50:50 +05:30
mysql_conf_tpl: ../files/mariadb_config.cnf
2017-08-28 15:46:20 +05:30
mysql_secure_installation: True
2017-08-28 14:50:50 +05:30
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
2017-08-28 15:46:20 +05:30
- 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 13:10:52 +05:30
tasks:
2017-08-28 15:46:20 +05:30
- debug:
var: run_travis
2016-07-27 13:10:52 +05:30
2017-08-28 15:46:20 +05:30
# setup frappe-bench
- include: includes/setup_bench.yml
when: not run_travis
2016-07-27 13:10:52 +05:30
# setup development environment
- include: includes/setup_dev_env.yml
when: not production and not run_travis