No description
Find a file
Mark van Huijstee 52b7551095
Merge pull request #125 from de-it-krachten/dev
Update supported platforms & CI (2026-07-23)
2026-07-26 21:49:41 +02:00
.github/workflows Update CI 2026-07-22 22:52:41 +02:00
defaults Fix linting issues 2021-12-18 14:02:34 +01:00
meta Update CI 2026-05-23 11:31:52 +02:00
molecule/default Update CI 2026-07-25 16:09:56 +02:00
tasks fix: Change loop/label for latest ansible 2023-11-19 11:56:26 +01:00
.ansible-lint Update CI 2026-05-23 11:31:52 +02:00
.cicd Update CI 2026-06-09 10:37:18 +02:00
.cicd.overwrite Update CI 2026-03-14 19:07:40 +01:00
.collections Update CI 2024-04-10 23:27:29 +02:00
.gitignore fix: Delete unwanted '.ansible' files making 'ansible-galaxy' fail 2025-08-04 22:06:58 +02:00
.releaserc.yml Update CI 2025-11-19 13:18:52 +01:00
.roles feat: Update CI to latest standards 2022-10-07 19:04:57 +02:00
.yamllint Update CI 2024-12-29 00:33:09 +01:00
CHANGELOG.md chore(release): 1.9.0 [skip ci] 2026-07-23 17:35:01 +00:00
README.md Update CI 2026-05-23 11:31:52 +02:00

CI

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
  • Ubuntu 26.04 LTS
  • Fedora 43
  • Fedora 441

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