Skip to content

Commit

Permalink
Fix snap symlink task failing in initial dry-run
Browse files Browse the repository at this point in the history
Due to the certbot package not being really installed on the initial
dry-run the symlink generation fails. The corresponding will be ignored
in check mode.
  • Loading branch information
tobiashuste committed Nov 24, 2021
1 parent dd1f8bd commit 1fc3a76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/install-with-snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
src: /snap/bin/certbot
dest: /usr/bin/certbot
state: link
ignore_errors: "{{ ansible_check_mode }}"

- name: Set Certbot script variable.
set_fact:
Expand Down

0 comments on commit 1fc3a76

Please sign in to comment.