From a2e2384a017da13a594bf23d1a8c4ed9257721a9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 23 May 2020 14:27:02 +0200 Subject: name acmetool cert after nginx vhost --- roles/nginx/vhost/tasks/acme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') 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 }}" -- cgit v1.2.3