AWX command not found

38 views
Skip to first unread message

ryad9...@gmail.com

unread,
Jan 24, 2019, 10:13:06 AM1/24/19
to AWX Project
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 !!

Matthew Jones

unread,
Jan 24, 2019, 3:08:48 PM1/24/19
to ryad9...@gmail.com, AWX Project
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

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/751d27f2-57f3-4ddc-a808-b090cbd5bda0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages