diff --git a/handlers/main.yml b/handlers/main.yml new file mode 100644 index 0000000..885eb91 --- /dev/null +++ b/handlers/main.yml @@ -0,0 +1,3 @@ +--- +- name: update-ca-certificates + command: update-ca-certificates diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..87c54f2 --- /dev/null +++ b/tasks/main.yml @@ -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 + +