Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
ios_vlans and ios_l2_interfaces error
34 views
Skip to first unread message
Jaime Jaca
unread,
Sep 22, 2020, 11:32:52 AM
9/22/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
9/22/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
9/24/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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