Sorry for late response here -- PyCON travel and such.

"except the line added or replaced) has been changed (end of line with ^M)"

Are you saying Windows files get changed to Linux format, instead of the
opposite?

I'd expect this to be the case.




On Wed, Apr 9, 2014 at 3:41 PM, jack <[email protected]> wrote:

> Hi,
>
> We are using ansible 1.5.3, and trying to replace/add a line to a xml
> file. But after lineinfile task is executed, the file format got changed
> from the Linux to windows, we observed that the end of line for all the
> line (except the line added or replaced) has been changed (end of line with
> ^M). We double checked the xml file format before the liniinfile task
> executed was correct linux format.  Any idea about this?
>
> Thanks
> Jack
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/d8dac875-6603-4e2d-a722-1ae0ddf2f259%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/d8dac875-6603-4e2d-a722-1ae0ddf2f259%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyWskgv-2ScfM6AgSK%3DQP9Gmcqbanmpj2eYr-8gRJTjqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to