2021-01-11 20:15:13 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure AUX directories are created
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.file:
|
2021-01-11 20:15:13 +00:00
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
state: directory
|
|
|
|
owner: "{{ item.owner|default(matrix_user_username) }}"
|
|
|
|
group: "{{ item.group|default(matrix_user_groupname) }}"
|
|
|
|
mode: "{{ item.mode|default(matrix_aux_directory_default_mode) }}"
|
|
|
|
with_items: "{{ matrix_aux_directory_definitions }}"
|
|
|
|
|
|
|
|
- name: Ensure AUX files are created
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.copy:
|
2021-01-11 20:15:13 +00:00
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
content: "{{ item.content }}"
|
|
|
|
owner: "{{ item.owner|default(matrix_user_username) }}"
|
|
|
|
group: "{{ item.group|default(matrix_user_groupname) }}"
|
|
|
|
mode: "{{ item.mode|default(matrix_aux_file_default_mode) }}"
|
|
|
|
with_items: "{{ matrix_aux_file_definitions }}"
|