2022-09-05 09:44:03 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
---
|
|
|
|
- hosts:
|
|
|
|
- test-1.switch.infra.auro.re
|
|
|
|
gather_facts: false
|
|
|
|
vars:
|
2022-09-23 20:05:06 +02:00
|
|
|
aruba__api_url: "http://{{ inventory_hostname }}"
|
|
|
|
aruba__api_username: "manager"
|
|
|
|
aruba__api_password: "manager"
|
|
|
|
aruba__model: J9773A
|
|
|
|
aruba__release: YA.16.11.002
|
|
|
|
aruba__hostname: "{{ inventory_hostname | hostname }}"
|
2022-09-05 09:44:03 +02:00
|
|
|
aruba__rest_enabled: true
|
|
|
|
aruba__ssh_enabled: true
|
|
|
|
aruba__ntp_servers:
|
|
|
|
- 10.128.0.1
|
|
|
|
- 2a09:6840:128:0:1::1
|
|
|
|
aruba__timezone: Europe/Paris
|
|
|
|
aruba__dns_servers:
|
|
|
|
- 10.128.0.1
|
|
|
|
- 2a09:6840:128:0:1::1
|
2022-09-05 11:49:19 +02:00
|
|
|
aruba__dns_domain_names:
|
|
|
|
- switch.infra.auro.re
|
|
|
|
- infra.auro.re
|
2022-09-23 20:05:06 +02:00
|
|
|
- toto.auro.re
|
|
|
|
aruba__manager_password: "manager"
|
|
|
|
aruba__operator_password: "operator"
|
2022-09-05 09:44:03 +02:00
|
|
|
aruba__default_gateways:
|
|
|
|
- 10.131.0.1
|
|
|
|
- 2a09:6840:131:0:1::1
|
|
|
|
aruba__vlans:
|
2022-09-23 20:05:06 +02:00
|
|
|
1:
|
|
|
|
name: Default
|
2022-09-05 09:44:03 +02:00
|
|
|
131:
|
|
|
|
name: Switchs
|
|
|
|
addresses:
|
2022-09-23 20:05:06 +02:00
|
|
|
- 10.131.1.1/16
|
|
|
|
- 2a09:6840:131:1:1::1/56
|
2022-09-05 09:44:03 +02:00
|
|
|
1000:
|
|
|
|
name: "Client 0"
|
|
|
|
1001:
|
|
|
|
name: "Client 1"
|
|
|
|
1002:
|
|
|
|
name: "Client 2"
|
|
|
|
1003:
|
|
|
|
name: "Client 3"
|
|
|
|
1004:
|
|
|
|
name: "Client 4"
|
|
|
|
aruba__interfaces:
|
|
|
|
1:
|
|
|
|
name: Uplink
|
|
|
|
untagged: 131
|
|
|
|
tagged:
|
|
|
|
- 1000
|
|
|
|
- 1001
|
|
|
|
- 1002
|
|
|
|
- 1003
|
|
|
|
- 1004
|
|
|
|
loop_protect: true
|
|
|
|
lldp: true
|
|
|
|
2:
|
|
|
|
name: "Client 0"
|
|
|
|
untagged: 1000
|
|
|
|
loop_protect: true
|
|
|
|
3:
|
|
|
|
name: "Client 1"
|
|
|
|
untagged: 1001
|
|
|
|
loop_protect: true
|
|
|
|
4:
|
|
|
|
name: "Client 2"
|
|
|
|
untagged: 1002
|
2022-09-23 20:05:06 +02:00
|
|
|
speed_duplex: 100-full
|
2022-09-05 09:44:03 +02:00
|
|
|
loop_protect: true
|
|
|
|
5:
|
|
|
|
name: "Client 3"
|
|
|
|
untagged: 1003
|
|
|
|
loop_protect: true
|
|
|
|
6:
|
|
|
|
name: "Client 4"
|
|
|
|
untagged: 1004
|
|
|
|
loop_protect: true
|
|
|
|
roles:
|
|
|
|
- aruba
|
|
|
|
...
|