How does Ansible determine that a file has changed ?
32 views
Skip to first unread message
Micky Kerai
unread,
Jan 13, 2015, 8:18:11 PM1/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi,
A rather basic query. How does Ansible determine that a file has changed on the target ? The copy module's 'force' option documentations reads as follows :-
"default is yes, which will replace the remote file when contents are different than the source"
How does Ansible determine that the file contents are different ?
_Micky
Brian Coca
unread,
Jan 14, 2015, 7:37:35 AM1/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
ansible does a checksum on the files, if it does not match the files
are different.