feat: save changes to nonvolatile memory

This commit is contained in:
David Kilias 2023-07-14 22:52:02 +02:00
parent a454932328
commit 7846e91e6b

View file

@ -57,7 +57,6 @@
trunk: trunk:
allowed_vlans: 1,4,5,7,8,11 allowed_vlans: 1,4,5,7,8,11
native_vlan: 4 native_vlan: 4
# encapsulation: dot1q
# patchfeld 2 - Raspberry Pi Platon # patchfeld 2 - Raspberry Pi Platon
- name: Gi1/0/15 - name: Gi1/0/15
mode: access mode: access
@ -79,19 +78,20 @@
trunk: trunk:
allowed_vlans: 1,4,5,7,8,11 allowed_vlans: 1,4,5,7,8,11
native_vlan: 4 native_vlan: 4
# encapsulation: dot1q
# uplink descartes # uplink descartes
- name: Gi1/0/25 - name: Gi1/0/25
mode: trunk mode: trunk
trunk: trunk:
allowed_vlans: 1-11 allowed_vlans: 1-11
native_vlan: 1 native_vlan: 1
# encapsulation: dot1q
# server marx # server marx
- name: Gi1/0/26 - name: Gi1/0/26
mode: trunk mode: trunk
trunk: trunk:
allowed_vlans: 1-11 allowed_vlans: 1-11
native_vlan: 1 native_vlan: 1
# encapsulation: dot1q
state: merged state: merged
- name: Save running to startup when modified
cisco.ios.ios_config:
save_when: modified