diff --git a/ansible/roles/common_deb/tasks/main.yml b/ansible/roles/common_deb/tasks/main.yml
index 9112e7b0331017056b0ff2350fc20c48a9a4b9dd..e9d8a20c4b6852fe88bae67020229b9fc05ffc28 100644
--- a/ansible/roles/common_deb/tasks/main.yml
+++ b/ansible/roles/common_deb/tasks/main.yml
@@ -139,20 +139,20 @@
         - restart dhcpcd
   when: dhcpcd
 
-- name: '{{"Install" if postfix or mail_relay is None else "Remove"}} postfix'
+- name: '{{"Install" if postfix or mail_relay is none else "Remove"}} postfix'
   apt:
     pkg:
       - postfix
-    state: '{{"present" if postfix or mail_relay is None else "absent"}}'
+    state: '{{"present" if postfix or mail_relay is none else "absent"}}'
   notify:
     - test mail
 
-- name: '{{"Remove" if postfix or mail_relay is None else "Install"}} MSMTP'
+- name: '{{"Remove" if postfix or mail_relay is none else "Install"}} MSMTP'
   apt:
     pkg:
       - msmtp
       - msmtp-mta
-    state: '{{"absent" if postfix or mail_relay is None else "present"}}'
+    state: '{{"absent" if postfix or mail_relay is none else "present"}}'
   notify:
     - test mail