# AWX command not found

**URL:** <https://forum.ansible.com/t/awx-command-not-found/29516>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 24, 2019, 3:13pm UTC](https://forum.ansible.com/t/awx-command-not-found/29516 "2019-01-24T15:13:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [January 24, 2019, 3:13pm UTC](https://forum.ansible.com/t/awx-command-not-found/29516/1 "2019-01-24T15:13:05Z")

</div>

Bonjour la communauté AWX !!

Quand j’exécute un playbook contenant un script avec un wget en ligne de commande ansible sa fonctionne parfaitement (ansible-playbook playbook.yml)

Mais quand j’utilise AWX, il me dit wget command not found :

fatal: [localhost → 127.0.0.1]: FAILED! =\> {“changed”: true, “cmd”: “bash pmp.sh R8GIS saa\_ws\_pwd”, “delta”: “0:00:00.267949”, “end”: “2019-01-24 14:53:32.773417”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-01-24 14:53:32.505468”, “stderr”: “pmp.sh: line 22: wget: command not found\npmp.sh: line 16: mail: command not found”, “stderr\_lines”: [“pmp.sh: line 22: wget: command not found”, “pmp.sh: line 16: mail: command not found”], “stdout”: “Failure: an error occured. \nErreur de l’appel de PMP (ppwd43)”, “stdout\_lines”: ["Failure: an error occured. ", “Erreur de l’appel de PMP (ppwd43)”]}

Quelqu’un aurait une solution svp ??

Je vous remercie !!

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [January 24, 2019, 8:09pm UTC](https://forum.ansible.com/t/awx-command-not-found/29516/2 "2019-01-24T20:09:13Z")

</div>

because wget is not in the container image… you should switch to using `get_url` module: [https://docs.ansible.com/ansible/latest/modules/get\_url\_module.html](https://docs.ansible.com/ansible/latest/modules/get_url_module.html)
