-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprivate-l1-scn.yaml
73 lines (66 loc) · 1.4 KB
/
private-l1-scn.yaml
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
---
- hosts: localhost
gather_facts: True
vars:
klaytn_bridge_enabled: 1
klaytn_bridge_node_type: en
klaytn_bridge_node_num: 1
roles:
- { role: klayspray-defaults }
- { role: local-init }
tags:
- localhost
- hosts: cn, !bridge
gather_facts: True
vars:
klaytn_node_type: cn
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: pn, !bridge
gather_facts: True
vars:
klaytn_node_type: pn
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: en, !bridge
gather_facts: True
vars:
klaytn_node_type: en
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: scn, !bridge
gather_facts: True
vars:
klaytn_node_type: scn
klaytn_conf_override:
NETWORK_ID: "{{ klaytn_service_network_id }}"
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: en, &bridge
gather_facts: True
vars:
klaytn_node_type: en
klaytn_bridge_enabled: 1
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: scn, &bridge
gather_facts: True
vars:
klaytn_node_type: scn
klaytn_bridge_enabled: 1
klaytn_conf_override:
NETWORK_ID: "{{ klaytn_service_network_id }}"
roles:
- { role: klayspray-defaults }
- { role: node-init }
- hosts: monitor
gather_facts: True
roles:
- { role: klayspray-defaults }
- { role: setup-docker }
- { role: monitor-init }