From f3e100d5be75c2261c510ae513e58cf22eb52fb5 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Mon, 15 Mar 2021 14:20:35 +0100
Subject: [PATCH] postfix: add debian version safeguard compat on testing

---
 postfix/templates/master.cf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postfix/templates/master.cf.j2 b/postfix/templates/master.cf.j2
index 38e4c54..7d27464 100644
--- a/postfix/templates/master.cf.j2
+++ b/postfix/templates/master.cf.j2
@@ -79,7 +79,7 @@ virtual   unix  -       n       n       -       -       virtual
 lmtp      unix  -       -       y       -       -       lmtp
 anvil     unix  -       -       y       -       1       anvil
 scache    unix  -       -       y       -       1       scache
-{% if ansible_distribution_major_version|int >= 10 %}
+{% if ansible_distribution_major_version|int(default=99) >= 10 %}
 postlog   unix-dgram n  -       n       -       1       postlogd
 {% endif %}
 
-- 
GitLab