17 lines
297 B
YAML
Executable file
17 lines
297 B
YAML
Executable file
#!/usr/bin/env ansible-playbook
|
|
---
|
|
- hosts:
|
|
- switch
|
|
connection: httpapi
|
|
gather_facts: false
|
|
environment:
|
|
HTTP_PROXY: "socks5://localhost:3000"
|
|
vars:
|
|
switch:
|
|
use_proxy: true
|
|
roles:
|
|
- switch-system
|
|
- switch-vlans
|
|
- switch-ports
|
|
- switch-vlans-ports
|
|
...
|