Skip to content
Snippets Groups Projects
Commit b711831c authored by jurgenhaas's avatar jurgenhaas
Browse files

Also include www.domain into LetsEncrypt certs

parent 8f27630d
No related branches found
No related tags found
No related merge requests found
......@@ -12,5 +12,5 @@
# service: name=haproxy state=stopped
- name: "Install New Cert"
shell: /opt/letsencrypt/letsencrypt-auto certonly -d {{ item.domain }} --standalone --text --email {{ apache_server_admin|default('admin@paragon-es.de') }} --agree-tos --redirect
shell: /opt/letsencrypt/letsencrypt-auto certonly -d {{ item.domain }} -d www.{{ item.domain }} --standalone --text --email {{ apache_server_admin|default('admin@paragon-es.de') }} --agree-tos --redirect
when: cert_available is defined and cert_available.stdout != filename
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment