Commit 815e0b7b authored by sofubi's avatar sofubi
Browse files

Prefer file: link over ln command

parent 4fdddb38
Pipeline #12701 canceled with stage
in 1 minute and 13 seconds
......@@ -24,15 +24,14 @@
become: true
command: snap refresh core
- name: Install certbot snap
when: funkwhale_nginx_managed and funkwhale_letsencrypt_enabled
become: true
command: snap install --classic certbot
- name: Link certbot snap installation
when: funkwhale_nginx_managed and funkwhale_letsencrypt_enabled
become: true
command: ln -s /snap/bin/certbot /usr/bin/certbot
file:
src: /snap/bin/certbot
dest: /usr/bin/certbot
state: link
- name: Create letsencrypt certificate
when: funkwhale_nginx_managed and funkwhale_letsencrypt_enabled and not funkwhale_letsencrypt_skip_cert
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment