forked from AFPy/infra
FIX: error in when statement.
This commit is contained in:
parent
8990a305f4
commit
c2fbdbeed9
|
@ -32,7 +32,7 @@
|
|||
dns_gandi_sharing_id = 146a3b9a-1b93-11ec-804f-00163ea99cff
|
||||
mode: 0600
|
||||
dest: /root/gandi.ini
|
||||
when: certbot_authenticator == 'nginx'
|
||||
when: certbot_authenticator == '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
|
||||
|
|
Loading…
Reference in New Issue