Linux · 2016-11-30

ansible ERROR! module rhevm has a documentation error formatting or is missing documentation

[root@localhost ~]# 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

[root@localhost ~]# sed '/^deprecation_warnings/s/True/False/' /etc/ansible/ansible.cfg -i
[root@localhost ~]# mv /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py.def