playbook_create_switch_configs_stock: prepare for other stock firmwares
parent
ea1cf9dc43
commit
6524149a48
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue