mirror of
https://github.com/de-it-krachten/ansible-role-acl
synced 2026-05-14 11:41:40 +00:00
No description
- Jinja 100%
# [1.8.0](https://github.com/de-it-krachten/ansible-role-acl/compare/v1.7.0...v1.8.0) (2026-03-15) ### Features * Drop support for openSUSE Leap 15 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-acl
Manages POSIX ACL on supported systems
Dependencies
Roles
None
Collections
- ansible.posix
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 8
- RockyLinux 9
- RockyLinux 10
- OracleLinux 8
- OracleLinux 9
- OracleLinux 10
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Fedora 42
- Fedora 43
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# package needed to make (NFSv4) ACLs work
acl_packages:
- acl
- nfs4-acl-tools
# User / group to change paths to
acl_default_user: ''
acl_default_group: ''
# Use NFSv4 over POSIX ACLS
acl_use_nfsv4: false
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'acl' pre playbook
ansible.builtin.import_playbook: converge-pre.yml
when: molecule_converge_pre is undefined or molecule_converge_pre | bool
- name: sample playbook for role 'acl'
hosts: all
become: 'yes'
vars:
molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
acl_list:
- path: /srv/shares/share1/group1
group: group1
perms: rwx
- path: /srv/shares/share1/group1
group: group2
perms: r-x
- path: /srv/shares/share1/group1
group: group3
perms: '---'
- path: /srv/shares/share1/group2
group: group2
perms: rwx
- path: /srv/shares/share1/group2
group: group1
perms: r-x
tasks:
- name: Include role 'acl'
ansible.builtin.include_role:
name: acl