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

ansible-playbooks/general#85 Linting

parent f1a98319
No related branches found
No related tags found
No related merge requests found
......@@ -23,14 +23,14 @@
shell: certbot renew --non-interactive --webroot-path /var/www/html --webroot
ignore_errors: yes
register: renew_result
changed_when: "'No renewals were attempted.' not in renew_result.stdout"
changed_when: yes and 'No renewals were attempted.' not in renew_result.stdout
when: groups.proxyserver is not defined or inventory_hostname not in groups.proxyserver
- name: Renew Existing Certs via HaProxy
shell: certbot renew --non-interactive --http-01-port {{ port }} --preferred-challenges http-01
ignore_errors: yes
register: renew_result
changed_when: "'No renewals were attempted.' not in renew_result.stdout"
changed_when: yes and 'No renewals were attempted.' not in renew_result.stdout
when: groups.proxyserver is defined and inventory_hostname in groups.proxyserver
- name: Close Port
......
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