2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 08:16:28 +00:00
bench/playbooks/develop/centos.yml

31 lines
771 B
YAML
Raw Normal View History

2016-03-18 10:10:38 +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-03-18 10:10:38 +00:00
vars:
2017-08-28 09:20:50 +00:00
mysql_conf_tpl: ../files/mariadb_config.cnf
mysql_secure_installation: True
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
2017-08-28 10:16:20 +00:00
- psutil
2016-03-18 10:10:38 +00:00
- name: setup bench and dev environment
hosts: localhost
vars:
bench_repo_path: "/home/{{ ansible_user_id }}/.bench"
bench_path: "/home/{{ ansible_user_id }}/{{ bench_name }}"
2017-08-28 10:16:20 +00:00
tasks:
2016-03-18 10:10:38 +00:00
# setup frappe-bench
- include: includes/setup_bench.yml
2016-08-02 06:28:28 +00:00
when: not run_travis and not without_bench_setup
# setup development environment
- include: includes/setup_dev_env.yml
2016-08-01 05:44:01 +00:00
when: not run_travis and not production