diff --git a/roles/certbot-dns/tasks/main.yml b/roles/certbot-dns/tasks/main.yml index 5213f50..376a351 100644 --- a/roles/certbot-dns/tasks/main.yml +++ b/roles/certbot-dns/tasks/main.yml @@ -11,7 +11,7 @@ mode: 0600 - name: Query lets encrypt certificate - shell: 'letsencrypt certonly -n --dns-rfc2136 --dns-rfc2136-credentials /root/dns-secret.ini -m {{ letsencrypt_email|default("me@chapoline.me") }} --expand --agree-tos -d {{ cert.name }} {% for a in cert.alias %} -d {{a}}{% endfor %} {% if cert.renewal_hook %}--deploy-hook "{{ cert.renewal_hook }}"{{ endif }}' + shell: 'letsencrypt certonly -n --dns-rfc2136 --dns-rfc2136-credentials /root/dns-secret.ini -m {{ letsencrypt_email|default("me@chapoline.me") }} --expand --agree-tos -d {{ cert.name }} {% for a in cert.alias %} -d {{a}}{% endfor %} {% if cert.renewal_hook %}--deploy-hook "{{ cert.renewal_hook }}"{% endif %}' ignore_errors: true - name: Create a few symbolic links