Skip to content
Snippets Groups Projects
Verified Commit 870cdd16 authored by ynerant's avatar ynerant
Browse files

[certbot] No change when certificates are already renewed


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 6054b7a5
No related branches found
No related tags found
1 merge request!237Certbot
......@@ -45,6 +45,8 @@
- name: Run certbot
command: certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ item.certname }}.ini certonly
register: certbot_output
changed_when: not "Certificate not yet due for renewal" in certbot_output.stdout
loop: "{{ certbot }}"
- name: Clean old files
......
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