# output var not used?

**URL:** <https://forum.ansible.com/t/output-var-not-used/23166>\
**Category:** Ansible Developer\
**Created:** [December 3, 2016, 6:05am UTC](https://forum.ansible.com/t/output-var-not-used/23166 "2016-12-03T06:05:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Tim1](https://forum.ansible.com/u/Tim1)\
**Post date:** [December 3, 2016, 6:05am UTC](https://forum.ansible.com/t/output-var-not-used/23166/1 "2016-12-03T06:05:19Z")

</div>

hi folks, I was looking at the nxos\_command module here

[https://github.com/ansible/ansible-modules-core/blob/6890003c4f8dcd8f63a5b280211068cfaf1dcc35/network/nxos/nxos\_command.py#L245](https://github.com/ansible/ansible-modules-core/blob/6890003c4f8dcd8f63a5b280211068cfaf1dcc35/network/nxos/nxos_command.py#L245)

and noticed it used a cmd.get(‘output’) method in a get\_command() method

but when I looked at the the source for get\_command(), which takes an “output” argument, I noticed it doesn’t appear to be used anywhere in that method

[https://github.com/ansible/ansible/blob/devel/lib/ansible/module\_utils/netcli.py#L151](https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/netcli.py#L151)

Am I reading that right?

thanks,  
tim
