其他分享
首页 > 其他分享> > jenkins发布失败,提示Failed to create temporary directory

jenkins发布失败,提示Failed to create temporary directory

作者:互联网

本文为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

标签:tmp,temporary,joshua317,1607507254.45,create,echo,Failed,ansible
来源: https://blog.csdn.net/joshua317/article/details/120112294