# task from acl module running every time

**URL:** <https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711>\
**Category:** Ansible Project\
**Created:** [March 5, 2014, 6:46pm UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711 "2014-03-05T18:46:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hernandes\_Sousa](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@Hernandes\_Sousa](https://forum.ansible.com/u/Hernandes_Sousa)\
**Post date:** [March 5, 2014, 6:46pm UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711/1 "2014-03-05T18:46:09Z")

</div>

This task is being marked as changed every time the playbook is run:

- name: Setting Acls  
acl: name=/mnt/www entity=www-data  
etype=group permissions=rwx default=yes state=present  
notify: Sync webroot

I have tried removing the notify to see if this wasn’t triggering anything else but that doesn’t make any difference.

Nothing gets changed beside from this one. What could be happening?

I’m running Ansible 1.5

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [March 6, 2014, 4:01pm UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711/2 "2014-03-06T16:01:46Z")

</div>

it is probably not detecting changes correctly, I take a look at this after work.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [March 12, 2014, 12:06am UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711/3 "2014-03-12T00:06:50Z")

</div>

sorry it took so long to look at this, but confirming it.

its a bug, the comparison is not correctly detecting ‘default’ cases.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [March 12, 2014, 12:15am UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711/4 "2014-03-12T00:15:29Z")

</div>

Brian or Hernades,

Can you please make sure there is a ticket filed on [github.com/ansible/ansible](http://github.com/ansible/ansible)?

Thanks!

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [March 15, 2014, 5:14am UTC](https://forum.ansible.com/t/task-from-acl-module-running-every-time/14711/5 "2014-03-15T05:14:42Z")

</div>

[https://github.com/ansible/ansible/pull/6501](https://github.com/ansible/ansible/pull/6501)
