first commit

This commit is contained in:
Alexander Gabriel 2021-05-30 00:03:42 +01:00
parent 9f85e65628
commit 983c5ef7a1
2 changed files with 24 additions and 0 deletions

3
handlers/main.yml Normal file
View File

@ -0,0 +1,3 @@
---
- name: update-ca-certificates
command: update-ca-certificates

21
tasks/main.yml Normal file
View 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