Convert DOS to Uniix new lines

172 views
Skip to first unread message

larry....@smarthealth.com.au

unread,
Sep 10, 2015, 8:25:29 AM9/10/15
to Ansible Project
I am using both the copy and the template modules to upload files to a target system. The source files use DOS new lines. The target is Linux. It template module seems to convert the end of line characters to UNIX end of lines. The copy doesn't support this. Can I suggest an option on both of these modules that allows the end of line characters to be converted correctly.

Brian Coca

unread,
Sep 10, 2015, 9:02:10 AM9/10/15
to Ansible Project
i would make this it's own utility (dos2unix) or use the replace
module to do this.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages