Update to 2021-09-29 18:00

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

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

Loading…
Cancel
Save