forked from gdcc/dataverse-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
169 lines (133 loc) · 2.76 KB
/
main.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
---
# dataverse/tasks/main.yml
- name: begin dataverse ansible role
debug:
msg: '##### BEGIN ANSIBLE ROLE #####'
- include: sanity-checks.yml
tags:
- prereqs
- include: dataverse-prereqs.yml
tags:
- prereqs
- include: dataverse-required-variables.yml
tags:
- payara
- dataverse
- storage
- postinstall
- s3
- gui
- include: rserve.yml
when: rserve.install == true
tags:
- rserve
- include: dataverse-fqdn.yml
tags:
- prereqs
- apache
- include: sshkeys.yml
when: sshkeys.enabled == True
tags:
- sshkeys
- include: postfix.yml
when: postfix.enabled == true
tags:
- postfix
- include: dataverse-apache.yml
tags:
- apache
- include: postgres.yml
tags:
- postgres
- include: dataverse-branch.yml
when: dataverse_branch != "release"
- include: jacoco-download.yml
when: dataverse.jacoco.enabled == true and
dataverse_repo != "release"
- include: dataverse-download.yml
tags:
- payara
- include: payara.yml
tags:
- payara
- include: dataverse-get-release.yml
tags:
- release
- include: solr.yml
tags:
- solr
- include: localstack.yml
when: localstack.enabled == true
tags:
- localstack
- include: s3.yml
when: s3.enabled == true
tags:
- s3
- include: localstack_create.yml
when: localstack.enabled == true
tags:
- localstack
- include: dataverse-install.yml
tags:
- dataverse
- include: dataverse-storage.yml
when: dataverse.filesdirs[0] is defined
tags:
- storage
- include: dataverse-postinstall.yml
tags:
- postinstall
- include: dataverse-gui.yml
tags:
- gui
when: dataverse.branding.enabled
- include: dataverse-shibboleth.yml
when: shibboleth.enabled == True
tags:
- shibboleth
- include: sampledata.yml
when: dataverse.sampledata.enabled == true
tags:
- sampledata
- include: custom_sampledata.yml
when: dataverse.custom_sampledata.enabled == true
tags:
- custom_sampledata
- include: dataverse-counter.yml
when: dataverse.counter.enabled == true
tags:
- counter
- include: dataverse-previewers.yml
when: dataverse.previewers.enabled == true
tags:
- previewers
- include: dataverse-externaltools.yml
tags:
- externaltools
- include: prometheus.yml
when: prometheus.install == true
tags:
- prometheus
- include: dataverse-api-testsuite.yml
when: dataverse.api.test_suite == true
tags:
- apitestsuite
- include: jacoco-generate_report.yml
when: dataverse.jacoco.enabled == true and
dataverse_repo != "release"
- include: build_guides.yml
when: build_guides == true
tags:
- build_guides
- include: munin.yml
when: munin.install == true
tags:
- munin
- include: schemaspy.yml
when: schemaspy.enabled == true
tags:
- schemaspy
- name: Fin
debug:
msg: '##### END ANSIBLE ROLE #####'