From 8b4fbb9a4bdc96122f80270d23c4973a66c6352d Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 12 Jan 2019 19:19:57 -0500 Subject: [PATCH] maybe we chdir to the acme.sh directory? --- roles/mastodon-nginx/tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mastodon-nginx/tasks/install.yml b/roles/mastodon-nginx/tasks/install.yml index 70bef6a..c3aea0b 100644 --- a/roles/mastodon-nginx/tasks/install.yml +++ b/roles/mastodon-nginx/tasks/install.yml @@ -11,7 +11,7 @@ repo: https://github.com/Neilpang/acme.sh.git dest: /opt/acme.sh - name: Install acme.sh - shell: /opt/acme.sh/acme.sh --install + shell: cd /opt/acme.sh && ./acme.sh --install - name: Generate certificate using acme.sh shell: /root/.acme.sh/acme.sh --issue --standalone -d {{ LOCAL_DOMAIN }} --pre-hook "service nginx stop" - name: Install certificate in storage directory