]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/postfix/handlers/main.yml
postfix: Let debconf regenerate main.cf on changes
[AnsibleRoles.git] / roles / postfix / handlers / main.yml
index 2ba9b82d4c69c9238bf0300ca554882b7de8bd2e..2736cd7230f130ae5943024a2b0cf1fe15b829d3 100644 (file)
@@ -1,6 +1,11 @@
 ---
 # postfix handlers
 
+- name: update "postfix" configuration
+  command: dpkg-reconfigure -fnoninteractive postfix
+  notify:
+    - restart "postfix"
+
 - name: restart "postfix"
   service: >
     name=postfix