# FAILED =\> module whoami not found in configured module paths

**URL:** <https://forum.ansible.com/t/failed-module-whoami-not-found-in-configured-module-paths/17963>\
**Category:** Ansible Project\
**Created:** [April 12, 2015, 7:56pm UTC](https://forum.ansible.com/t/failed-module-whoami-not-found-in-configured-module-paths/17963 "2015-04-12T19:56:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@Raj\_Sharma](https://forum.ansible.com/u/Raj_Sharma)\
**Post date:** [April 12, 2015, 7:56pm UTC](https://forum.ansible.com/t/failed-module-whoami-not-found-in-configured-module-paths/17963/1 "2015-04-12T19:56:58Z")

</div>

Hi

I am new to ansible and trying to run simple “whoami” command on remote host and getting the error

ansible all -m “whoami”

FAILED =\> module whoami not found in configured module paths

Would appreciate if somebody help me to get this fixed.

Raj

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 13, 2015, 2:34pm UTC](https://forum.ansible.com/t/failed-module-whoami-not-found-in-configured-module-paths/17963/2 "2015-04-13T14:34:55Z")

</div>

you want:

ansible all -a "whoami"

-m sets the module, the module will be 'command' which allows you to  
run commands on the remote system (set by default, that is why i  
omitted the -m).
