Skip to content

Commit 20fe909

Browse files
committed
Hostname also gets the wildcard cert now
1 parent 60f47ef commit 20fe909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ansible/roles/certbot/tasks/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
--cert-name {{ canonical_hostname }}
7070
--dns-digitalocean
7171
--dns-digitalocean-credentials /etc/letsencrypt/certbot-creds.ini
72-
-d "*.{{ canonical_hostname }}"
72+
--domain "*.{{ canonical_hostname }}"
73+
--domain "{{ canonical_hostname }}"
7374
--deploy-hook "systemctl reload nginx"
7475
register: "certbot_output"
7576
changed_when: "'no action taken' not in certbot_output.stdout"

0 commit comments

Comments
 (0)