zoukankan      html  css  js  c++  java
  • ansible执行命令或playbook报错原因及解决方法整理

    总结一些ansible执行出现的错误及解决办法

    报错一:Authentication or permission failure

    10.86.78.142 | 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 /geelyapp/ansible-tmp-1586249485.61-166743860327847 `" && echo ansible-tmp-1586249485.61-166743860327847="` echo /geelyapp/ansible-tmp-1586249485.61-166743860327847 `" ), exited with result 1", 
        "unreachable": true
    }

    原因1:

    被登录主机上的用户的密码不对了或密码过期;修改下对应用户的密码为正确密码即可;

    原因2:

    被登录主机上面磁盘空间满了,是不是有点坑?估计这个问题可能坑了很多人吧。。。

    报错二:

  • 相关阅读:
    java 服务端设置跨域
    Git 使用常用命令
    关于全局变量使用时编译问题
    从阿里云读取文档到后台
    kindeditor编辑器
    Java后台Excel表导出
    AVAudioPlayer
    网络第三节——NSURLSession
    KVC 和 KVO
    网络第二节——AFNworking
  • 原文地址:https://www.cnblogs.com/miaocbin/p/12654651.html
Copyright © 2011-2022 走看看