Adding post-renewal hook for LE

This commit is contained in:
Ubergeek 2019-11-24 00:28:56 +00:00
parent 497eb8dcd1
commit 7ab4b7f928
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
/bin/systemctl restart postfix
/bin/systemctl restart dovecot

View File

@ -10,3 +10,4 @@
- include: manpage.yml
- include: monitoring.yml
- include: scripts.yml
- include: postfix.yml

View File

@ -0,0 +1,9 @@
# This setup the letsencrypt stuff we have
---
- name: Set up post-deploy LE stuff
copy:
src: ../files/etc/letsencrypt/renewal-hooks/postfix
dest: /etc/letsencrypt/renewal-hooks/postfix
owner: root
group: root
mode: 0644