Michael Grote
7a24089031
Reviewed-on: #584 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
10 lines
284 B
YAML
10 lines
284 B
YAML
---
|
|
- name: ensure permissions are set
|
|
ansible.builtin.file:
|
|
path: "{{ item.path }}"
|
|
owner: "{{ item.owner | default(omit) }}"
|
|
group: "{{ item.group | default(omit) }}"
|
|
mode: "{{ item.mode }}"
|
|
when:
|
|
- dir_permissions is defined
|
|
loop: "{{ dir_permissions }}"
|