# Issue with Ansible 1.4.1 using --check and --diff together with the "template" module

**URL:** <https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303>\
**Category:** Ansible Project\
**Created:** [January 9, 2014, 7:18pm UTC](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303 "2014-01-09T19:18:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Garren](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Matt\_Garren](https://forum.ansible.com/u/Matt_Garren)\
**Post date:** [January 9, 2014, 7:18pm UTC](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303/1 "2014-01-09T19:18:20Z")

</div>

Just noticed an issue with ansible 1.4.1 trying to deploy a networking configuration for dhcp. Will paste configs below with hostnames changed:

**Playbook:**

#playbook.yml

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [January 10, 2014, 12:16am UTC](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303/2 "2014-01-10T00:16:41Z")

</div>

It’s not even that they are switched so much that the _after_ value should still be the same filename, as it’s a before and after at the same point in time.

This is definitely a bug.

If you’re seeing this on 1.4.X or later, please file a ticket on github so we can fix the before and after captions.

---

<div class="post-metadata">

**Author:** ![Matt\_Garren](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Matt\_Garren](https://forum.ansible.com/u/Matt_Garren)\
**Post date:** [January 10, 2014, 2:13pm UTC](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303/3 "2014-01-10T14:13:23Z")

</div>

Thank you! Filed as issue Issue **#5575** on GitHub.

Matt
