forked from sahilk25/bloomstack_provision
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbench.yaml
More file actions
46 lines (40 loc) · 875 Bytes
/
bench.yaml
File metadata and controls
46 lines (40 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
- name: installing bench
hosts: localhost
become: yes
gather_facts: true
vars:
user_name: frappe
tasks:
- name: setup user
include_role:
name: '{{ item }}'
with_items:
- 'frappe-user'
- name: setup docker
include_role:
name: '{{ item }}'
with_items:
- 'docker_setup'
when: docker_setup == '1'
- name: setup mariadb
include_role:
name: '{{ item }}'
with_items:
- 'mariadb_redis'
when: docker_setup == '0'
- name: bench install
include_role:
name: '{{ item }}'
with_items:
- 'install_bench'
- 'firewall_ufw'
- 'create_bench'
- 'oh_my_zsh'
- name: production_mode
include_role:
name: 'production_mode'
when: production_mode == '1'
- name: production_mode
include_role:
name: 'swap_on'
when: enable_swap == '1'