aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-06 12:23:14 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-06 12:23:14 +0300
commit0bf8f1d7f9e477b2de52ab1e7aea000eff8666fe (patch)
treeaf8230c50de7fe2aa0476de4ac7a9d7d63b031c8 /tasks
parent3f9b16b010aef1201e6ac8fa8174ccbecc7de51c (diff)
Re-enable LetsEncrypt gen
Diffstat (limited to 'tasks')
-rw-r--r--tasks/jail_ingress.yml6
1 files changed, 3 insertions, 3 deletions
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.