network/setup.yml

33 lines
380 B
YAML
Raw Normal View History

- hosts: '*'
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
- hosts: zid
roles:
- certbot_dns
- firewall_master