From 5337f1fb439984c383670a174dab2de2d9bd9e6c Mon Sep 17 00:00:00 2001 From: Markus <48181660+BackInBash@users.noreply.github.com> Date: Mon, 18 Apr 2022 15:25:43 +0200 Subject: [PATCH] i hate yml --- .../tasks/synapse/setup_install.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/roles/matrix-synapse/tasks/synapse/setup_install.yml b/roles/matrix-synapse/tasks/synapse/setup_install.yml index 8571435d8..a2d1507e1 100644 --- a/roles/matrix-synapse/tasks/synapse/setup_install.yml +++ b/roles/matrix-synapse/tasks/synapse/setup_install.yml @@ -33,17 +33,19 @@ command: "{{ matrix_host_command_docker }} images --quiet --filter 'reference={{ matrix_synapse_docker_image }}'" register: matrix_synapse_docker_image_check_result - # Invoking the `docker build` command here, instead of calling the `docker_image` Ansible module, - # because the latter does not support BuildKit. - # See: https://github.com/ansible-collections/community.general/issues/514 - - name: Ensure Synapse Docker image is built - # Adding the Installcommand for https://github.com/matrix-org/synapse-s3-storage-provider - # to the Dockerfile https://github.com/matrix-org/synapse-s3-storage-provider/issues/14#issuecomment-847146994 + # Adding the Installcommand for https://github.com/matrix-org/synapse-s3-storage-provider + # to the Dockerfile https://github.com/matrix-org/synapse-s3-storage-provider/issues/14#issuecomment-847146994 + - name: Adding the S3 Install Command lineinfile: path: "{{ matrix_synapse_docker_src_files_path }}/docker/Dockerfile" line: RUN pip install --prefix="/install" --no-deps --no-warn-script-location synapse-s3-storage-provider insertafter: /synapse.* - when: "matrix_synapse_s3_media_store_enabled|bool" + when: "matrix_synapse_s3_media_store_enabled|bool" + + # Invoking the `docker build` command here, instead of calling the `docker_image` Ansible module, + # because the latter does not support BuildKit. + # See: https://github.com/ansible-collections/community.general/issues/514 + - name: Ensure Synapse Docker image is built shell: chdir: "{{ matrix_synapse_docker_src_files_path }}" cmd: |