diff --git a/tasks/main.yml b/tasks/main.yml index 732ac23..3ab83f4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -120,6 +120,16 @@ tags: ['letsencrypt', 'letsencrypt_acme_sh'] block: - name: Download the acme.sh distribution + become: true + become_user: "{{ letsencrypt_acme_user }}" + ansible.builtin.git: + repo: "{{ letsencrypt_acme_sh_git_url }}" + dest: "{{ letsencrypt_acme_git_dest_dir }}" + recursive: true + update: false + force: true + + - name: Force the upgrade of the acme.sh distribution become: true become_user: "{{ letsencrypt_acme_user }}" ansible.builtin.git: