Always update the ca-certificates package.

This commit is contained in:
Andrea Dell'Amico 2021-10-08 13:41:21 +02:00
parent bc8fd9bc9b
commit 0a7b083761
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 5 additions and 2 deletions

View File

@ -47,8 +47,11 @@
- name: Manage optional CA files on deb - name: Manage optional CA files on deb
block: block:
- name: Ensure that ca-certificates is installed - name: Ensure that ca-certificates is installed and up to date
apt: pkg=ca-certificates state=present cache_valid_time=1800 apt:
pkg: ca-certificates
state: latest
cache_valid_time: 1800
- name: Get the CA files that we want to trust on deb - name: Get the CA files that we want to trust on deb
get_url: url={{ item.ca_url }} dest={{ trusted_ca_deb_path }}/{{ item.ca }} owner=root group=root mode='0444' get_url: url={{ item.ca_url }} dest={{ trusted_ca_deb_path }}/{{ item.ca }} owner=root group=root mode='0444'