On Friday, April 25, 2014 at 11:32:07 AM UTC-7, Jacob Weber wrote: > > I'm using the "template" task to modify a file that I own, and have write > permissions on. I'm not using sudo; I'm just running it as my own user. > > But I get an error "Destination [parent-dir] not writable." I'm guessing > it's deleting and re-creating the file. Is there any way to avoid this, or > do I need to give my user write permission on the parent directory? > > JW >
This is somewhat limiting to set directory to writable from 755 for instance to 775 so user running ansible can use template to replace file especially "service" startup file in /etc/init.d. Even if my user is already using can "become" as root to write the file. -- 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/e3364c22-f8b0-4637-813a-e0deb775d91c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
