Explorar o código

Fix postfix related tools install

Emmanuel Bouthenot %!s(int64=8) %!d(string=hai) anos
pai
achega
bf5149bc58
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      roles/common/tasks/smtp.yml

+ 2 - 0
roles/common/tasks/smtp.yml

@@ -8,6 +8,7 @@
     - 'ca-certificates'
     - 'procmail'
     - 'libsasl2-modules'
+  when: with_postfix
 
 - name: 'Install mail aliases file'
   template:
@@ -29,6 +30,7 @@
     mode: '0644'
   notify:
     - 'Reload postfix'
+  when: with_postfix
 
 - name: 'Update postfix master config for slowsmtp transport'
   blockinfile: