質問編集履歴
4
test
CHANGED
File without changes
|
test
CHANGED
@@ -118,79 +118,155 @@
|
|
118
118
|
|
119
119
|
```
|
120
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
|
-
ce
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
121
|
+
---
|
122
|
+
|
123
|
+
# This playbook compiles X-Road and installs the compiled packages to the defined host inventory
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
- hosts: lxd-servers
|
128
|
+
|
129
|
+
roles:
|
130
|
+
|
131
|
+
- init-lxd
|
132
|
+
|
133
|
+
tags:
|
134
|
+
|
135
|
+
- init
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
- hosts: ss-servers
|
140
|
+
|
141
|
+
any_errors_fatal: true
|
142
|
+
|
143
|
+
tasks:
|
144
|
+
|
145
|
+
- name: RHEL-support check
|
146
|
+
|
147
|
+
fail:
|
148
|
+
|
149
|
+
msg: "Variant '{{ variant }}' does not support RHEL-servers"
|
150
|
+
|
151
|
+
when:
|
152
|
+
|
153
|
+
- (variant is defined and variant == "ee")
|
154
|
+
|
155
|
+
- ansible_os_family == "RedHat"
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
- hosts: compile-servers
|
160
|
+
|
161
|
+
roles:
|
162
|
+
|
163
|
+
- compile
|
164
|
+
|
165
|
+
- build-packages
|
166
|
+
|
167
|
+
tags:
|
168
|
+
|
169
|
+
- compile
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
- hosts: ss-servers, cs-servers, cp-servers
|
174
|
+
|
175
|
+
roles:
|
176
|
+
|
177
|
+
- packages-to-local-repo
|
178
|
+
|
179
|
+
tags:
|
180
|
+
|
181
|
+
- packages
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
- hosts: cs-servers
|
186
|
+
|
187
|
+
become: yes
|
188
|
+
|
189
|
+
become_user: root
|
190
|
+
|
191
|
+
roles:
|
192
|
+
|
193
|
+
- xroad-cs
|
194
|
+
|
195
|
+
tags:
|
196
|
+
|
197
|
+
- cs
|
198
|
+
|
199
|
+
- install
|
200
|
+
|
201
|
+
vars_files:
|
202
|
+
|
203
|
+
- vars_files/local_repo.yml
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
- hosts: cp-servers
|
208
|
+
|
209
|
+
become: yes
|
210
|
+
|
211
|
+
become_user: root
|
212
|
+
|
213
|
+
roles:
|
214
|
+
|
215
|
+
- xroad-cp
|
216
|
+
|
217
|
+
tags:
|
218
|
+
|
219
|
+
- cp
|
220
|
+
|
221
|
+
- install
|
222
|
+
|
223
|
+
vars_files:
|
224
|
+
|
225
|
+
- vars_files/local_repo.yml
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
- hosts: ca-servers
|
230
|
+
|
231
|
+
become: yes
|
232
|
+
|
233
|
+
become_user: root
|
234
|
+
|
235
|
+
pre_tasks:
|
236
|
+
|
237
|
+
- raw: apt install openssl
|
238
|
+
|
239
|
+
roles:
|
240
|
+
|
241
|
+
- xroad-ca
|
242
|
+
|
243
|
+
tags:
|
244
|
+
|
245
|
+
- ca
|
246
|
+
|
247
|
+
- install
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
- hosts: ss-servers
|
252
|
+
|
253
|
+
become: yes
|
254
|
+
|
255
|
+
become_user: root
|
256
|
+
|
257
|
+
roles:
|
258
|
+
|
259
|
+
- xroad-ss
|
260
|
+
|
261
|
+
tags:
|
262
|
+
|
263
|
+
- ss
|
264
|
+
|
265
|
+
- install
|
266
|
+
|
267
|
+
vars_files:
|
268
|
+
|
269
|
+
- vars_files/local_repo.yml
|
194
270
|
|
195
271
|
```
|
196
272
|
|
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -192,7 +192,7 @@
|
|
192
192
|
|
193
193
|
variant=vanilla
|
194
194
|
|
195
|
-
``
|
195
|
+
```
|
196
196
|
|
197
197
|
|
198
198
|
|
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -192,85 +192,7 @@
|
|
192
192
|
|
193
193
|
variant=vanilla
|
194
194
|
|
195
|
-
```hosts/lxd_hosts.txt
|
196
|
-
|
197
|
-
```
|
198
|
-
|
199
|
-
#central servers (ubuntu lxd containers)
|
200
|
-
|
201
|
-
[cs-servers]
|
202
|
-
|
203
|
-
xroad-lxd-cs ansible_connection=lxd
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
#configuration proxies (ubuntu lxd containers, optional)
|
208
|
-
|
209
|
-
[cp-servers]
|
210
|
-
|
211
|
-
#xroad-lxd-cp ansible_connection=lxd
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
#certification authority, time stamping authority and ocsp service server for testing purposes (ubuntu)
|
216
|
-
|
217
|
-
[ca-servers]
|
218
|
-
|
219
|
-
xroad-lxd-cs ansible_connection=lxd
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
#security servers (ubuntu lxd containers)
|
224
|
-
|
225
|
-
[ss-servers]
|
226
|
-
|
227
|
-
xroad-lxd-ss1 ansible_connection=lxd
|
228
|
-
|
229
|
-
#for a more realistic setup, add at least one additional server
|
230
|
-
|
231
|
-
#xroad-lxd-ss2 ansible_connection=lxd
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
[ss-servers:children]
|
236
|
-
|
237
|
-
centos-ss
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
#security servers (centos lxd containers, not supported in variant ee)
|
242
|
-
|
243
|
-
|
195
|
+
``> 引用テキスト
|
244
|
-
|
245
|
-
#xroad-lxd-rh-ss1 ansible_connection=lxd
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
#container host
|
250
|
-
|
251
|
-
[lxd-servers]
|
252
|
-
|
253
|
-
localhost ansible_connection=local
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
#compilation host
|
258
|
-
|
259
|
-
[compile-servers]
|
260
|
-
|
261
|
-
localhost ansible_connection=local
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
### vars ###
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
[ss-servers:vars]
|
270
|
-
|
271
|
-
variant=vanilla
|
272
|
-
|
273
|
-
```
|
274
196
|
|
275
197
|
|
276
198
|
|
1
画像挿入
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
https://github.com/nordic-institute/X-Road/blob/develop/src/Vagrant.mdを参考にしています。
|
15
|
+
[https://github.com/nordic-institute/X-Road/blob/develop/src/Vagrant.md](https://github.com/nordic-institute/X-Road/blob/develop/src/Vagrant.md)を参考にしています。
|
16
16
|
|
17
17
|
|
18
18
|
|
@@ -20,15 +20,13 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
```
|
24
|
-
|
25
|
-
![
|
23
|
+
![イメージ説明](15233ebbeecc39d6cc9c87190ebaf86e.png)
|
26
|
-
|
24
|
+
|
27
|
-
![
|
25
|
+
![イメージ説明](62aec57ea6d96f3958a1bee04533b749.png)
|
28
|
-
|
26
|
+
|
29
|
-
![
|
27
|
+
![イメージ説明](72a3df5ada55c33461f7d74061509ba8.png)
|
30
|
-
|
31
|
-
|
28
|
+
|
29
|
+
|
32
30
|
|
33
31
|
### 該当のソースコード
|
34
32
|
|