15 lines
459 B
YAML
15 lines
459 B
YAML
![]() |
---
|
||
|
- name: Git fetch acme.sh repository
|
||
|
ansible.builtin.git:
|
||
|
repo: "https://github.com/acmesh-official/acme.sh.git"
|
||
|
dest: "{{ acme_user_home }}/acme.sh"
|
||
|
|
||
|
- name: Check acme.sh installation existence
|
||
|
ansible.builtin.stat:
|
||
|
path: "{{ acme_sh_home }}"
|
||
|
register: acme_sh_folder_stats
|
||
|
|
||
|
- name: Install acme.sh
|
||
|
ansible.builtin.debug:
|
||
|
msg: "installing..."
|
||
|
when: acme_sh_folder_stats.stat.isdir is defined and acme_sh_folder_stats.stat.isdir
|