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
pahting should be changed to pathing and also i dont know how to use it in playbook
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?
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.
thanks for the reply