-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathinit_personium.yml
76 lines (70 loc) · 1.55 KB
/
init_personium.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright FUJITSU LIMITED 2015-2017.
- hosts: tag_ServerType_bastion
connection: local
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/bastion.yml
tasks:
- include: ./tasks/common/check_base_url.yml
- include: ./common.yml
- include: ./bastion.yml
handlers:
- include: ./handlers/common/restart_iptables.yml
tags:
- bastion_pre
- hosts: tag_ServerType_es
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/es.yml
tasks:
- include: ./es.yml
handlers:
- include: ./handlers/common/restart_iptables.yml
tags:
- es
- hosts: tag_ServerType_nfs
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/nfs.yml
tasks:
- include: ./nfs.yml
handlers:
- include: ./handlers/common/restart_iptables.yml
tags:
- nfs
- hosts: tag_ServerType_ap
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/ap.yml
tasks:
- include: ./ap.yml
handlers:
- include: ./handlers/common/restart_iptables.yml
tags:
- ap
- hosts: tag_ServerType_web
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/web.yml
tasks:
- include: ./web.yml
handlers:
- include: ./handlers/common/restart_iptables.yml
- include: ./handlers/web/reload_nginx.yml
tags:
- web
- hosts: tag_ServerType_bastion
connection: local
become: yes
vars_files:
- ./group_vars/common.yml
- ./group_vars/bastion.yml
tasks:
- include: ./tasks/bastion/init_servicemanager.yml
tags:
- bastion_post