From 0234dbef9fd9358ddbe5a5d1cef396d295049f35 Mon Sep 17 00:00:00 2001
From: Agate <me@agate.blue>
Date: Thu, 23 Apr 2020 11:46:52 +0200
Subject: [PATCH] Fixed broken conditional

---
 tasks/funkwhale.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/funkwhale.yml b/tasks/funkwhale.yml
index 0754ecb..be6e36d 100644
--- a/tasks/funkwhale.yml
+++ b/tasks/funkwhale.yml
@@ -239,7 +239,7 @@
 - name: Append custom settings to production.py, if any
   become: true
   become_user: "{{ funkwhale_username }}"
-  when: "funkwhale_custom_settings|bool"
+  when: "funkwhale_custom_settings != none"
   blockinfile:
     path: "{{ funkwhale_install_path }}/api/config/settings/production.py"
     insertafter: "EOF"
-- 
GitLab