# Unable to execute command using command module: path not found

**URL:** <https://forum.ansible.com/t/unable-to-execute-command-using-command-module-path-not-found/27170>\
**Category:** AWX Project\
**Tags:** aws, awx\
**Created:** [April 2, 2018, 3:57pm UTC](https://forum.ansible.com/t/unable-to-execute-command-using-command-module-path-not-found/27170 "2018-04-02T15:57:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreenivas\_narayan](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@sreenivas\_narayan](https://forum.ansible.com/u/sreenivas_narayan)\
**Post date:** [April 2, 2018, 3:57pm UTC](https://forum.ansible.com/t/unable-to-execute-command-using-command-module-path-not-found/27170/1 "2018-04-02T15:57:59Z")

</div>

I am trying to execute a playbook from AWX. The playbook is actually executing a ruby script and awscli command. For ruby it is showing gem not found error even though its working if executing directoy in docker container. For awscli it is throwing profile not found error. I am having profile in /root/.aws. Please help

Thanks  
Sreenivas
