From 31bae9c864ae5815976bcf8be5bfc079324246bd Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 14 Jun 2018 01:33:44 +0000 Subject: [PATCH] hooked on phonix really werked for me --- 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 a685fb83a8..30cf00d859 100644 --- a/roles/letsencrypt/tasks/main.yml +++ b/roles/letsencrypt/tasks/main.yml @@ -3,7 +3,7 @@ command: certbot certonly --keep -n --webroot --webroot-path /var/www/html/ -d {{','.join([site_name] + server_aliases)}} run_once: true register: certbot_output - check_node: no + check_mode: no changed_when: "not ('not yet due for renewal' in certbot_output.stderr)" tags: - letsencrypt