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.