diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index ec3c4a1..cf3f24d 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml @@ -145,7 +145,7 @@ - { address: "jack@{{ domain_base }}", password: "{{ mailserver_jack_password }}" } when: > not postfix_accounts_file.stat.exists or - item.address not in (lookup('file', tools_root + '/mailserver/config/postfix-accounts.cf', errors='ignore') | default('')) + item.address not in (lookup('file', tools_root + '/mailserver/config/postfix-accounts.cf', errors='ignore') | default('', true)) # ── DKIM ───────────────────────────────────────────────────────────────────── - name: Check if DKIM key exists