|
|
|
@@ -9,13 +9,14 @@ |
|
|
|
group: "{{ matrix_user_groupname }}" |
|
|
|
with_items: |
|
|
|
- {path: "{{ matrix_bot_matrix_registration_bot_config_path }}", when: true} |
|
|
|
- - {path: "{{ matrix_bot_matrix_registration_bot_data_path }}", when: true} |
|
|
|
- {path: "{{ matrix_bot_matrix_registration_bot_docker_src_files_path }}", when: true} |
|
|
|
when: "item.when|bool" |
|
|
|
|
|
|
|
- name: Ensure matrix-registration-bot environment variables file created |
|
|
|
- name: Ensure matrix-registration-bot configuration file created |
|
|
|
template: |
|
|
|
src: "{{ role_path }}/templates/env.j2" |
|
|
|
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/env" |
|
|
|
src: "{{ role_path }}/templates/config/config.yml.j2" |
|
|
|
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yml" |
|
|
|
owner: "{{ matrix_user_username }}" |
|
|
|
group: "{{ matrix_user_groupname }}" |
|
|
|
mode: 0640 |
|
|
|
|