letsencrypt: The not yet due message is in stdout

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-06-13 14:09:12 -07:00
parent 44c8d7d42d
commit cfa99b12e2

View file

@ -15,7 +15,7 @@
run_once: true
register: certbot_output
check_mode: no
changed_when: "not ('not yet due for renewal' in certbot_output.stderr)"
changed_when: "not ('not yet due for renewal' in certbot_output.stdout)"
tags:
- letsencrypt