From 1e777b10d3c5987abc8d45dcf5d047a8be114837 Mon Sep 17 00:00:00 2001 From: ferrantedev Date: Sat, 23 Jul 2022 11:07:49 +0200 Subject: [PATCH] Access domains value in letsencrypt.yml Fixes https://github.com/hispanico/ansible-nginx-revproxy/issues/53 --- tasks/letsencrypt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/letsencrypt.yml b/tasks/letsencrypt.yml index 0faddde..55059a1 100644 --- a/tasks/letsencrypt.yml +++ b/tasks/letsencrypt.yml @@ -75,7 +75,7 @@ command: | certbot{{ '-auto' if nginx_revproxy_certbot_auto else '' }} certonly --webroot -w /var/www/{{ item.key }} - -d {{ item.value.domains | join(' -d ') }} + -d {{ item.value.domains.value | join(' -d ') }} --email {{ item.value.letsencrypt_email }} --non-interactive --cert-name {{ item.key }} --agree-tos creates=/etc/letsencrypt/live/{{ item.key }}/fullchain.pem