[Postfix] Creates letsencrypt renewal hook directory.

certbot_on_virtu
_pollion 2020-05-17 14:15:05 +02:00
parent eac1d0b7e0
commit d34bb5b68b
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@
notify:
- generate postmaps
- name: Make sure let's encrypt renewal-hooks exists
file:
path: /etc/letsencrypt/renewal-hooks/deploy
state: directory
when: not ansible_check_mode
- name: Reload postfix after certificate renewal
template:
src: letsencrypt/renewal-hooks/deploy/reload-postfix.sh.j2