ansible-roles/library/roles/ubuntu-deb-general/tasks/install_external_ca_cert.yml

13 lines
446 B
YAML

---
- name: Install the additional CA certificates
copy: src={{ item.file }} dest={{ item.dest_file }}
with_items: '{{ x509_additional_ca_certs }}'
when: install_additional_ca_certs
notify: Update the CA bundle list
tags: ca
- name: Install a CA file with the certificates that we need. From a URL
get_url: url={{ pki_custom_ca_url }} dest={{ pki_dir }}/{{ pki_custom_ca_filename }}
when: pki_install_a_custom_ca | bool
tags: ca