ansible 链接物理机报错
来源:6-6 实现ssh密码登录执行命令
格式化007
2019-07-13
192.168.0.110 | UNREACHABLE! => {
“changed”: false,
“msg”: “Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in “/tmp”. Failed command was: ( umask 77 && mkdir -p “echo /Users/liqiang/.ansible/tmp/ansible-tmp-1563010695.739692-90230755413616
” && echo ansible-tmp-1563010695.739692-90230755413616=”echo /Users/liqiang/.ansible/tmp/ansible-tmp-1563010695.739692-90230755413616
" ), exited with result 127",
“unreachable”: true
}
2回答
-
Jeson
2019-07-14
可能是目录的权限有问题,/tmp 建议检查下 /Users/liqiang/.ansible/tmp
012019-07-14 -
格式化007
提问者
2019-07-13
ssh是可以连接的
00
相似问题
回答 2
回答 1