From 4d1a8ab851fad7e0889acb8367d6b9538d021ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexander=20K=C3=A4b?= <alexander.kaeb@h-da.de>
Date: Wed, 17 Jan 2024 12:00:23 +0100
Subject: [PATCH] fix(dns): renew-hook flag should not be present on request
 cert

---
 .gitignore              | 2 +-
 tasks/dns-challenge.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 4aaf891..35bd68b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
 ### VisualStudioCode template
 .vscode/*
-!.vscode/settings.json
+# !.vscode/settings.json
 !.vscode/tasks.json
 !.vscode/launch.json
 !.vscode/extensions.json
diff --git a/tasks/dns-challenge.yml b/tasks/dns-challenge.yml
index 81f0867..15b94bb 100644
--- a/tasks/dns-challenge.yml
+++ b/tasks/dns-challenge.yml
@@ -54,7 +54,7 @@
         lego -a --dns {{ certbot_dns_provider }}
         --email {{ certbot_admin_email }} -d {{ lego_dflag }}
         --path {{ certbot_live_dir }}
-        run --no-bundle --renew-hook /etc/letsencrypt/renewal-hooks/deploy/create-fullchain.sh
+        run --no-bundle
       environment: "{{ dns_provider_auth_env_variables }}"
       register: lego
       changed_when: lego.rc == 0
-- 
GitLab