From 1ed46f0a86e24ba1e4ce9192929abdd294bee24c Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 16 Feb 2022 09:36:33 +0200 Subject: [PATCH] Remove Jinja2 templating delimiters from when statement Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1629 Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1505 --- roles/matrix-bridge-hookshot/tasks/setup_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-bridge-hookshot/tasks/setup_install.yml b/roles/matrix-bridge-hookshot/tasks/setup_install.yml index 416db621..66a452f0 100644 --- a/roles/matrix-bridge-hookshot/tasks/setup_install.yml +++ b/roles/matrix-bridge-hookshot/tasks/setup_install.yml @@ -69,7 +69,7 @@ mode: 0400 owner: "{{ matrix_user_username }}" group: "{{ matrix_user_groupname }}" - when: "{{ matrix_hookshot_github_enabled|bool and matrix_hookshot_github_private_key|length }}" + when: matrix_hookshot_github_enabled|bool and matrix_hookshot_github_private_key|length > 0 - name: Ensure matrix-hookshot.service installed template: