ios_vlans and ios_l2_interfaces error

The new ios_vlans and ios_l2_interfaces modules give me the following error when executing it:

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

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