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
|
2022-07-18 08:22:05 +00:00
|
|
|
owner: "{{ item.owner | default(matrix_user_username) }}"
|
|
|
|
group: "{{ item.group | default(matrix_user_groupname) }}"
|
|
|
|
mode: "{{ item.mode | default(matrix_aux_directory_default_mode) }}"
|
2021-01-11 20:15:13 +00:00
|
|
|
with_items: "{{ matrix_aux_directory_definitions }}"
|
|
|
|
|
|
|
|
- name: Ensure AUX files are created
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.copy:
|
2022-10-20 13:05:55 +00:00
|
|
|
src: "{{ item.src if 'src' in item else omit }}"
|
|
|
|
content: "{{ item.content if 'content' in item else omit }}"
|
2021-01-11 20:15:13 +00:00
|
|
|
dest: "{{ item.dest }}"
|
2022-07-18 08:22:05 +00:00
|
|
|
owner: "{{ item.owner | default(matrix_user_username) }}"
|
|
|
|
group: "{{ item.group | default(matrix_user_groupname) }}"
|
|
|
|
mode: "{{ item.mode | default(matrix_aux_file_default_mode) }}"
|
2021-01-11 20:15:13 +00:00
|
|
|
with_items: "{{ matrix_aux_file_definitions }}"
|