# Community.general.shutdown Interactive authentication required

**URL:** <https://forum.ansible.com/t/community-general-shutdown-interactive-authentication-required/1728>\
**Category:** Get Help\
**Tags:** shutdown, playbook, collections, ubuntu\
**Created:** [October 16, 2023, 12:49am UTC](https://forum.ansible.com/t/community-general-shutdown-interactive-authentication-required/1728 "2023-10-16T00:49:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![utoddl](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/utoddl/32/249_2.png) [@utoddl](https://forum.ansible.com/u/utoddl)\
**Post date:** [October 19, 2023, 10:44am UTC](https://forum.ansible.com/t/community-general-shutdown-interactive-authentication-required/1728/7 "2023-10-19T10:44:10Z")

</div>

… or run

```yaml
- name: Poweroff by NUT
  ansible.builtin.command: sudo /usr/sbin/poweroff

```

Alternatively, `sudo /usr/bin/systemctl poweroff`.

However, that could fail to return as the `command` module process on the managed node may be killed before it returns status to the controller. Hmm.

---

_[View the full topic](https://forum.ansible.com/t/community-general-shutdown-interactive-authentication-required/1728)._
