diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:04:22 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:43:36 +0100 |
commit | 2495327985da791891b579bd05b3cda1f41dfda7 (patch) | |
tree | 4a48fbc071739ec5b38f3bda049fa984cb795498 /roles/common/tasks/mail.yml | |
parent | 203c3ca3d0b3d053827e6ced01cdde85eb0871c5 (diff) |
Upgrade baseline to Debian Stretch.
Diffstat (limited to 'roles/common/tasks/mail.yml')
-rw-r--r-- | roles/common/tasks/mail.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml index 1877f21..7692c28 100644 --- a/roles/common/tasks/mail.yml +++ b/roles/common/tasks/mail.yml @@ -1,25 +1,25 @@ - name: Install Postfix apt: pkg={{ item }} with_items: # That one is nicer than GNU mailutils' mailx(1) - - heirloom-mailx + - s-nail - postfix - postfix-cdb - name: Create Postfix instances postmulti: instance={{ postfix_instance[item].name }} group={{ postfix_instance[item].group | default('') }} register: r1 with_items: "{{ postfix_instance.keys() | intersect(group_names) | list }}" notify: - Restart Postfix - name: Link the dynamic maps of each children to the master's # main.cf and master.cf are specialized to each dedicated role, though file: src=../postfix/dynamicmaps.cf dest=/etc/postfix-{{ postfix_instance[item].name }}/dynamicmaps.cf owner=root group=root state=link force=yes register: r2 with_items: "{{ postfix_instance.keys() | intersect(group_names) | list }}" notify: |