Hi,

I get the following error while I try to install vim on the remote server 
using python ansible API.

fatal: [162.243.55.156]: FAILED! => {"changed": false, "cmd": "apt-get 
update '&&' apt-get install python-apt -y -q --force-yes", "failed": true, 
"msg": "/bin/sh: apt-get: command not found", "rc": 127, "stderr": 
"/bin/sh: apt-get: command not found\n", "stdout": "", "stdout_lines": []}

Doing similar steps on server runs fine without any issues.

Any help in this regard is appreciated.

Regards,
_Shreyas.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f75cb349-a844-4bdd-af33-ff5c73b49710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to