-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhosts.yml
197 lines (130 loc) · 3.17 KB
/
hosts.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
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
197
# https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html10.4.0
# https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#connecting-to-hosts-behavioral-inventory-parameters
# test connecting with:
# ansible all -m ping
all:
hosts:
#example.com
children:
##
## Proxmox: Hosts
##
pve_hosts:
hosts:
pve01:
ansible_host: 192.168.1.50
#ansible_user: root
pve02:
ansible_host: 192.168.1.51
#ansible_user: root
##
## Proxmox: Container & VMs
##
lxc:
hosts:
pve-ct-adguard-master:
ansible_host: 10.4.0.2
pve-ct-grafana:
ansible_host: 10.4.0.3
pve-ct-pbs:
ansible_host: 192.168.1.204
pve-ct-rustdesk:
ansible_host: 10.4.0.5
pve-ct-uptimekuma:
ansible_host: 10.4.0.6
pve-ct-mariadb:
ansible_host: 10.4.0.7
pve-ct-influxdb:
ansible_host: 10.4.0.8
pve-ct-bind-master:
ansible_host: 10.4.0.9
pve-ct-dev:
ansible_host: 10.4.0.10
#pve-ct-:
# ansible_host: 10.4.0.11
pve-ct-mqtt:
ansible_host: 10.4.0.12
pve-ct-adguard-slave:
ansible_host: 10.4.0.13
pve-ct-npm:
ansible_host: 10.4.0.14
pve-ct-vpn-hetzner:
ansible_host: 10.4.0.15
#pve-ct-:
# ansible_host: 10.4.0.16
#pve-ct-:
# ansible_host: 10.4.0.17
#pve-ct-:
# ansible_host: 10.4.0.18
#pve-ct-:
# ansible_host: 10.4.0.19
pve-ct-iobroker:
ansible_host: 10.4.0.20
#pve-ct-redis-1:
# ansible_host: 10.4.0.21
##
## Proxmox: Container & VMs
##
vm:
hosts:
#pve-vm-:
# ansible_host: 10.4.0.31
pve-vm-docker:
ansible_host: 10.4.0.33
pbs-freya:
ansible_host: 192.168.20.4
##
## local Raspberry PIs
##
rpi:
hosts:
loki:
ansible_host: 192.168.1.41
##
## VPN Gateways
##
vpn_gw:
hosts:
vpn-gw-bw17:
ansible_host: 192.168.20.2
vpn-gw-hs6:
ansible_host: 192.168.30.2
##
## NAS
##
nas:
hosts:
odin:
ansible_host: 192.168.1.30
freya:
ansible_host: 192.168.20.3
##
## Proxmox Test Environment
##
pve_test:
hosts:
pve-test:
ansible_host: 192.168.1.60
ansible_user: root
##
## Windows
##
windows:
hosts:
pve-vm-win11:
ansible_host: 192.168.1.149
ansible_user: ansible
ansible_password: ansible
ansible_connection: winrm
ansible_winrm_transport: basic
ansible_winrm_server_cert_validation: ignore
##
## Hetzner
##
hetzner:
hosts:
#name:
# ansible_host:
# anwsible_port:
# ansible_ssh_private_key_file: ~/.ssh/darkiop@thor_ed25519
# ansible_sudo_pass: