Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819202122232425262728293031
  1. - name: Install dspam and related packages
  2. apt: pkg={{ item }} state=installed
  3. with_items:
  4. - dspam
  5. - dovecot-antispam
  6. - postfix-pcre
  7. - dovecot-sieve
  8. - name: Create dspam directory
  9. file: state=directory path=/decrypted/dspam group=dspam owner=dspam
  10. - name: Put dspam configuration files in place
  11. copy: src=etc_dspam_{{ item }} dest=/etc/dspam/{{ item }} owner=dspam group=dspam
  12. with_items:
  13. - default.prefs
  14. - dspam.conf
  15. notify:
  16. - restart postfix
  17. - restart dovecot
  18. - name: Put dspam postfix configuration in place
  19. copy: src=etc_postfix_dspam_filter_access dest=/etc/postfix/dspam_filter_access owner=root group=root
  20. notify: restart postfix
  21. - name: Put dspam dovecot configuration in place
  22. copy: src=etc_dovecot_conf.d_{{ item }} dest=/etc/dovecot/conf.d/{{ item }} owner=vmail group=dovecot
  23. with_items:
  24. - 20-imap.conf
  25. - 90-plugin.conf
  26. notify: restart dovecot