16 lines
432 B
YAML
16 lines
432 B
YAML
---
|
|
- name: Set acl for shares
|
|
acl:
|
|
path: "{{ item.path }}"
|
|
entity: "{{ item.entity }}"
|
|
etype: "{{ item.etype }}"
|
|
permissions: "{{ item.permissions }}"
|
|
state: "{{ item.state | default('query') }}"
|
|
recursive: "{{ item.recursive | default('no') }}"
|
|
with_items: "{{ ucs_filesystem_acl }}"
|
|
loop_control:
|
|
label: "{{ item.path }}"
|
|
when: ucs_filesystem_acl is defined
|
|
become: True
|
|
become_user: root
|