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:
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
|
||||
- include: macosx.yml
|
||||
when: ansible_os_family == 'Darwin'
|
||||
when: ansible_distribution == 'MacOSX'
|
||||
- include: ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
|
@ -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
|
||||
|
||||
|
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