From cfa99b12e27cbbfdc596fa623df96380304b08fa Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 13 Jun 2022 14:09:12 -0700 Subject: [PATCH] letsencrypt: The not yet due message is in stdout Signed-off-by: Kevin Fenzi --- roles/letsencrypt/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/letsencrypt/tasks/main.yml b/roles/letsencrypt/tasks/main.yml index a61a7c6bbc..19391db679 100644 --- a/roles/letsencrypt/tasks/main.yml +++ b/roles/letsencrypt/tasks/main.yml @@ -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