diff --git a/tasks/renew.yml b/tasks/renew.yml index 702d104782d675a586c2501b0d88629d838f0e26..67cd4a7fb3c34714e428cb75c4445e9b8c14d4d8 100644 --- a/tasks/renew.yml +++ b/tasks/renew.yml @@ -19,7 +19,8 @@ state: 'present' - name: "Renew Existing Certs" - shell: certbot renew --non-interactive --http-01-port {{ port }} --preferred-challenges http-01 + #shell: certbot renew --non-interactive --http-01-port {{ port }} --preferred-challenges http-01 + shell: certbot renew --non-interactive --webroot-path /var/www/html --webroot ignore_errors: true register: renew_result changed_when: "'No renewals were attempted.' not in renew_result.stdout"