mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
[cleanup] playbooks for develop
This commit is contained in:
parent
13b4825fb6
commit
1806d31960
1
playbooks/develop/install.retry
Normal file
1
playbooks/develop/install.retry
Normal file
@ -0,0 +1 @@
|
|||||||
|
localhost
|
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
- include: macosx.yml
|
- include: macosx.yml
|
||||||
when: ansible_os_family == 'Darwin'
|
when: ansible_distribution == 'MacOSX'
|
||||||
|
- include: ubuntu.yml
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
@ -17,19 +17,17 @@
|
|||||||
- mariadb
|
- mariadb
|
||||||
- nodejs
|
- nodejs
|
||||||
- npm
|
- npm
|
||||||
when: ansible_os_family == 'Darwin'
|
|
||||||
|
|
||||||
# install wkhtmltopdf
|
# install wkhtmltopdf
|
||||||
- name: cask installs
|
- name: cask installs
|
||||||
homebrew_cask: name={{ item }} state=present
|
homebrew_cask: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- wkhtmltopdf
|
- wkhtmltopdf
|
||||||
when: ansible_os_family == 'Darwin'
|
|
||||||
|
|
||||||
# setup MariaDB
|
# setup MariaDB
|
||||||
- include: setup_mariadb.yml
|
- include: includes/setup_mariadb.yml
|
||||||
|
|
||||||
# setup frappe-bench
|
# setup frappe-bench
|
||||||
- include: setup_bench.yml
|
- include: includes/setup_bench.yml
|
||||||
|
|
||||||
|
|
16
playbooks/develop/ubuntu.yml
Normal file
16
playbooks/develop/ubuntu.yml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user