Give the choice of not updating the acme_sh distribution.

This commit is contained in:
Andrea Dell'Amico 2020-08-11 16:45:20 +02:00
parent 947ee4dbc4
commit 2ae5f5f510
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
letsencrypt_acme_install: False
letsencrypt_acme_sh_install: '{{ letsencrypt_acme_install }}'
letsencrypt_acme_sh_git_install: True
letsencrypt_update_acme_distribution: True
letsencrypt_acme_sh_git_url: https://github.com/Neilpang/acme.sh.git
letsencrypt_acme_user: acme
letsencrypt_acme_sh_user: '{{ letsencrypt_acme_user }}'

View File

@ -65,6 +65,7 @@
- block:
- name: Download the acme.sh distribution
git: repo={{ letsencrypt_acme_sh_git_url }} dest={{ letsencrypt_acme_git_dest_dir }} recursive=yes update=yes
when: letsencrypt_update_acme_distribution
- name: Create the letsencrypt acme.sh directory tree
file: dest={{ item }} state=directory mode=0755