mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-26 09:12:09 +07:00
Don't remove acme.sh keys if acme.sh fails
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user