commit 6082a3ad71abb1d2786da52a2e78bccfeb2216c7
parent 09aa13640686f1ee3dfd510cef228bdd267e44c6
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 23 Feb 2021 23:16:48 +0100
parent 09aa13640686f1ee3dfd510cef228bdd267e44c6
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 23 Feb 2021 23:16:48 +0100
fix, update todo
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/roles/acme-redirect/templates/acme-redirect.conf.j2 b/roles/acme-redirect/templates/acme-redirect.conf.j2 @@ -6,7 +6,7 @@ name = "{{ item.key }}" dns_names = [ "{{ item.key }}", -{% if item.value.dns_names is defined %} +{% if item.value.extraDnsNames is defined %} {% for domain in item.value.extraDnsNames %} "{{ domain }}", {% endfor %} @@ -14,7 +14,9 @@ dns_names = [ ] exec = [ "chown -R acme-redirect:acme-redirect /var/lib/acme-redirect/live/{{ item.key }}", +{% if item.value.renewTasks is defined %} {% for task in item.value.renewTasks %} "{{ task }}", {% endfor %} +{% endif %} ]
diff --git a/todo.txt b/todo.txt @@ -1,12 +1,10 @@ todo: + -> check that defined cert-files are existing -> vnstat role -> alertmanager role -> etherpad role -> mumble role -> minecraft role -> ctucx-gallery role and aur package - -> nextcloud role - -> phpmyadmin role - -> moodle role -> acme-redirect role - create certs for new defined configs