playbook_create_switch_configs_stock: prepare for other stock firmwares

master
Gregor Michels 2023-01-05 04:16:52 +01:00
parent ea1cf9dc43
commit 6524149a48
2 changed files with 4 additions and 4 deletions

View File

@ -31,9 +31,9 @@ sw-access01 ip=10.84.1.11 base_mac=bc:cf:4f:e3:bb:8d
sw-access02 ip=10.84.1.12 base_mac=bc:cf:4f:e3:ac:39
[switches_stock]
ffl-ans-sw-distribution01 ip=10.85.1.11 base_mac=5c:e2:8c:60:82:fb
ffl-ans-sw-access01 ip=10.85.1.12 base_mac=04:bf:6d:15:c6:b3
ffl-ans-sw-access02 ip=10.85.1.13 base_mac=04:bf:6d:15:c6:92
ffl-ans-sw-distribution01 ip=10.85.1.11 base_mac=5c:e2:8c:60:82:fb sw_type=gs1900-10hp
ffl-ans-sw-access01 ip=10.85.1.12 base_mac=04:bf:6d:15:c6:b3 sw_type=gs1900-10hp
ffl-ans-sw-access02 ip=10.85.1.13 base_mac=04:bf:6d:15:c6:92 sw_type=gs1900-10hp
[gateways]
gw-core01 ip=10.84.1.1

View File

@ -12,5 +12,5 @@
- name: generate configuration
template:
src: templates/gs1900-10hp-stock.cfg.j2
src: templates/{{ sw_type }}-stock.cfg.j2
dest: "switch-configs-stock/{{ inventory_hostname }}.cfg"