Fix the certificates path in debian.

This commit is contained in:
Andrea Dell'Amico 2021-09-30 00:37:32 +02:00
parent f4eb4c297e
commit 40bd44e50a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -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