From 983c5ef7a1d3da4470c4edc0815b74f427fb8058 Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Sun, 30 May 2021 00:03:42 +0100 Subject: [PATCH] first commit --- handlers/main.yml | 3 +++ tasks/main.yml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 handlers/main.yml create mode 100644 tasks/main.yml 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 + +