facts: only look up prefixes and VLANs once

Also drop "access-*" hosts from setup playbook as they have all been
renamed to "sw-*".
This commit is contained in:
Timotej Lazar 2025-08-01 13:40:14 +02:00
parent 4ca177ff04
commit 48eee50203
2 changed files with 19 additions and 16 deletions

View file

@ -17,7 +17,7 @@
- exit
# Set up access switches.
- hosts: access-*, sw-*
- hosts: sw-*
gather_facts: false
roles:
- access