diff options
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/jail_ingress.yml | 6 |
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. |
