mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 13:40:17 +00:00
Adding post-renewal hook for LE
This commit is contained in:
@@ -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
|
||||
|
||||
9
roles/common/tasks/postfix.yml
Normal file
9
roles/common/tasks/postfix.yml
Normal 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
|
||||
Reference in New Issue
Block a user