summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/nginx/vhost/tasks/acme.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nginx/vhost/tasks/acme.yml b/roles/nginx/vhost/tasks/acme.yml
index 99ad7856..1044adb9 100644
--- a/roles/nginx/vhost/tasks/acme.yml
+++ b/roles/nginx/vhost/tasks/acme.yml
@@ -40,5 +40,5 @@
import_role:
name: acmetool/cert
vars:
- acmetool_cert_name: "{{ nginx_vhost.hostnames[0] }}"
+ acmetool_cert_name: "{{ nginx_vhost.name }}"
acmetool_cert_hostnames: "{{ nginx_vhost.hostnames }}"