Hi all,
I'm concerned that I'll deploy configuration files with the copy action, and
later on manually edit the files on the server[0] and forget about copying
the changes to the source file in mercurial. Next time I run my ansible
playbook those changes will silently be overwritten.
I know about the backup option. While it saves me from data loss, it is silent,
and wont fail the playbook execution.
So, what I'd like is a way to have the copy action fail when the remote file
(dst) exists but differ from the local file (src). Is that possible?
[0] Old habits die hard.