From d074c09e8e86f00de78f0bea6442197f597b437b Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Wed, 1 Apr 2020 22:18:34 +0200
Subject: [PATCH] postfix: start srs only when enabled

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

diff --git a/postfix/tasks/srs.yml b/postfix/tasks/srs.yml
index 205da86..5d25fc4 100644
--- a/postfix/tasks/srs.yml
+++ b/postfix/tasks/srs.yml
@@ -30,3 +30,4 @@
     name: postsrsd
     enabled: "{{ postfix_enable_srs|string }}"
     state: "{{ 'started' if postfix_enable_srs else 'stopped' }}"
+  when: postfix_enable_srs
-- 
GitLab