diff options
author | clarkzjw <[email protected]> | 2023-02-08 00:40:09 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-08 00:40:09 -0800 |
commit | 1204730924436ef9e1c7c49c9557837f9a5ed0e8 (patch) | |
tree | 129d79dfd11245751cee6d4082ff5d2f6e941610 /ansible/roles/postfix/handlers/main.yml | |
parent | 9635ac4dedf69de5bff65785bcc16bef80b52d75 (diff) | |
download | mail-master.tar.gz |
Diffstat (limited to 'ansible/roles/postfix/handlers/main.yml')
-rw-r--r-- | ansible/roles/postfix/handlers/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/roles/postfix/handlers/main.yml b/ansible/roles/postfix/handlers/main.yml new file mode 100644 index 0000000..aa41be4 --- /dev/null +++ b/ansible/roles/postfix/handlers/main.yml | |||
@@ -0,0 +1,13 @@ | |||
1 | --- | ||
2 | - name: restart postfix | ||
3 | service: | ||
4 | name: postfix | ||
5 | state: restarted | ||
6 | |||
7 | - name: reload postfix | ||
8 | service: | ||
9 | name: postfix | ||
10 | state: reloaded | ||
11 | |||
12 | - name: rehash postfix aliases | ||
13 | command: /etc/postfix/remap.sh | ||