From 46afd44e60fc043e2d1f0bd066dcfb94fe1b11f2 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 14 May 2015 23:34:46 +0200 Subject: Add a 'root' alias to root@fripost.org. --- roles/common/tasks/mail.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles') 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 -- cgit v1.2.3