2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 04:59:01 +00:00
bench/playbooks/develop/macosx.yml

35 lines
803 B
YAML
Raw Normal View History

2016-03-15 06:54:17 +00:00
---
- hosts: localhost
vars:
2016-05-25 10:47:48 +00:00
bench_repo_path: "/Users/{{ ansible_user_id }}/.bench"
bench_path: "/Users/{{ ansible_user_id }}/frappe-bench"
2016-03-15 07:00:55 +00:00
mysql_config_template: "templates/simple_mariadb_config.cnf"
2016-03-15 06:54:17 +00:00
mysql_conf_dir: /usr/local/etc/my.cnf.d
tasks:
2016-03-15 06:54:17 +00:00
# install pre-requisites
- name: install prequisites
homebrew: name={{ item }} state=present
with_items:
- cmake
- redis
- mariadb
- nodejs
2016-03-15 06:54:17 +00:00
# install wkhtmltopdf
- name: cask installs
homebrew_cask: name={{ item }} state=present
with_items:
- wkhtmltopdf
2016-03-15 06:54:17 +00:00
# setup MariaDB
2016-03-16 09:11:55 +00:00
- include: includes/setup_mariadb.yml
2016-03-15 06:54:17 +00:00
# setup frappe-bench
2016-03-16 09:11:55 +00:00
- include: includes/setup_bench.yml
# setup development environment
- include: includes/setup_dev_env.yml
2016-05-25 10:47:48 +00:00
when: not production