maybe we chdir to the acme.sh directory?
This commit is contained in:
parent
6c46b72fa1
commit
8b4fbb9a4b
|
@ -11,7 +11,7 @@
|
||||||
repo: https://github.com/Neilpang/acme.sh.git
|
repo: https://github.com/Neilpang/acme.sh.git
|
||||||
dest: /opt/acme.sh
|
dest: /opt/acme.sh
|
||||||
- name: Install 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
|
- name: Generate certificate using acme.sh
|
||||||
shell: /root/.acme.sh/acme.sh --issue --standalone -d {{ LOCAL_DOMAIN }} --pre-hook "service nginx stop"
|
shell: /root/.acme.sh/acme.sh --issue --standalone -d {{ LOCAL_DOMAIN }} --pre-hook "service nginx stop"
|
||||||
- name: Install certificate in storage directory
|
- name: Install certificate in storage directory
|
||||||
|
|
Loading…
Reference in New Issue