diff options
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 |