---
- hosts: cisco_switches
gather_facts: no
connection: local
strategy: free
tasks:
- name: vlan 10
ios_config:
host: "A-NODE"
username: admin
password: password
lines:
- switchport access vlan 10
parents:
- interface GigabitEthernet1/0/2
- interface GigabitEthernet1/0/30
authorize: yes
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f48ebf8-efd5-485a-ac7f-8e38f987951a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.