parent
be90bd61ee
commit
5c4dfb5d2e
1 changed files with 11 additions and 7 deletions
@ -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…
Reference in new issue