mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
18 lines
321 B
YAML
18 lines
321 B
YAML
---
|
|
|
|
- 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
|
|
|
|
tags: postfix,mail
|
|
|
|
...
|