summaryrefslogtreecommitdiff
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
parentedcebb6ed273791005cf147d54af3e71f0b4cfb5 (diff)
downloadacme.sh-33d7a16542280eb94b860fccbb5726eef662e6d4.tar.gz
acme.sh-33d7a16542280eb94b860fccbb5726eef662e6d4.tar.xz
Put the install script in the acme home directory. Update acme.sh
-rw-r--r--defaults/main.yml4
-rw-r--r--tasks/main.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 89da187..a537fee 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -31,6 +31,6 @@ acmesh_user:
system: 'yes'
acmesh_dest: '{{acmesh_user.home}}/install'
-acmesh_commit: f2d350002e7c387fad9777a42cf9befe34996c35
+acmesh_commit: 44615c6fa2115a2010a87ed575699ec8f8a746e8
acmesh_url: https://github.com/acmesh-official/acme.sh/archive/{{acmesh_commit}}.tar.gz
-acmesh_checksum: sha256:a4e0cb73748eedf5029dd082a61eb7e35767f36356f2dfb18233ee4eb4f757cf
+acmesh_checksum: sha256:3ae52bf59e21d2acbd060725c98279617da7aad2acc00131deb777dfce25a307
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: