Ideally, something like

 - copy var_content=myVariable dest=/tmp/myFile.json

On Monday, May 18, 2015 at 3:27:24 PM UTC-4, Mark wrote:
>
> Brain - trying to capture output of an ansible command.  Can't use a 
> template in that situation unless there's some way it can pull in runtime 
> variables...?
>
> On Friday, May 15, 2015 at 9:39:09 AM UTC-4, Brian Coca wrote:
>>
>> I would switch to the template module, copy's content is not a good 
>> method for anything but trivial file content. 
>>
>>
>>
>>
>> -- 
>> Brian Coca 
>>
>

-- 
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/16440410-274b-44fd-a9bb-7c83f7a4d2d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to