2016-03-15 06:54:17 +00:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
|
|
|
vars:
|
|
|
|
bench_repo_path: "/usr/local/frappe/bench-repo"
|
|
|
|
bench_path: "/Users/{{ ansible_user_id }}/frappe/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-16 09:54:19 +00:00
|
|
|
|
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-16 09:54:19 +00:00
|
|
|
|
2016-03-15 06:54:17 +00:00
|
|
|
# install wkhtmltopdf
|
|
|
|
- name: cask installs
|
|
|
|
homebrew_cask: name={{ item }} state=present
|
|
|
|
with_items:
|
|
|
|
- wkhtmltopdf
|
2016-03-16 09:54:19 +00:00
|
|
|
|
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-16 09:54:19 +00:00
|
|
|
|
2016-03-15 06:54:17 +00:00
|
|
|
# setup frappe-bench
|
2016-03-16 09:11:55 +00:00
|
|
|
- include: includes/setup_bench.yml
|
2016-03-16 09:54:19 +00:00
|
|
|
|