forked from aristanetworks/netdevops-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory.yml
75 lines (75 loc) · 2.29 KB
/
inventory.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
---
all:
children:
CVP:
hosts:
cv_ztp:
ansible_host: 10.83.28.164
ansible_user: root
ansible_password: ansible
ansible_connection: paramiko
cv_server:
ansible_httpapi_host: 10.83.28.164
ansible_host: 10.83.28.164
ansible_user: ansible
ansible_password: ansible
ansible_connection: httpapi
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_network_os: eos
ansible_httpapi_port: 443
# Configuration to get Virtual Env information
ansible_python_interpreter: $(which python)
# DC1_Fabric - EVPN Fabric running in home lab
DC1:
children:
DC1_FABRIC:
children:
DC1_SPINES:
hosts:
DC1-SPINE1:
ansible_host: 10.255.0.11
DC1-SPINE2:
ansible_host: 10.255.0.12
DC1_L3LEAFS:
children:
DC1_LEAF1:
hosts:
DC1-LEAF1A:
ansible_host: 10.255.0.13
DC1-LEAF1B:
ansible_host: 10.255.0.14
DC1_LEAF2:
hosts:
DC1-LEAF2A:
ansible_host: 10.255.0.15
DC1-LEAF2B:
ansible_host: 10.255.0.16
DC1_L2LEAFS:
children:
DC1_L2LEAF1:
hosts:
DC1-L2LEAF1A:
ansible_host: 10.255.0.17
DC1_L2LEAF2:
hosts:
DC1-L2LEAF2A:
ansible_host: 10.255.0.18
vars:
ansible_connection: httpapi
ansible_network_os: eos
ansible_user: ansible
# should use vault for passwords
ansible_ssh_pass: ansible
ansible_become: true
ansible_become_method: enable
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
DC1_TENANTS_NETWORKS:
children:
DC1_L3LEAFS:
DC1_L2LEAFS:
DC1_SERVERS:
children:
DC1_L3LEAFS:
DC1_L2LEAFS: