From 535fcca27b969d432e9f37d60bb7bb1d9633433c Mon Sep 17 00:00:00 2001 From: binary Date: Sun, 24 Jan 2021 12:49:02 +0100 Subject: Append missing certificate record --- roles/acme/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/acme/tasks') diff --git a/roles/acme/tasks/main.yml b/roles/acme/tasks/main.yml index ec23ceb..4d0f67f 100644 --- a/roles/acme/tasks/main.yml +++ b/roles/acme/tasks/main.yml @@ -21,6 +21,7 @@ - name: generate acme certificates shell: acme-client -v {{ global.domain_name }} register: result + failed_when: result.rc not in [ 0, 2 ] - name: show acme-client output debug: -- cgit v1.2.3