2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-22 20:19:01 +00:00

[cleanup] playbooks for develop

This commit is contained in:
Rushabh Mehta 2016-03-16 14:41:55 +05:30
parent 13b4825fb6
commit 1806d31960
6 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1 @@
localhost

View File

@ -1,4 +1,6 @@
---
- hosts: localhost
- include: macosx.yml
when: ansible_os_family == 'Darwin'
when: ansible_distribution == 'MacOSX'
- include: ubuntu.yml
when: ansible_distribution == 'Ubuntu'

View File

@ -17,19 +17,17 @@
- mariadb
- nodejs
- npm
when: ansible_os_family == 'Darwin'
# install wkhtmltopdf
- name: cask installs
homebrew_cask: name={{ item }} state=present
with_items:
- wkhtmltopdf
when: ansible_os_family == 'Darwin'
# setup MariaDB
- include: setup_mariadb.yml
- include: includes/setup_mariadb.yml
# setup frappe-bench
- include: setup_bench.yml
- include: includes/setup_bench.yml

View File

@ -0,0 +1,16 @@
---
- hosts: localhost
vars:
bench_repo_path: "/usr/local/frappe/bench-repo"
bench_path: "/home/{{ ansible_user_id }}/frappe/frappe-bench"
mysql_config_template: "templates/simple_mariadb_config.cnf"
mysql_conf_dir: /etc/my.cnf.d
tasks:
# setup MariaDB
- include: includes/setup_mariadb.yml
# setup frappe-bench
- include: includes/setup_bench.yml