Bug 1416930 - rhevm.py in ansible-2.2.0.0-3.el6.noarch contains DOS line breaks
Summary: rhevm.py in ansible-2.2.0.0-3.el6.noarch contains DOS line breaks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ansible
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-26 19:49 UTC by Robert Musial
Modified: 2017-01-26 21:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-26 21:56:09 UTC
Type: ---


Attachments (Terms of Use)

Description Robert Musial 2017-01-26 19:49:43 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Build Identifier: 

After installing ansible-2.2.0.0-3.el6.noarch, when I would run ansible-doc -l I would get the error...

 [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

After inspecting the file in Emacs I noticed it had Ctrl-M line breaks. After removing them ansible-doc -l would run fine.

Reproducible: Always

Steps to Reproduce:
1. install ansible from epel 6
2. run ansible-doc -l
3.
Actual Results:  
Received error  [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

Expected Results:  
List ansible documents

Comment 1 Kevin Fenzi 2017-01-26 21:56:09 UTC
This is fixed in the next version of ansible (in epel-testing). 

ansible-2.2.1.0-1.el6

To test you can do: 

sudo yum update ansible --enablerepo=epel-testing

Let me know if you run into any problems with it.


Note You need to log in before you can comment on or make changes to this bug.