浏览代码

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: