https://github.com/claranet/ansible-role-acl
Install acl package and setup access
https://github.com/claranet/ansible-role-acl
acl ansible claranet role
Last synced: 3 months ago
JSON representation
Install acl package and setup access
- Host: GitHub
- URL: https://github.com/claranet/ansible-role-acl
- Owner: claranet
- License: mpl-2.0
- Created: 2023-09-05T11:15:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-04T10:47:29.000Z (11 months ago)
- Last Synced: 2024-12-31T11:34:09.738Z (5 months ago)
- Topics: acl, ansible, claranet, role
- Language: Jinja
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role - acl
[](https://www.claranet.fr/)
[](LICENSE)
[](https://github.com/claranet/ansible-role-acl/releases)
[](https://github.com/claranet/ansible-role-acl/actions?query=workflow%3A%22Ansible+Molecule%22)
[](https://github.com/ansible/ansible)
[](https://galaxy.ansible.com/claranet/acl)> :star: Star us on GitHub — it motivates us a lot!
Install acl packages and setup access
## :warning: Requirements
Ansible >= 2.10
## :zap: Installation
```bash
ansible-galaxy install claranet.acl
```## :gear: Role variables
Variable Default value Description
acl_config
```yaml
- path: /etc/foo.conf
default: false # can be omit
entity: "root"
etype: "user"
follow: true # can be omit
permissions: "rwx"
state: query
recursive: false # can be omit
```acl to set
## :arrows_counterclockwise: Dependencies
N/A
## :pencil2: Example Playbook
```yaml
---
- hosts: all
roles:
- claranet.acl
vars:
acl_config:
- name: /etc/acl_directory
entity: user01
etype: user
permissions: "rw"
state: present
```## :closed_lock_with_key: [Hardening](HARDENING.md)
## :heart_eyes_cat: [Contributing](CONTRIBUTING.md)
## :copyright: [License](LICENSE)
[Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/)