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.htmlOn 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/CAL8fbwO4%3D1TUtkRq8HpNQ6r-X58f1X55%3DZ%2BQxnAa5VQ83VTQFA%40mail.gmail.com.
