Ansible 1.4 and acl

Hi there,

First, congrats for the new release!

I see that the new release comes with an acl module. Great!

I however just tried using it, and I’m trying to set a default acl on a directory.
With the command line tool one would do it this way:

setfacl -m d:group:mygroup:rwx directory/

so I tried to translate that in an ansible format:

If this is an actual bug, the offender would be line 132, in library/files/acl.

-Hugues

Please report bugs on github, not the mailing list.

Include the ansible version being used and steps to reproduce the problem.

Thank you.

The module currently doesn’t support the ‘default’ option as some systems seem to have problems with it and I didn’t get enough feedback to enable detection (POSIXLY_CORRECT is only usable in systems that actually allow for the default option but disable it).

so:

  • name: Setup ACL
    acl: name=/var/www entry=“group:dev:rwx” state=present