first commit
This commit is contained in:
parent
9f85e65628
commit
983c5ef7a1
3
handlers/main.yml
Normal file
3
handlers/main.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
- name: update-ca-certificates
|
||||||
|
command: update-ca-certificates
|
21
tasks/main.yml
Normal file
21
tasks/main.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user