Ansible 安装使用过程中遇到过的问题
1、[root@ansible ~]# ansible-doc -l
[DEPRECATION WARNING]: docker is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale..
This feature will be removed in
a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[ERROR]: unable to parse /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py
ERROR! module rhevm has a documentation error formatting or is missing documentation
解决方法:
sed -i 's/^#deprecation_warnings = True/deprecation_warnings = False/' /etc/ansible/ansible.cfg
rm -f /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py
2、[root@ansible ~]# ansible -i /root/iplist_all ip_all -m shell -a 'cat /etc/redhat-release'
The authenticity of host '[192.168.99.43]:22051 ([192.168.99.43]:22)' can't be established.
RSA key fingerprint is 5e:9d:5c:4c:e8:cd:6e:78:70:a2:04:1c:5f:6f:3a:1e.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.99.248]:22051 ([192.168.99.248]:22)' can't be established.
RSA key fingerprint is 64:d9:ef:67:6a:d5:37:ff:70:2f:06:d2:35:d1:6b:a2.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.99.247]:22051 ([192.168.99.247]:22)' can't be established.
解决方法:
sed -i 's/^#host_key_checking = False/host_key_checking = False/' /etc/ansible/ansible.cfg
最新文章
- SIP模块版本错误问题:the sip module implements API v??? but XXX module requires API v???
- Ibatis的环境搭建以及遇到的问题解决
- win8以上系统,设置英文为默认输入法
- CST和GMT时间的区别
- Android 系统日期时间的获取
- 2015第42周六Pgsql全文索引
- 提高MySQL数据库查询效率的几个技巧(转载)
- CSS属性之absolute
- CSS文字垂直居中和font-family属性
- Java实现二叉树的前序、中序、后序遍历(非递归方法)
- idea出现Error:Maven Resources Compiler: Maven project configuration required for module 'market' isn't available.
- [转] 以后再有人问你selenium是什么,你就把这篇文章给他
- C++预编译头文件 – stdafx.h
- 基于WebGL架构的3D可视化平台—新风系统演示
- 在JavaEE中使用Mybatis框架
- CLR via C# 中关于装箱拆箱的摘录
- linux下使用命令修改IP地址
- Struts学习总结-02 上传文件
- promise用法详解
- airflow