# Playbooks and diff

**URL:** <https://forum.ansible.com/t/playbooks-and-diff/25340>\
**Category:** Ansible Project\
**Created:** [August 26, 2017, 9:13pm UTC](https://forum.ansible.com/t/playbooks-and-diff/25340 "2017-08-26T21:13:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juraj\_Papic1](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Post date:** [August 26, 2017, 9:13pm UTC](https://forum.ansible.com/t/playbooks-and-diff/25340/1 "2017-08-26T21:13:17Z")

</div>

HI all,

I have a simple playbook that only downloads configuration to a txt file, but where Im getting lost is that, when I finish the playbook I need that the txt files I download be compare against a master file, has any one done something like that?

thanks.

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [August 29, 2017, 12:45pm UTC](https://forum.ansible.com/t/playbooks-and-diff/25340/2 "2017-08-29T12:45:38Z")

</div>

You could probably use command or shell modules to run a diff between the downloaded file and the master file.
