当我运行一本有趣的剧本时,主机无法访问

时间:2020-02-02 08:36:31

标签: ansible

运行Ansible剧本时,遇到以下错误:

<eserver> SSH: EXEC sshpass -d10 ssh -F ssh_config -q -o StrictHostKeyChecking=no -o ConnectTimeout=10 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
fatal: [eserver]: UNREACHABLE! => {
    "changed": false, 
    "msg": "SSH Error: data could not be sent to remote host \"127.0.0.1\". Make sure this host can be reached over ssh", 
    "unreachable": true
}

0 个答案:

没有答案