Update to 2021-09-29 18:00

master
Daniel Berteaud 3 years ago
parent be90bd61ee
commit 5c4dfb5d2e
  1. 6
      roles/common/tasks/mail.yml

@ -1,11 +1,15 @@
---
- when: system_admin_email is defined
block:
- name: Install postfix
package: name=postfix
- name: Configure root email forward
lineinfile:
dest: /etc/aliases
regexp: "^root:.*"
line: "root: {{ system_admin_email }}"
notify: newaliases
when: system_admin_email is defined
...

Loading…
Cancel
Save