forked from thunix/ansible
Adding post-renewal hook for LE
This commit is contained in:
parent
497eb8dcd1
commit
7ab4b7f928
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
/bin/systemctl restart postfix
|
||||
/bin/systemctl restart dovecot
|
|
@ -10,3 +10,4 @@
|
|||
- include: manpage.yml
|
||||
- include: monitoring.yml
|
||||
- include: scripts.yml
|
||||
- include: postfix.yml
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue