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:

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

    报错二:

  • 相关阅读:
    背景图片自适应大小(平铺)
    墨卡托投影示意图
    C# 两个类的实例之间相同属性的值的复制
    C# 并行编程 Task
    C# 并行编程 PLINQ
    C# 并行编程 Parallel
    仰望星空
    Ubuntu的人道精神
    神经网络简介
    并行计算简介
  • 原文地址:https://www.cnblogs.com/miaocbin/p/12654651.html
Copyright © 2011-2022 走看看