From d6867fa791c91f5a0eccad548878bd861cc02b15 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 10 Feb 2020 14:45:50 -0500 Subject: [PATCH] Fixing ansible certbot renew. --- ansible/lemmy.yml | 2 +- ansible/lemmy_dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/lemmy.yml b/ansible/lemmy.yml index 87f71699d..c415abef5 100644 --- a/ansible/lemmy.yml +++ b/ansible/lemmy.yml @@ -63,4 +63,4 @@ special_time=daily name=certbot-renew-lemmy user=root - job="certbot certonly --nginx -d '{{ domain }}' --deploy-hook 'docker-compose -f /peertube/docker-compose.yml exec nginx nginx -s reload'" + job="certbot certonly --nginx -d '{{ domain }}' --deploy-hook 'nginx -s reload'" diff --git a/ansible/lemmy_dev.yml b/ansible/lemmy_dev.yml index c15569faf..c150714ca 100644 --- a/ansible/lemmy_dev.yml +++ b/ansible/lemmy_dev.yml @@ -97,4 +97,4 @@ special_time=daily name=certbot-renew-lemmy user=root - job="certbot certonly --nginx -d '{{ domain }}' --deploy-hook 'docker-compose -f /peertube/docker-compose.yml exec nginx nginx -s reload'" + job="certbot certonly --nginx -d '{{ domain }}' --deploy-hook 'nginx -s reload'"