acl
Collection: posix
Full Name: parallax.posix.acl
Aliases: ansible.posix.acl, acl
Synopsis
Manage acl
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| path | string | yes | The full path of the file or object | |
| entity | string | The actual user or group that the ACL applies to (e.g. joe, wheel) | ||
| etype | string | The entity type of the ACL to apply Choices: user, group, mask, other | ||
| permissions | string | The permissions to apply/remove (e.g. rw, rwx, r) | ||
| state | string | query | Define whether the ACL should be present or absent, or query the current ACLs Choices: query, present, absent | |
| default | bool | false | If the target is a directory, setting this to true will make it a default ACL for new files/dirs | |
| recursive | bool | false | Recursively set the specified ACL on the directory tree | |
| recalc_mask | bool | true | Whether to recalculate the effective rights mask | |
| follow | bool | true | Whether to follow symlinks on the path | |
| use_nfsv4_acls | bool | false | Use NFSv4 ACLs instead of POSIX ACLs |
Example
- name: Example acl task
acl:
path: <your_path>