2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00
bench/playbooks/develop/ubuntu.yml
2017-09-04 18:44:23 +05:30

29 lines
700 B
YAML

---
- include: setup_essentials.yml
- hosts: localhost
become: yes
become_user: root
vars:
bench_repo_path: "/home/{{ ansible_user_id }}/.bench"
bench_path: "/home/{{ ansible_user_id }}/frappe-bench"
mysql_conf_tpl: ../files/mariadb_config.cnf
mysql_conf_dir: /etc/mysql/conf.d/
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
- psutils
tasks:
- debug:
var: run_travis
# setup frappe-bench
- include: includes/setup_bench.yml
when: not without_bench_setup and not run_travis
# setup development environment
- include: includes/setup_dev_env.yml
when: not production and not run_travis and not without_bench_setup