Преглед изворни кода

Fix postfix related tools install

Emmanuel Bouthenot пре 8 година
родитељ
комит
bf5149bc58
1 измењених фајлова са 2 додато и 0 уклоњено
  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: