mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
33 lines
728 B
YAML
33 lines
728 B
YAML
---
|
|
- hosts: localhost
|
|
vars:
|
|
bench_repo_path: "/usr/local/frappe/bench-repo"
|
|
bench_path: "/Users/{{ ansible_user_id }}/frappe/frappe-bench"
|
|
mysql_config_template: "templates/simple_mariadb_config.cnf"
|
|
mysql_conf_dir: /usr/local/etc/my.cnf.d
|
|
|
|
tasks:
|
|
|
|
# install pre-requisites
|
|
- name: install prequisites
|
|
homebrew: name={{ item }} state=present
|
|
with_items:
|
|
- cmake
|
|
- redis
|
|
- mariadb
|
|
- nodejs
|
|
- npm
|
|
|
|
# install wkhtmltopdf
|
|
- name: cask installs
|
|
homebrew_cask: name={{ item }} state=present
|
|
with_items:
|
|
- wkhtmltopdf
|
|
|
|
# setup MariaDB
|
|
- include: includes/setup_mariadb.yml
|
|
|
|
# setup frappe-bench
|
|
- include: includes/setup_bench.yml
|
|
|
|
|