From 6668f228ccd3f11eacf8ab4d5e5916c3663b1bd8 Mon Sep 17 00:00:00 2001
From: Hinrikus Wolf <mail@hinrikus-wolf.de>
Date: Sat, 28 Mar 2020 23:24:13 +0100
Subject: [PATCH] postfix: start mta-sts only when enabled

---
 postfix/tasks/mta-sts.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/postfix/tasks/mta-sts.yml b/postfix/tasks/mta-sts.yml
index 7f87546..1db5eef 100644
--- a/postfix/tasks/mta-sts.yml
+++ b/postfix/tasks/mta-sts.yml
@@ -72,3 +72,4 @@
     name: postfix-mta-sts-resolver
     enabled: "{{ postfix_enable_mta_sts|string }}"
     state: "{{ 'started' if postfix_enable_mta_sts else 'stopped' }}"
+  when: postfix_enable_mta_sts
-- 
GitLab