2024-09-11 21:47:47 +02:00
|
|
|
---
|
|
|
|
- name: Git fetch acme.sh repository
|
|
|
|
ansible.builtin.git:
|
2024-09-13 14:53:21 +02:00
|
|
|
repo: "{{ acme_sh_git_repo }}"
|
|
|
|
dest: "{{ acme_sh_git_folder }}"
|
2024-09-11 21:47:47 +02:00
|
|
|
|
|
|
|
- name: Install acme.sh
|
2024-09-13 14:53:21 +02:00
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ acme_sh_git_folder }}"
|
|
|
|
cmd: |
|
|
|
|
/bin/sh acme.sh
|
|
|
|
--install
|
|
|
|
--home {{ acme_sh_home | quote }}
|
|
|
|
--cert-home {{ acme_sh_cert_home | quote }}
|
|
|
|
--config-home {{ acme_sh_config_home | quote }}
|
|
|
|
-m {{ acme_sh_email | quote }}
|
|
|
|
creates: "{{ acme_sh_home }}"
|