Hey Anirudh, Related to: https://github.com/ansible-collections/cisco.nxos/issues/236
This might be because either (a) `ansible_network_os: cisco.nxos.nxos` or (b) `ansible_connection: ansible.netcommon.network_cli` is not set. Also, it seems the task you shared isn't leveraging the module correctly. The `config` key in the `nxos_interfaces` resource module accepts a list of dictionaries, hence, it is not required to loop through items (which is slower). Please have a look at the examples in the module documentation for more details. Thanks! --- Nilashish Chakraborty Senior Software Engineer, Ansible Red Hat On Tue, Aug 25, 2020 at 9:51 PM Anirudh Pangri <anirudh.pan...@gmail.com> wrote: > I am trying this task: > > - name: Turn the fex ports up > loop: "{{ new_fex }}" > nxos_interfaces: > config: > - name: "{{ item }}" > - enabled: true > state: replaced > > Getting the following error: > > failed: [target] (item=Eth148/1/2) => {"ansible_loop_var": "item", > "changed": false, "item": "Eth148/1/2", "msg": "Unsupported parameters for > (nxos_interfaces) module: provider Supported parameters include: config, > state"} > > Any known quick fix to this one? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ansible-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-devel/fa6ac159-cfea-4db2-8930-e5f5f1e48d5cn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-devel/fa6ac159-cfea-4db2-8930-e5f5f1e48d5cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/CAODNBSHC29NR7icCvSPi%2BsOvYybBfy%2BgVKgweg_aQo_z%2BXUPxw%40mail.gmail.com.