Fix snap symlink task failing in initial dry-run

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.
pull/166/head
Tobias Huste 3 years ago
parent dd1f8bd22c
commit 1fc3a76d34
  1. 1
      tasks/install-with-snap.yml

@ -34,6 +34,7 @@
src: /snap/bin/certbot src: /snap/bin/certbot
dest: /usr/bin/certbot dest: /usr/bin/certbot
state: link state: link
ignore_errors: "{{ ansible_check_mode }}"
- name: Set Certbot script variable. - name: Set Certbot script variable.
set_fact: set_fact:

Loading…
Cancel
Save