-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbackup_inventory
121 lines (93 loc) · 2.25 KB
/
backup_inventory
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
[local]
localhost ansible_connection=local
##### GROUP PER LOCATION AND TYPE
[hq:children]
routers-hq
switches-hq
[branche1:children]
routers-branche1
distsw-branche1
accsw-branche1
[branche2:children]
routers-branche2
distsw-branche2
accsw-branche2
[routers:children]
routers-hq
routers-branche1
routers-branche2
[routers-extern]
hq-r1-ext ansible_host=1.1.1.1
hq-r2-ext ansible_host=2.2.2.1
b1-r1-ext ansible_host=1.1.1.18
b2-r1-ext ansible_host=1.1.1.19
[switches:children]
switches-hq
distsw-branche1
accsw-branche1
distsw-branche2
accsw-branche2
[core-switches]
hq-distsw01
b1-distsw01
#### GROUP PER PLATFORM {{ Nodig voor provider settings
[cisco]
hq-distsw01
hq-r1
hq-r2
b1-r1
b1-distsw01
b1-accsw01
b1-accsw02
[arista]
b2-r1
[cisco-all:children]
hq
branche1
[nxos-all:children]
[arista-all:children]
routers-branche2
accsw-branche2
##### HQ DEVICES
[routers-hq]
hq-r1 ansible_host=10.199.10.1
hq-r2 ansible_host=10.199.10.2
[switches-hq]
hq-distsw01 ansible_host=10.199.10.3
###### DEVICES BRANCHE -1 10.199.<BRANCHE-ID>.1-10
[routers-branche1]
b1-r1 ansible_host=10.199.18.1
b1-r2 ansible_host=10.199.18.2
[distsw-branche1] # TOR Switches 10.199.<BRANCHE-ID>.1-10 (L3) 10.199.<BRANCHE-ID>.11-20 (L2)
b1-distsw01 ansible_host=10.199.18.3
#b1-distsw02 ansible_host=10.199.18.4
[accsw-branche1] # SPINE Switches 172.<BRANCHE-ID>.<MNMT-SUBN>.21-50
b1-accsw01 ansible_host=10.199.18.21
b1-accsw02 ansible_host=10.199.18.22
b1-accsw03 ansible_host=172.18.30.23
b1-accsw04 ansible_host=10.199.18.24
b1-accsw05 ansible_host=10.199.18.25
b1-accsw06 ansible_host=10.199.18.26
b1-accsw07 ansible_host=10.199.18.27
b1-accsw08 ansible_host=10.199.18.28
###### DEVICES BRANCHE-2
[routers-branche2]
b2-r1 ansible_host=10.199.19.1
b2-r2 ansible_host=10.199.19.2
[distsw-branche2]
b2-distsw01 ansible_host=10.199.19.3
b2-distsw02 ansible_host=10.199.19.4
[accsw-branche2]
b2-accsw01 ansible_host=10.199.19.21
b2-accsw02 ansible_host=10.199.19.22
b2-accsw03 ansible_host=10.199.19.23
b2-accsw04 ansible_host=10.199.19.24
b2-accsw05 ansible_host=10.199.19.25
b2-accsw06 ansible_host=10.199.19.26
b2-accsw07 ansible_host=10.199.19.27
b2-accsw08 ansible_host=10.199.19.28
###### Management Servers
[man-servers]
tools ansible_host=172.16.0.11
[servers-ansible:children]
local