Checks if certbot has actually generated sth

This commit is contained in:
Nikolaos Kakouros
2017-09-07 20:16:19 +02:00
parent 68591ede4c
commit d8d77bac76
+2
View File
@@ -19,3 +19,5 @@
- name: Generate certificates
command: "{{ certbot_cert_command }} -d {{ certbot_domains | join(' -d ') }}"
register: result
changed_when: result.stdout.find("Certificate not yet due for renewal") == -1