39 lines
987 B
YAML
39 lines
987 B
YAML
---
|
|
- hosts: cisco-2960-1.n39.eu
|
|
become: true
|
|
|
|
tasks:
|
|
- name: configure login banner
|
|
cisco.ios.ios_banner:
|
|
banner: login
|
|
text: "Documentation here: https://wiki.netz39.de/internal:inventory:network:2960s-24td-l"
|
|
state: present
|
|
|
|
- name: configure vlans
|
|
cisco.ios.ios_vlans:
|
|
config:
|
|
- name: lan
|
|
vlan_id: 4
|
|
state: active
|
|
shutdown: disabled
|
|
- name: wan
|
|
vlan_id: 5
|
|
state: active
|
|
shutdown: disabled
|
|
- name: service
|
|
vlan_id: 7
|
|
state: active
|
|
shutdown: disabled
|
|
- name: legacy
|
|
vlan_id: 8
|
|
state: active
|
|
shutdown: disabled
|
|
- name: dmz
|
|
vlan_id: 9
|
|
state: active
|
|
shutdown: disabled
|
|
- name: ffmd-client
|
|
vlan_id: 11
|
|
state: active
|
|
shutdown: disabled
|
|
state: merged
|