29 lines
339 B
YAML
29 lines
339 B
YAML
- hosts: '*'
|
|
gather_facts: false
|
|
roles:
|
|
- facts
|
|
|
|
# Set up fabric.
|
|
- hosts: spine-*
|
|
roles:
|
|
- spine
|
|
|
|
- hosts: leaf-*
|
|
roles:
|
|
- leaf
|
|
|
|
- hosts: exit-*
|
|
roles:
|
|
- exit
|
|
|
|
# Set up access switches.
|
|
- hosts: access-*, sw-*
|
|
gather_facts: false
|
|
roles:
|
|
- access
|
|
|
|
# Set up firewall.
|
|
- hosts: fw-*
|
|
roles:
|
|
- firewall
|