diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-12 14:28:47 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-12 14:28:47 +0100 |
commit | ca315bf9c292d4757b67a86117e3182c1b0dd680 (patch) | |
tree | 57923818c4e974b2d7f8e16be14ef3d8612b855f /roles/mailman/handlers | |
parent | d9e874ece0c162fcba01553fbea0a8b2fd86d249 (diff) |
Import postfix/mailman from rad
Diffstat (limited to 'roles/mailman/handlers')
-rw-r--r-- | roles/mailman/handlers/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/mailman/handlers/main.yml b/roles/mailman/handlers/main.yml new file mode 100644 index 0000000..2995857 --- /dev/null +++ b/roles/mailman/handlers/main.yml @@ -0,0 +1,9 @@ +--- +- name: restart mailman + service: name=mailman state=restarted + +- name: update mailman aliases + command: postalias {{ item }} + with_items: + - /etc/postfix/aliases.mailman + - /etc/postfix/aliases.mailman_default |