29 lines
503 B
YAML
Executable file
29 lines
503 B
YAML
Executable file
#!/usr/bin/env ansible-playbook
|
|
---
|
|
- hosts:
|
|
- switch
|
|
|
|
environment:
|
|
HTTP_PROXY: "socks5://localhost:3000"
|
|
|
|
connection: httpapi
|
|
gather_facts: false
|
|
|
|
vars:
|
|
ansible_network_os: aruba
|
|
|
|
ansible_user: vault_switch.username
|
|
ansible_httpapi_password: vault_switch.password
|
|
|
|
ansible_httpapi_use_ssl: false
|
|
ansible_httpapi_validate_certs: false
|
|
|
|
switch:
|
|
use_proxy: true
|
|
|
|
roles:
|
|
- switch-system
|
|
- switch-vlans
|
|
- switch-ports
|
|
- switch-vlans-ports
|
|
...
|