2024-04-28 08:59:32 +00:00
|
|
|
- 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
|
|
|
|
|
2024-04-28 08:59:32 +00:00
|
|
|
# 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
|
|
|
|
|
2024-04-28 08:59:32 +00:00
|
|
|
# Set up firewall.
|
2023-12-18 10:22:14 +00:00
|
|
|
- hosts: fw-*
|
|
|
|
roles:
|
|
|
|
- firewall
|
|
|
|
|
|
|
|
- hosts: zid
|
|
|
|
roles:
|
|
|
|
- certbot_dns
|
|
|
|
- firewall_master
|