Added a switches playbook

This commit is contained in:
Accendit
2020-05-11 21:40:04 +02:00
parent b8190b80b3
commit 184dd56b17
2 changed files with 6 additions and 20 deletions

View File

@ -1,20 +1 @@
- hosts: switches
tasks:
- name: set a banner
ios_banner:
banner: login
text: |
Hallo jongens
Kom je doen jong
state: present
- debug:
var: hostvars
# - name: configure vlans
# ios_config:
# lines:
# - vlan "{{ id }}"
# - name "{{ name }}"
# for:
- import_playbook: switches.yml

5
switches.yml Normal file
View File

@ -0,0 +1,5 @@
- hosts: switches
roles:
- common
- l2_interfaces