22 lines
374 B
YAML
22 lines
374 B
YAML
|
---
|
||
|
- name: install socat
|
||
|
apt:
|
||
|
name:
|
||
|
- socat
|
||
|
|
||
|
- name: install acme.sh
|
||
|
shell: wget -O - https://get.acme.sh | sh -s email={{ acme_sh_email }}
|
||
|
args:
|
||
|
warn: false
|
||
|
creates: ~/.acme.sh/
|
||
|
|
||
|
- name: copy ca cert
|
||
|
copy:
|
||
|
src: files/root_ca.crt
|
||
|
dest: "/usr/local/share/ca-certificates/root_ca.crt"
|
||
|
backup: yes
|
||
|
notify:
|
||
|
update-ca-certificates
|
||
|
|
||
|
|