# Ansible command not found error for user other than root user

**URL:** <https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616>\
**Category:** Ansible Project\
**Created:** [February 3, 2023, 10:26am UTC](https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616 "2023-02-03T10:26:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshay\_Jadhav](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Post date:** [February 3, 2023, 10:26am UTC](https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616/1 "2023-02-03T10:26:53Z")

</div>

Hi,  
we are getting “Ansible command not found error” for user other than root user. Already sudo access is granted for that user still getting “-bash: ansible: command not found”. Please help to troubleshoot this. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [February 3, 2023, 12:56pm UTC](https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616/2 "2023-02-03T12:56:35Z")

</div>

[https://docs.ansible.com/ansible/latest/installation\_guide/intro\_installation.html](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
