summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2021-01-01 23:17:22 -0500
committerMitch Riedstra <mitch@riedstra.us>2021-01-01 23:17:22 -0500
commit33d7a16542280eb94b860fccbb5726eef662e6d4 (patch)
tree59ad51c0a5df8a922ca086b096f381390a669cf9 /tasks
parentedcebb6ed273791005cf147d54af3e71f0b4cfb5 (diff)
downloadacme.sh-33d7a16542280eb94b860fccbb5726eef662e6d4.tar.gz
acme.sh-33d7a16542280eb94b860fccbb5726eef662e6d4.tar.xz
Put the install script in the acme home directory. Update acme.sh
Diffstat (limited to 'tasks')
-rw-r--r--tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index abcb785..08af9bc 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -43,12 +43,12 @@
--accountemail "{{acmesh_email}}" \
--accountkey $HOME/account.key \
--accountconf $HOME/account.conf
- dest: /tmp/acme_install.sh
+ dest: '{{acmesh_user.home}}/install.sh'
mode: 0755
- name: Run acme.sh install script
shell: |
#!/bin/sh
- echo '/tmp/acme_install.sh' | su -s /bin/sh '{{acmesh_user.name}}'
+ echo '{{acmesh_user.home}}/install.sh' | su -s /bin/sh '{{acmesh_user.name}}'
when: tarball.changed
- name: Set cert directory permissions
file: