From b066f8a0d8c25b3fd9039102fb20299c3e6b0f85 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 13 Mar 2019 07:36:28 +0200 Subject: [PATCH] Do not try to start matrix-coturn.service if not enabled --- roles/matrix-coturn/tasks/init.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/matrix-coturn/tasks/init.yml b/roles/matrix-coturn/tasks/init.yml index f25b2ed7..7d19d48d 100644 --- a/roles/matrix-coturn/tasks/init.yml +++ b/roles/matrix-coturn/tasks/init.yml @@ -1,2 +1,3 @@ - set_fact: - matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-coturn'] }}" \ No newline at end of file + matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-coturn'] }}" + when: "matrix_coturn_enabled"