2021-01-11 22:15:13 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure AUX directories are created
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.file:
|
2021-01-11 22:15:13 +02:00
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
state: directory
|
2022-07-18 10:22:05 +02: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 22:15:13 +02:00
|
|
|
with_items: "{{ matrix_aux_directory_definitions }}"
|
|
|
|
|
|
|
|
- name: Ensure AUX files are created
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.copy:
|
2022-10-20 15:05:55 +02:00
|
|
|
src: "{{ item.src if 'src' in item else omit }}"
|
|
|
|
content: "{{ item.content if 'content' in item else omit }}"
|
2021-01-11 22:15:13 +02:00
|
|
|
dest: "{{ item.dest }}"
|
2022-07-18 10:22:05 +02: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 22:15:13 +02:00
|
|
|
with_items: "{{ matrix_aux_file_definitions }}"
|