FIX: error in when statement.

This commit is contained in:
Julien Palard 2022-11-20 21:59:08 +01:00
parent 8990a305f4
commit c2fbdbeed9
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8

View File

@ -32,7 +32,7 @@
dns_gandi_sharing_id = 146a3b9a-1b93-11ec-804f-00163ea99cff dns_gandi_sharing_id = 146a3b9a-1b93-11ec-804f-00163ea99cff
mode: 0600 mode: 0600
dest: /root/gandi.ini dest: /root/gandi.ini
when: certbot_authenticator == 'nginx' when: certbot_authenticator == 'gandi'
- name: Generate TLS certificates via Gandi - name: Generate TLS certificates via Gandi
command: /root/certbot-venv/bin/certbot certonly --cert-name {{ nginx_domain | quote }} -n --agree-tos -d {{ nginx_certificates | join(",") | quote }} -m {{ admin_email | quote }} --authenticator dns-gandi --dns-gandi-credentials /root/gandi.ini command: /root/certbot-venv/bin/certbot certonly --cert-name {{ nginx_domain | quote }} -n --agree-tos -d {{ nginx_certificates | join(",") | quote }} -m {{ admin_email | quote }} --authenticator dns-gandi --dns-gandi-credentials /root/gandi.ini