报错信息:“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 “echo ~/.ansible/tmp/ansible-tmp-1687837948.0311582-49082-127934954449715
” && echo ansible-tmp-1687837948.0311582-49082-127934954449715=“echo ~/.ansible/tmp/ansible-tmp-1687837948.0311582-49082-127934954449715
” ), exited with result 1”,
排查思路:
1.使用docker用户查看远程目录是否有操作权限是否能登录
2.使用-vvv查看详细信息
发现是docker用户密码过期导致的,更新一下密码就好了
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPP