2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00
bench/playbooks/develop/ubuntu.yml

29 lines
700 B
YAML
Raw Normal View History

2016-03-16 09:11:55 +00:00
---
2017-08-28 09:20:50 +00:00
- include: setup_essentials.yml
2016-03-16 09:11:55 +00:00
- hosts: localhost
2017-08-28 09:20:50 +00:00
become: yes
become_user: root
2016-03-16 09:11:55 +00:00
vars:
2016-05-25 10:47:48 +00:00
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-03-17 07:29:44 +00:00
mysql_conf_dir: /etc/mysql/conf.d/
2017-08-28 09:20:50 +00:00
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
- psutils
2016-03-16 09:11:55 +00:00
tasks:
2017-08-28 09:20:50 +00:00
- debug:
var: run_travis
2017-08-28 09:20:50 +00:00
# setup frappe-bench
- include: includes/setup_bench.yml
when: not without_bench_setup and not run_travis
2017-08-28 09:20:50 +00:00
# setup development environment
- include: includes/setup_dev_env.yml
when: not production and not run_travis and not without_bench_setup