# Compare two hosts before/after copy

**URL:** <https://forum.ansible.com/t/compare-two-hosts-before-after-copy/25685>\
**Category:** Ansible Project\
**Created:** [October 5, 2017, 1:53pm UTC](https://forum.ansible.com/t/compare-two-hosts-before-after-copy/25685 "2017-10-05T13:53:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasontapp](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jasontapp](https://forum.ansible.com/u/jasontapp)\
**Post date:** [October 5, 2017, 1:53pm UTC](https://forum.ansible.com/t/compare-two-hosts-before-after-copy/25685/1 "2017-10-05T13:53:51Z")

</div>

Does anyone know of a way to compare the configuration of two separate hosts before and/or after a deployment? Meaning, I want to conduct a diff on numerous files in a pre-deployment and then post-deployment state using a playbook in order to ensure that there are no variances between the destination hosts.

Thanks for any tips.
