]> git.somenet.org - root/pub/somesible.git/blob - roles/server/mail/postfix/handlers/main.yml
roles/server/nginx/vhost-unified
[root/pub/somesible.git] / roles / server / mail / postfix / handlers / main.yml
1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
6 #
7 ---
8 - name: restart postfix.service
9   systemd:
10     name: postfix.service
11     daemon_reload: yes
12     state: restarted
13   ignore_errors: yes
14
15
16 - name: reload postfix.service
17   systemd:
18     name: postfix.service
19     daemon_reload: yes
20     state: restarted
21   ignore_errors: yes
22
23
24 - name: rehash postfix maps
25   shell: postmap /etc/postfix/*.map
26   ignore_errors: yes