Skip to content
Snippets Groups Projects
Commit ff72eb34 authored by jurgenhaas's avatar jurgenhaas
Browse files

Prepare apache for letsencrypt challenge webroot

parent 1e265fbc
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment