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?