diff --git a/mysql/tasks/main.yml b/mysql/tasks/main.yml
index 159e76d7eb707a2e4c70335cb8b55c8764ec168b..98e9d63bcab4696851795fd6e95810135f0f9340 100644
--- a/mysql/tasks/main.yml
+++ b/mysql/tasks/main.yml
@@ -25,7 +25,7 @@
     enabled: true
 
 - name: setup mysql backups with rsnapshot
-  when: '{{ mysql_rsnapshot }}'
+  when: mysql_rsnapshot
   block:
     - name: ensure a read-only mysql user for backups exists
       mysql_user:
diff --git a/postgres/tasks/main.yml b/postgres/tasks/main.yml
index 5ef970393c451d9a0cb047a861a9329937ba89c0..868ea8465ba86b4467d0c68cd28560de9596862f 100644
--- a/postgres/tasks/main.yml
+++ b/postgres/tasks/main.yml
@@ -37,7 +37,7 @@
     enabled: true
 
 - name: configure snapshots
-  when: '{{ postgres_rsnapshot }}'
+  when: postgres_rsnapshot
   block:
     - name: ensure we have our postgres backup script
       copy: