mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-11-06 12:05:38 +00:00
Adding post-renewal hook for LE
This commit is contained in:
1 parent
497eb8dcd1
commit
7ab4b7f928
3 files changed
+14
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
/bin/systemctl restart postfix
|
||||||
|
/bin/systemctl restart dovecot
|
||||||
@@ -10,3 +10,4 @@
|
|||||||
- include: manpage.yml
|
- include: manpage.yml
|
||||||
- include: monitoring.yml
|
- include: monitoring.yml
|
||||||
- include: scripts.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
|
||||||
Reference in new issue
Block a user