network/setup.yml

29 lines
339 B
YAML
Raw Normal View History

- hosts: '*'
2024-05-13 15:39:05 +00:00
gather_facts: false
roles:
- facts
# Set up fabric.
2023-12-18 10:22:14 +00:00
- hosts: spine-*
roles:
- spine
- hosts: leaf-*
roles:
- leaf
- hosts: exit-*
roles:
- exit
# Set up access switches.
2023-12-08 16:02:55 +00:00
- hosts: access-*, sw-*
2023-12-18 10:22:14 +00:00
gather_facts: false
roles:
- access
# Set up firewall.
2023-12-18 10:22:14 +00:00
- hosts: fw-*
roles:
- firewall