Fix the source code download

This commit is contained in:
Andrea Dell'Amico 2023-06-30 19:06:51 +02:00
parent 90cb70c124
commit 2e944d8b32
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 10 additions and 0 deletions

View File

@ -120,6 +120,16 @@
tags: ['letsencrypt', 'letsencrypt_acme_sh'] tags: ['letsencrypt', 'letsencrypt_acme_sh']
block: block:
- name: Download the acme.sh distribution - 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: true
become_user: "{{ letsencrypt_acme_user }}" become_user: "{{ letsencrypt_acme_user }}"
ansible.builtin.git: ansible.builtin.git: