Problems with NXOS Modules in Ansible 2.2

When I run:

  • name: Configure the port channels for the VPCs
    nxos_portchannel:
    provider: “{{ cli }}”
    group: 99
    members: [‘Ethernet1/1/1’]
    mode: ‘active’
    state: present

I get:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: ‘NetworkModule’ object has no attribute ‘configure’
fatal: [192.133.148.128]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File "/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py", line 733, in \n main()\n File "/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py", line 714, in main\n output = execute_config_command(cmds, module)\n File "/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py", line 328, in execute_config_command\n output = module.configure(commands)\nAttributeError: ‘NetworkModule’ object has no attribute ‘configure’\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”}

It seems like I have some dependency problems, but I cannot figure them out. Anyone have any ideas?

Thanks,

Steven.

That looks like a bug in the module… would you mind filing an issue at http://github.com/ansible/ansible-modules/core with this information so we can track it?

I submitted the error for nxos_portchannel and a similar error for nxos_command.

Thanks,

Steven.