AWX command not found

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 !!

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