-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
196 lines (154 loc) · 3.97 KB
/
hosts
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
install-server ansible_host=127.0.0.1 ansible_connection=local node_role=infra
#########################################################################################
# host-cluster List
#########################################################################################
oidc001 ansible_host=192.168.0.6 ansible_connection=ssh node_role=infra
oidc002 ansible_host=192.168.0.7 ansible_connection=ssh node_role=infra
oidc003 ansible_host=192.168.0.8 ansible_connection=ssh node_role=infra
#########################################################################################
# member-cluster List
#########################################################################################
#acc-member-master ansible_host=10.140.1.2 ansible_connection=ssh node_role=infra
#acc-member-node1 ansible_host=10.140.1.3 ansible_connection=ssh node_role=infra
#acc-member-node2 ansible_host=10.140.1.4 ansible_connection=ssh node_role=infra
#acc-member-master2 ansible_host=10.140.1.5 ansible_connection=ssh node_role=infra
#acc-member-master3 ansible_host=10.140.1.6 ansible_connection=ssh node_role=infra
#########################################################################################
# Group List
#########################################################################################
[local]
install-server
#########################################################################################
# Manager Group
[host-master]
oidc001
[host-master-cluster]
#acc-host-master2
#acc-host-master3
[host-minions]
oidc002
oidc003
[host-cluster]
oidc001
oidc002
oidc003
#acc-host-master2
#acc-host-master3
[host-infra]
[host-etcd]
#########################################################################################
# Member Group
[member-master]
#acc-member-master
[member-master-cluster]
#acc-member-master2
#acc-member-master3
[member-minions]
#acc-member-node1
#acc-member-node2
[member-cluster]
#acc-member-master
#acc-member-node1
#acc-member-node2
#acc-member-master2
#acc-member-master3
[member-infra]
[member-etcd]
#########################################################################################
[eks]
oidc001
#acc-host-master
[aks]
oidc001
#acc-host-master
[config]
oidc001
#acc-host-master
#########################################################################################
[manager-master:children]
host-master
[manager-master-cluster:children]
host-master-cluster
[manager-minions:children]
host-minions
[manager-cluster:children]
host-cluster
[manager-infra:children]
host-infra
[manager-etcd:children]
host-etcd
[manager:children]
manager-master
manager-master-cluster
manager-minions
manager-cluster
manager-infra
[host:children]
manager
[member:children]
member-master
member-master-cluster
member-minions
member-cluster
member-infra
[master:children]
manager-master
member-master
[master-cluster:children]
manager-master-cluster
member-master-cluster
[minions:children]
manager-minions
member-minions
[cluster:children]
manager-cluster
member-cluster
[infra:children]
manager-infra
member-infra
[etcd:children]
manager-etcd
member-etcd
[etcd-master-manager:children]
manager-master
manager-etcd
[etcd-master-member:children]
member-master
member-etcd
[etcd-master-cluster-manager:children]
manager-master
manager-master-cluster
manager-etcd
[etcd-master-cluster-member:children]
member-master
member-master-cluster
member-etcd
[etcd-master:children]
manager-master
member-master
manager-minions
member-minions
manager-infra
member-infra
manager-etcd
member-etcd
[etcd-master-cluster:children]
manager-master
member-master
manager-master-cluster
member-master-cluster
manager-minions
member-minions
manager-infra
member-infra
manager-etcd
member-etcd
[all:vars]
ansible_ssh_port=22
ansible_user=root
ansible_group=root
ansible_password_option=no
#ansible_ssh_pass=ROOT_PASSWORD
keyfile_option=no
#ansible_ssh_private_key_file=/mantech/accordion.pem
ansible_ssh_common_args=-oPubkeyAuthentication=yes