2021-01-11 21:15:13 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure AUX directories are created
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.file:
|
2021-01-11 21:15:13 +01: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 21:15:13 +01:00
|
|
|
with_items: "{{ matrix_aux_directory_definitions }}"
|
|
|
|
|
|
|
|
- name: Ensure AUX files are created
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.copy:
|
2021-01-11 21:15:13 +01:00
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
content: "{{ item.content }}"
|
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 21:15:13 +01:00
|
|
|
with_items: "{{ matrix_aux_file_definitions }}"
|