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?

On Fri, Sep 16, 2016 at 12:38 PM, Steven Carter <ste...@smcarter.com> wrote:

> 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
> <module>\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.
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/6a0b9804-4864-4a41-ac06-bba962bcb6ed%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/6a0b9804-4864-4a41-ac06-bba962bcb6ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEkdrMhsOn-YrnWQuxEvwO1Z2%2BEsMaLgPQs4A64Wk%3DzHxgYtTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to