I probably wouldn't do that as I want to keep my ansible roles and 
playbooks in source control.  So I would probably create a downloads folder 
on my ansible controller in some known location that I could either hard 
code into my playbooks - something like /usr/share/downloads perhaps or 
alternatively set the path using a group variable.

On Tuesday, April 25, 2017 at 7:28:42 AM UTC+1, Suporter wrote:
>
> How we should use the files folder created under roles, if i am 
> downloading a file from url and want to save it under the files folder, how 
> can i mention that in playbook, should that be the full path? or is there 
> an ansible way of doing it?
>
> On Monday, April 24, 2017 at 9:07:33 PM UTC+5:30, Suporter wrote:
>>
>> when we create a roles folder, there is a folder called files in it, can 
>> i use it for storing zip files or whatever i would like to store ..if yes 
>> how can i reference that in playbook, should i mention the location or is 
>> there an ansible way of referring it
>>
>

-- 
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/82b602df-35b6-49e4-a6a4-10dac6c85ef6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to