本文为joshua317原创文章,转载请注明:转载自joshua317博客 https://www.joshua317.com/article/26
fatal: [172.17.246.166]: UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory.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\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp `\"&& mkdir ~/.ansible/tmp/ansible-tmp-1607507254.45-31701-68683209694034 && echo ansible-tmp-1607507254.45-31701-68683209694034=\"` echo ~/.ansible/tmp/ansible-tmp-1607507254.45-31701-68683209694034 `\" ), exited with result 1", "unreachable": true}
解决办法:
1.查看账号的有效期
chage -l root
2.查看账号是否可登录
本文为joshua317原创文章,转载请注明:转载自joshua317博客 https://www.joshua317.com/article/26