2
0
mirror of https://github.com/frappe/bench.git synced 2025-02-04 20:08:24 +00:00
bench/playbooks/develop/centos.yml

31 lines
771 B
YAML
Raw Normal View History

2016-03-18 15:40:38 +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-03-18 15:40:38 +05:30
vars:
2017-08-28 14:50:50 +05:30
mysql_conf_tpl: ../files/mariadb_config.cnf
mysql_secure_installation: True
roles:
- prerequisites
- mariadb
- wkhtmltopdf
- nodejs
2017-08-28 15:46:20 +05:30
- psutil
2016-03-18 15:40:38 +05:30
- 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 15:46:20 +05:30
tasks:
2016-03-18 15:40:38 +05:30
# setup frappe-bench
- include: includes/setup_bench.yml
2016-08-02 11:58:28 +05:30
when: not run_travis and not without_bench_setup
# setup development environment
- include: includes/setup_dev_env.yml
2016-08-01 11:14:01 +05:30
when: not run_travis and not production