From 2d4e19326d504c4b999fe1fe093c1fc9a6488343 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 25 Aug 2019 10:44:01 +0300 Subject: [PATCH] Add missing when statement --- roles/matrix-riot-web/tasks/setup_riot_web.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/matrix-riot-web/tasks/setup_riot_web.yml b/roles/matrix-riot-web/tasks/setup_riot_web.yml index dcb3b5e7..a3e1048f 100644 --- a/roles/matrix-riot-web/tasks/setup_riot_web.yml +++ b/roles/matrix-riot-web/tasks/setup_riot_web.yml @@ -28,6 +28,7 @@ mode: 0644 owner: "{{ matrix_user_username }}" group: "{{ matrix_user_username }}" + when: matrix_riot_web_enabled|bool - name: Ensure Matrix riot-web config files installed template: