[ansible-project] Copy to local

2016-02-29 Thread larry . singer
I am trying to write a file to my local machine with a dynamic inventory. I am running the following script in Ansible Tower: --- - hosts: all tasks: - name: Copy the file connection: local run_once: true copy: content="Hello, World!" dest=/tmp/hello.txt This works when I run it

[ansible-project] Convert DOS to Uniix new lines

2015-09-10 Thread larry . singer
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