From 2ae5f5f510a48ee8c8e1d9741d6d07aa994a7630 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 11 Aug 2020 16:45:20 +0200 Subject: [PATCH] Give the choice of not updating the acme_sh distribution. --- defaults/main.yml | 1 + tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 56f89f2..a9db1b7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 }}' diff --git a/tasks/main.yml b/tasks/main.yml index 44ecb31..3daf426 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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