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

  1. [root@localhost ~]# ansible-doc -l
  2. [DEPRECATION WARNING]: docker is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this 
  3. rationale..
  4. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  5.  [ERROR]: unable to parse /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py
  6.  
  7. ERROR! module rhevm has a documentation error formatting or is missing documentation
  8.  
  9. [root@localhost ~]# sed '/^deprecation_warnings/s/True/False/' /etc/ansible/ansible.cfg -i
  10. [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
1 1