From 40bd44e50ae2eab8b83490a12998c8cc7b4f3b55 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 30 Sep 2021 00:37:32 +0200 Subject: [PATCH] Fix the certificates path in debian. --- tasks/trusted_ca.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/trusted_ca.yml b/tasks/trusted_ca.yml index 7b1eec9..8eee28c 100644 --- a/tasks/trusted_ca.yml +++ b/tasks/trusted_ca.yml @@ -51,7 +51,7 @@ apt: pkg=ca-certificates state=present cache_valid_time=1800 - name: Get the CA files that we want to trust on deb - get_url: url={{ item.ca_url }} dest=/etc/ssl/certs/{{ item.ca }} owner=root group=root mode='0444' + get_url: url={{ item.ca_url }} dest=/usr/local/share/ca-certificates/{{ item.ca }} owner=root group=root mode='0444' with_items: '{{ trusted_ca_additional_ca_files }}' register: ca_files_installation @@ -67,7 +67,7 @@ - name: Download the letsencrypt CA files on deb get_url: url: '{{ trusted_ca_letsencrypt_ca_certificates_url }}/{{ item.ca }}' - dest: '/etc/ssl/certs/{{ item.ca }}' + dest: '/usr/local/share/ca-certificates/{{ item.ca }}' owner: root group: root mode: 0444