06
2023
05
15:52:56

【ansible】ansible用户密码过期报错



推荐点击下面图片,通过本站淘宝优惠价购买:

image.png

ansible 执行报如下错误


6d44b4a2e172074ca604686f923b578c_b69617fd09c6a4ef70d8ce206359b301.png


##############################################################


172.16.249.28 | 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 \"` echo ~/.ansible/tmp/ansible-tmp-1641299978.08-28456-158384084667069 `\" && echo ansible-tmp-1641299978.08-28456-158384084667069=\"` echo ~/.ansible/tmp/ansible-tmp-1641299978.08-28456-158384084667069 `\" ), exited with result 1",


    "unreachable": true


}


###############################################################


https://oktools.net/json2yaml


c22658c5df292330e94061bb1818a02d_0747cf06a0c129f0e518a7af529e036d.png


b1f1dad5715f633e416df8c735238c7a_22edfc44bf8d53b05e89d17a130a9df6.png


看报错,还以为是目标机器相关目录权限不对,实际是目标机器ansible用户密码过期了,需要更新一下。


f731607b3fd4bb9756f82a405e514e6e_4094c4c859259c74e1362c710eb4fc52.png


参考

YAML 语言教程


http://www.ruanyifeng.com/blog/2016/07/yaml.html


springCloud、SpringBoot的yaml文件编辑规范及注意点


http://www.hellojava.com/a/954.html


JSON转YAML,YAML转JSON


https://oktools.net/json2yaml


Yaml Cookbook


https://yaml.org/YAML_for_ruby.html



本文链接:http://www.hqyman.cn/post/4063.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:





休息一下,本站随机推荐观看栏目:


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: