From bb5e00d6f5eeddf8ef8465ce08ba8e5c781e8dca Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Fri, 3 May 2019 14:16:23 +0200 Subject: [PATCH] Don't remove acme.sh keys if acme.sh fails --- tasks/ssl/acme.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tasks/ssl/acme.yml b/tasks/ssl/acme.yml index 8d471dc..3bb40d7 100644 --- a/tasks/ssl/acme.yml +++ b/tasks/ssl/acme.yml @@ -81,12 +81,6 @@ rescue: - - name: FILE | Delete acme.sh files - file: - path: "{{ nginx_acmesh_dir }}/{{ item | nginx_site_name }}/" - state: absent - loop: "{{ nginx_ssl_pairs }}" - - name: FAIL | Explicit fail: msg: "Something is bad... Auto crash!"