summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-01-06 10:14:40 +0200
committerLars Wirzenius <liw@liw.fi>2019-01-06 10:14:40 +0200
commit0d178d5320de29445f7dd768a7ec81cc4baf803f (patch)
tree5520f5a5531d149ac560956479633cda12324750
parent4d44563ee676dc133c68c2c3ce422df5718e1827 (diff)
downloaddebian-ansible-0d178d5320de29445f7dd768a7ec81cc4baf803f.tar.gz
Fix: restart haproxy after Let's Encrypt certifiacte is renewed
-rw-r--r--roles/haproxy/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml
index 8129482..b80f2c4 100644
--- a/roles/haproxy/tasks/main.yml
+++ b/roles/haproxy/tasks/main.yml
@@ -44,6 +44,7 @@
#!/bin/sh
cd /etc/letsencrypt/live/haproxy
cat fullchain.pem privkey.pem > /etc/ssl/haproxy.pem
+ systemctl restart haproxy
dest: /etc/cron.daily/haproxy.pem
owner: root
group: root