aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/letsencrypt/tasks/domain.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/letsencrypt/tasks/domain.yml')
-rw-r--r--roles/letsencrypt/tasks/domain.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/letsencrypt/tasks/domain.yml b/roles/letsencrypt/tasks/domain.yml
index 636230a..bc6e581 100644
--- a/roles/letsencrypt/tasks/domain.yml
+++ b/roles/letsencrypt/tasks/domain.yml
@@ -17,10 +17,10 @@
ansible.builtin.command: |
certbot certonly --noninteractive --agree-tos \
--cert-name '{{ certificate_name }}' \
- --email '{{ certbot_email }}' \
+ --email '{{ letsencrypt_email }}' \
--domains '{{ certificate_domains | join(',') }}' \
--preferred-challenges dns \
--dns-digitalocean \
- --dns-digitalocean-credentials '{{ certbot_ini }}' \
+ --dns-digitalocean-credentials '{{ letsencrypt_credentials_ini }}' \
--dns-digitalocean-propagation-seconds 30
when: domain_list.changed