From 861957b6f1847c0573d272969bfca99aac761e28 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 23 Aug 2018 08:35:30 +0300 Subject: [PATCH] Add missing when statement --- roles/matrix-server/tasks/start.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-server/tasks/start.yml b/roles/matrix-server/tasks/start.yml index 5982ea64..0f8ff44c 100644 --- a/roles/matrix-server/tasks/start.yml +++ b/roles/matrix-server/tasks/start.yml @@ -28,7 +28,7 @@ - name: Ensure matrix-nginx-proxy autoruns and is restarted service: name=matrix-nginx-proxy enabled=yes state=restarted daemon_reload=yes - when: + when: matrix_nginx_proxy_enabled - name: Ensure matrix-corporal autoruns and is restarted service: name=matrix-corporal enabled=yes state=restarted daemon_reload=yes