This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-warehost/mailserver/tasks/install_debian.yml

24 lines
392 B
YAML

---
- name: Install dependencies
apt: name={{item}} state=present
with_items:
- postfix
- dovecot-imapd
- dovecot-pop3d
- dovecot-pgsql
- dovecot-managesieved
- dovecot-sieve
- spamassassin
- procmail
notify:
- restart postfix
- restart dovecot
- name: Create aliases
file: path=/etc/postfix/{{item}} state=touch
with_items:
- aliases
- transport