Ansible fails with /bin/sh: 1: /usr/bin/python: not found

后端 未结 19 1107
执念已碎
执念已碎 2020-11-29 15:15

I\'m running into an error I\'ve never seen before. Here is the command and the error:

$ ansible-playbook create_api.yml

PLAY [straw] **********************         


        
19条回答
  •  误落风尘
    2020-11-29 15:49

    I was able to fix the same problem by installing Python on target machine i.e. the machine which we want to SSH to. I had used following command:

    sudo apt-get install python-minimal
    

提交回复
热议问题