Skip to content

Commit 47a3372

Browse files
committed
Only create docker-src directory for matrix-registration-bot when self building is enabled
1 parent cea437c commit 47a3372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
with_items:
1111
- {path: "{{ matrix_bot_matrix_registration_bot_config_path }}", when: true}
1212
- {path: "{{ matrix_bot_matrix_registration_bot_data_path }}", when: true}
13-
- {path: "{{ matrix_bot_matrix_registration_bot_docker_src_files_path }}", when: true}
13+
- {path: "{{ matrix_bot_matrix_registration_bot_docker_src_files_path }}", when: "{{ matrix_bot_matrix_registration_bot_container_image_self_build }}"}
1414
when: "item.when | bool"
1515

1616
- name: Ensure matrix-registration-bot configuration file created

0 commit comments

Comments
 (0)