ios_vlans and ios_l2_interfaces error

34 views
Skip to first unread message

Jaime Jaca

unread,
Sep 22, 2020, 11:32:52 AM9/22/20
to Ansible Project
The new ios_vlans and ios_l2_interfaces modules give me the following error when executing it:

*
fatal: [192.168.1.1]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "Unsupported parameters for (ios_vlans) module: provider Supported parameters include: config, state"}

With the ios_vlan and ios_l2_interface modules it works

Dick Visser

unread,
Sep 22, 2020, 12:19:17 PM9/22/20
to ansible...@googlegroups.com
You didn't provide the playbook, but from that error it's pretty
obvious that you're providing a parameter ('provider') that the module
does not support.
As the error also says, there are only two parameters.
The docs are pretty clear:
https://docs.ansible.com/ansible/latest/modules/ios_vlans_module.html
https://docs.ansible.com/ansible/latest/modules/ios_l2_interfaces_module.html
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ec5b2bba-ec0e-4051-8380-79d2752b774en%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

Jaime Jaca

unread,
Sep 24, 2020, 2:31:34 AM9/24/20
to Ansible Project
It works now. It does not allow neither provider nor connection: local must be network_cli. What replaces provider?
Reply all
Reply to author
Forward
0 new messages