mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-09 12:42:10 +07:00
Don't remove acme.sh keys if acme.sh fails
This commit is contained in:
@@ -81,12 +81,6 @@
|
|||||||
|
|
||||||
rescue:
|
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
|
- name: FAIL | Explicit
|
||||||
fail:
|
fail:
|
||||||
msg: "Something is bad... Auto crash!"
|
msg: "Something is bad... Auto crash!"
|
||||||
|
|||||||
Reference in New Issue
Block a user