From 0bf8f1d7f9e477b2de52ab1e7aea000eff8666fe Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 6 Oct 2025 12:23:14 +0300 Subject: Re-enable LetsEncrypt gen --- tasks/jail_ingress.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tasks') diff --git a/tasks/jail_ingress.yml b/tasks/jail_ingress.yml index 52af116..53b8f67 100644 --- a/tasks/jail_ingress.yml +++ b/tasks/jail_ingress.yml @@ -32,9 +32,9 @@ mode: "0644" loop: "{{ static_sites | map(attribute='site') | unique }}" -#- name: Generate LetsEncrypt certs -# shell: jexec ingress certbot certonly --nginx -n -m jan@jantuomi.fi --agree-tos -d {{ item }} -# loop: "{{ static_sites | selectattr('tls') | map(attribute='host') }}" +- name: Generate LetsEncrypt certs + shell: jexec ingress certbot certonly --nginx -n -m jan@jantuomi.fi --agree-tos -d {{ item }} + loop: "{{ static_sites | selectattr('tls') | map(attribute='host') }}" # It's important to run this after generating certs, because nginx.conf refers to files # generated by certbot. Certbot will fail validation if nginx.conf is configured too early. -- cgit v1.3