Commit 40e67900 authored by Mattia Rizzolo's avatar Mattia Rizzolo

postfix: add the aliases table

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 82ff16a3
---
- name: newaliases
command: newaliases
- name: hash
command: postmap hash:/etc/postfix/{{ item }}
with_items: "{{ hash_tables }}"
......
......@@ -23,6 +23,12 @@
- restart postfix
with_items: "{{ hash_tables }}"
- name: Install the aliases file
template:
src: aliases
dest: /etc/aliases
notify: newaliases
- name: Remove old files
file: path=/etc/postfix/{{ item }} state=absent
with_items:
......
#
# {{ ansible_managed }}
#
root: root@ubuntu-it.org
# rfc2142:
abuse: root
noc: root
security: root
postmaster: root
hostmaster: root
webmaster: root
www: root
ftp: root
info: root
usenet: root
news: root
# other local accounts
www-data: root
ubuntu-it: root
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment