forked from ccchb/ansible
20 lines
523 B
YAML
20 lines
523 B
YAML
---
|
|
- name: Restart Postfix
|
|
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/postfix
|
|
|
|
- name: Reload Postfix
|
|
command: s6-svc -h {{ s6_scan_dir }}/postfix
|
|
|
|
- name: Rebuild mlmmj virtual aliases
|
|
command: postmap hash:/usr/local/etc/postfix/virtual_mlmmj
|
|
|
|
- name: Rebuild mlmmj transport map
|
|
command: postmap hash:/usr/local/etc/postfix/transport_mlmmj
|
|
|
|
- name: Reload s6-rc
|
|
service:
|
|
name: s6-rc
|
|
state: reloaded
|
|
|
|
- name: Restart mlmmj-maintd
|
|
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/mlmmj-maintd
|