I would start by looking at what user you are running Ansible as, it sounds like you need to specify sudo.
On Fri, Oct 17, 2014 at 3:41 PM, Joseph Jenkins <[email protected]> wrote: > I am trying to keep the hosts file synchronized on several ubuntu hosts > and getting: > > failed: [172.16.1.100] => {"failed": true, "item": "", "md5sum": > "cda722545bb95ca3925348b3adbe42f3"} > > msg: Destination /etc not writable > > I have tried using the copy module and the synchronize module and running > into the same issue. I can get the rsync command to work if I use the > --inplace option. Is there a way to change the default behaviour of how > Ansible runs rsync? It is using it with the delayed updates: > > cmd": "rsync --delay-updates -FF > > Can I turn that off or change 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/7467fe16-f5cd-46e4-b738-c69d0c03b190%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/7467fe16-f5cd-46e4-b738-c69d0c03b190%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxtphuuRQ-MmQKhfyu4fQDQdChkh54nuZ%3DhQmuW%2B_2qmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
