You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
825 B
21 lines
825 B
4 years ago
|
---
|
||
|
|
||
|
- name: Ensure AUX directories are created
|
||
2 years ago
|
ansible.builtin.file:
|
||
4 years ago
|
dest: "{{ item.dest }}"
|
||
|
state: directory
|
||
2 years ago
|
owner: "{{ item.owner | default(matrix_user_username) }}"
|
||
|
group: "{{ item.group | default(matrix_user_groupname) }}"
|
||
|
mode: "{{ item.mode | default(matrix_aux_directory_default_mode) }}"
|
||
4 years ago
|
with_items: "{{ matrix_aux_directory_definitions }}"
|
||
|
|
||
|
- name: Ensure AUX files are created
|
||
2 years ago
|
ansible.builtin.copy:
|
||
2 years ago
|
src: "{{ item.src if 'src' in item else omit }}"
|
||
|
content: "{{ item.content if 'content' in item else omit }}"
|
||
4 years ago
|
dest: "{{ item.dest }}"
|
||
2 years ago
|
owner: "{{ item.owner | default(matrix_user_username) }}"
|
||
|
group: "{{ item.group | default(matrix_user_groupname) }}"
|
||
|
mode: "{{ item.mode | default(matrix_aux_file_default_mode) }}"
|
||
4 years ago
|
with_items: "{{ matrix_aux_file_definitions }}"
|