Does anyone know of a way to compare a file that resides on two separate hosts before and/or after a deployment? Meaning, I want to compare foo.conf on host1 against foo.conf on host2. If there are disparities, then list them in an output file.
I've read about a number of ways to potentially approach this (using diff command, shell module, stat module with get_checksum param, check mode, etc.). But none of them have given exactly what I need yet. Thanks for any advice. -- 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/03c73509-bc37-4260-b46a-30edb211949a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
