commit 65e0f8c033aaac38c9ab43f455b7eddc0e3e9052 Author: Patrick Toal Date: Wed Nov 19 05:07:00 2025 +0000 Add inventory diff --git a/ansible-inventory.yml b/ansible-inventory.yml new file mode 100644 index 0000000..53f231d --- /dev/null +++ b/ansible-inventory.yml @@ -0,0 +1,77 @@ +all: + vars: + # The generated inventory is assumed to be used from the clab host. + # Hence no http proxy should be used. Therefore we make sure the http + # module does not attempt using any global http proxy. + ansible_httpapi_use_proxy: false + children: + arista_ceos: + vars: + # ansible_connection: set ansible_connection variable if required + ansible_user: admin + ansible_password: admin + hosts: + clab-multivendor-l2leaf1: + ansible_host: 172.20.20.7 + clab-multivendor-l2leaf2: + ansible_host: 172.20.20.9 + clab-multivendor-leaf1: + ansible_host: 172.20.20.14 + clab-multivendor-leaf2: + ansible_host: 172.20.20.4 + clab-multivendor-leaf3: + ansible_host: 172.20.20.16 + clab-multivendor-leaf4: + ansible_host: 172.20.20.19 + clab-multivendor-leaf5: + ansible_host: 172.20.20.2 + clab-multivendor-leaf6: + ansible_host: 172.20.20.11 + clab-multivendor-spine1: + ansible_host: 172.20.20.15 + clab-multivendor-spine2: + ansible_host: 172.20.20.17 + clab-multivendor-spine3: + ansible_host: 172.20.20.10 + clab-multivendor-spine4: + ansible_host: 172.20.20.18 + cisco_iol: + vars: + # ansible_connection: set ansible_connection variable if required + ansible_user: admin + ansible_password: admin + hosts: + clab-multivendor-iol_l2_1: + ansible_host: 172.20.20.6 + clab-multivendor-iol_l2_2: + ansible_host: 172.20.20.20 + fortinet_fortigate: + vars: + # ansible_connection: set ansible_connection variable if required + ansible_user: admin + ansible_password: admin + hosts: + clab-multivendor-fg1: + ansible_host: 172.20.20.22 + clab-multivendor-fg2: + ansible_host: 172.20.20.13 + generic_vm: + vars: + # ansible_connection: set ansible_connection variable if required + ansible_user: clab + ansible_password: clab@123 + hosts: + clab-multivendor-ubuntuvm1: + ansible_host: 172.20.20.3 + clab-multivendor-ubuntuvm2: + ansible_host: 172.20.20.12 + linux: + hosts: + clab-multivendor-n1: + ansible_host: 172.20.20.21 + clab-multivendor-n2: + ansible_host: 172.20.20.23 + clab-multivendor-n3: + ansible_host: 172.20.20.5 + clab-multivendor-n4: + ansible_host: 172.20.20.8 \ No newline at end of file