2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-25 07:58:24 +00:00
bench/playbooks/develop/macosx.yml

35 lines
801 B
YAML
Raw Normal View History

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