xoxys.ucs/tasks/filesystem.yml
Robert Kaussow 46ab508260
All checks were successful
continuous-integration/drone/push Build is passing
remove old loop syntax
2019-08-27 08:25:49 +02:00

16 lines
438 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') }}"
default: "{{ item.default | default('no') }}"
loop: "{{ ucs_filesystem_acl }}"
loop_control:
label: "{{ item.path }}"
become: True
become_user: root