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

Force the cert name so that we keep using the same name even if the list of domains has changed

parent c1d9229e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
state: 'present'
- name: "Install New Cert"
shell: certbot certonly --expand --non-interactive --config /etc/letsencrypt/{{ cert.domain }}.ini --http-01-port {{ port }} --preferred-challenges http-01
shell: certbot certonly --expand --non-interactive --config /etc/letsencrypt/{{ cert.domain }}.ini --http-01-port {{ port }} --preferred-challenges http-01 --cert-name {{ cert.domain }}
ignore_errors: true
- name: "Close Port"
......
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