From f9cc97a8f2766cabfc9050d1e7b0864710a9d152 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 21 Oct 2022 15:32:08 +0200 Subject: [PATCH] Add CA to trust-store --- netmaker/tasks/certs.yml | 4 ++++ netmaker/tasks/main.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 netmaker/tasks/certs.yml diff --git a/netmaker/tasks/certs.yml b/netmaker/tasks/certs.yml new file mode 100644 index 0000000..a13e98e --- /dev/null +++ b/netmaker/tasks/certs.yml @@ -0,0 +1,4 @@ +- name: Deploy CA Certificate + ansible.builtin.copy: + src: secret_files/netmaker_server/ca/ca.crt + dest: /etc/ssl/certs/netmaker-ca.pem diff --git a/netmaker/tasks/main.yml b/netmaker/tasks/main.yml index 78b8f81..9b522e8 100644 --- a/netmaker/tasks/main.yml +++ b/netmaker/tasks/main.yml @@ -1,4 +1,4 @@ -- import_tasks: ./prerequisites.yml +- import_tasks: ./certs.yml - import_tasks: ./install.yml