2018-11-20 22:33:24 +00:00
|
|
|
---
|
|
|
|
- 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') }}"
|
2018-11-26 20:25:36 +00:00
|
|
|
default: "{{ item.default | default('no') }}"
|
2019-08-27 06:25:49 +00:00
|
|
|
loop: "{{ ucs_filesystem_acl }}"
|
2018-11-20 22:41:03 +00:00
|
|
|
loop_control:
|
|
|
|
label: "{{ item.path }}"
|
2018-11-20 22:37:37 +00:00
|
|
|
become: True
|
|
|
|
become_user: root
|