changed all filtypes to 'yml' instead of 'yaml'

This commit is contained in:
Accendit
2020-05-07 18:04:34 +02:00
parent 5fe33559a3
commit f74210a387
4 changed files with 26 additions and 14 deletions

View File

@ -1,4 +0,0 @@
switches:
hosts:
sw01:
ansible_host: 192.168.1.149

6
inventory.yml Normal file
View File

@ -0,0 +1,6 @@
all:
children:
switches:
hosts:
sw01:
ansible_host: 192.168.1.149

View File

@ -1,10 +0,0 @@
- hosts: switches
tasks:
- name: set a banner
ios_banner:
banner: login
text: |
Hallo jongens
Kom je doen jong
state: present

20
site.yml Normal file
View File

@ -0,0 +1,20 @@
- 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: