From 697f86d06f834fbdc828bba32f727f002c5d75f8 Mon Sep 17 00:00:00 2001 From: Horvath Gergely Date: Wed, 19 Feb 2020 22:26:43 +0100 Subject: [PATCH] minor fix --- roles/matrix-coturn/tasks/setup_coturn.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/matrix-coturn/tasks/setup_coturn.yml b/roles/matrix-coturn/tasks/setup_coturn.yml index 9cbf6f033..bdd7d774f 100644 --- a/roles/matrix-coturn/tasks/setup_coturn.yml +++ b/roles/matrix-coturn/tasks/setup_coturn.yml @@ -18,7 +18,7 @@ dest: "{{ matrix_docker_coturn_src_files_path }}" version: "{{ matrix_coturn_docker_image.split(':')[1] }}" force: "yes" - when: "matrix_raspberry_pi" + when: "matrix_coturn_enabled|bool and matrix_raspberry_pi" - name: Ensure Coturn Docker image is build (Raspberry pi) docker_image: @@ -28,7 +28,7 @@ dockerfile: Dockerfile path: "{{ matrix_docker_coturn_src_files_path }}" pull: yes - when: "matrix_raspberry_pi" + when: "matrix_coturn_enabled|bool and matrix_raspberry_pi" - name: Ensure Coturn configuration path exists file: