summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/mail.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml
index 56a012e..1873928 100644
--- a/roles/common/tasks/mail.yml
+++ b/roles/common/tasks/mail.yml
@@ -76,6 +76,11 @@
tags:
- genkey
+- name: Add a 'root' alias
+ lineinfile: dest=/etc/aliases create=yes
+ regexp="^root:"" "
+ line="root:"" root@fripost.org"
+
- name: Compile the static local Postfix database
postmap: cmd=postalias src=/etc/aliases db=cdb
owner=root group=root