Skip to content

Commit

Permalink
Don't remove acme.sh keys if acme.sh fails
Browse files Browse the repository at this point in the history
  • Loading branch information
HanXHX committed May 3, 2019
1 parent cf010e4 commit bb5e00d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tasks/ssl/acme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit bb5e00d

Please sign in to comment.