码迷,mamicode.com
首页 > 其他好文 > 详细

Ansible 安装使用过程中遇到过的问题

时间:2016-11-27 07:55:00      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:安装   orm   misc   lib   rem   continue   war   docker   finger   

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

 

Ansible 安装使用过程中遇到过的问题

标签:安装   orm   misc   lib   rem   continue   war   docker   finger   

原文地址:http://www.cnblogs.com/vicke/p/6105878.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!