task from acl module running every time

72 views
Skip to first unread message

Hernandes Sousa

unread,
Mar 5, 2014, 1:46:09 PM3/5/14
to ansible...@googlegroups.com
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

Brian Coca

unread,
Mar 6, 2014, 11:01:46 AM3/6/14
to ansible...@googlegroups.com
it is probably not detecting changes correctly, I take a look at this after work.

Brian Coca

unread,
Mar 11, 2014, 8:06:50 PM3/11/14
to ansible...@googlegroups.com
sorry it took so long to look at this, but confirming it. 

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

Michael DeHaan

unread,
Mar 11, 2014, 8:15:29 PM3/11/14
to ansible...@googlegroups.com
Brian or Hernades,

Can you please make sure there is a ticket filed on github.com/ansible/ansible?

Thanks!



On Tue, Mar 11, 2014 at 8:06 PM, Brian Coca <bria...@gmail.com> wrote:
sorry it took so long to look at this, but confirming it. 

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

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADn%2BHsyf%3Dd8bAsHL%2BFj1ytWkZT7T3O6w13gcHe76%3DDK%3DNO5dfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Brian Coca

unread,
Mar 15, 2014, 1:14:42 AM3/15/14
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages