mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-22 21:23:23 +02:00
16 lines
299 B
YAML
16 lines
299 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
|
|
|
|
...
|