diff --git a/site.yml b/site.yml index 44b324b..95ecc90 100644 --- a/site.yml +++ b/site.yml @@ -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: \ No newline at end of file +- import_playbook: switches.yml \ No newline at end of file diff --git a/switches.yml b/switches.yml new file mode 100644 index 0000000..f1d76e1 --- /dev/null +++ b/switches.yml @@ -0,0 +1,5 @@ +- hosts: switches + + roles: + - common + - l2_interfaces \ No newline at end of file