maybe we chdir to the acme.sh directory?

This commit is contained in:
staticsafe 2019-01-12 19:19:57 -05:00
parent 6c46b72fa1
commit 8b4fbb9a4b
1 changed files with 1 additions and 1 deletions

View File

@ -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