# Possible bug with nxos\_reboot module?

**URL:** <https://forum.ansible.com/t/possible-bug-with-nxos-reboot-module/23121>\
**Category:** Ansible Project\
**Created:** [November 28, 2016, 5:31pm UTC](https://forum.ansible.com/t/possible-bug-with-nxos-reboot-module/23121 "2016-11-28T17:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cody\_John](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Post date:** [November 28, 2016, 5:31pm UTC](https://forum.ansible.com/t/possible-bug-with-nxos-reboot-module/23121/1 "2016-11-28T17:31:02Z")

</div>

I’ve run into some issues using nxos\_reboot module in 2.2.0.0. Given a very simple playbook:

`

---

<div class="post-metadata">

**Author:** ![remy.pouppeville](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@remy.pouppeville](https://forum.ansible.com/u/remy.pouppeville)\
**Post date:** [November 30, 2016, 9:11am UTC](https://forum.ansible.com/t/possible-bug-with-nxos-reboot-module/23121/2 "2016-11-30T09:11:24Z")

</div>

Hi, I’m hitting the same issue when launching the playbook via Tower 3.0.3, when launching the same playbook via CLI I don’t get the “UnboundLocalError: local variable ‘body’ referenced before assignment” error. Any update on this ?
