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

ansible

时间:2016-12-03 02:39:47      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:error

1、[root@node1~]# 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@node1 ~]# 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

 


本文出自 “Linux” 博客,请务必保留此出处http://ridingonhorse.blog.51cto.com/11265295/1878968

ansible

标签:error

原文地址:http://ridingonhorse.blog.51cto.com/11265295/1878968

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