It works now. It does not allow neither provider nor connection: local must 
be network_cli. What replaces provider?

El martes, 22 de septiembre de 2020 a las 18:19:17 UTC+2, 
[email protected] escribió:

> 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
>
>
>
> On Tue, 22 Sep 2020 at 17:33, Jaime Jaca <[email protected]> wrote:
> >
> > 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
> >
> > --
> > 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 [email protected].
> > 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
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/286f3c41-9d8d-425a-be1d-9c50785c1735n%40googlegroups.com.

Reply via email to