Commit 777de469 authored by Mattia Rizzolo's avatar Mattia Rizzolo

postfix: add ssl-keys reload hook

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 40e67900
......@@ -36,3 +36,11 @@
- access.db
- generic
- generic.db
- name: Add an hook to reload postfix when there are new ssl keys
template:
src: reload-postfix
dest: "{{ ssl_home }}/hooks"
mode: 0755
owner: root
group: ssl-cert
#
# {{ ansible_managed }}
#
if [ "$1" = "$(hostname -f)" ]; then
sudo service postfix reload
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment