This Role Has Been Deprecated: Please use the version in the oasis_roles.system Ansible Collection
Install certificates using the update-ca-trust
command
Ansible 2.4 or higher
Red Hat Enterprise Linux 7 or equivalent
Valid Red Hat Subscriptions
Currently the following variables are supported:
-
update_ca_trust_urls
- List of URLs from which to retrieve and install certificates -
update_ca_trust_validate_certs
- Perform TLS validation during download of certificates when usingupdate_ca_trust_urls
. Useful when downloading certificates from a webserver via TLS and ensuring that they have not been tampered with during transport. Defaults totrue
. -
update_ca_trust_files
- List of local files on the Ansible control machine from which to install certificates -
update_ca_trust_become
- Whether or not to use thebecome
feature of Ansible to gain admin privileges. Defaults totrue
. -
update_ca_trust_become_user
- The user to sudo/become. Defaults toroot
.
None
- hosts: update_ca_trust-servers
roles:
- role: oasis-roles.update_ca_trust
update_ca_trust_urls:
- https://raw.githubusercontent.com/oasis-roles/update_ca_trust/master/molecule/shared/localhost.localdomain.crt
update_ca_trust_files:
- /path/to/local/files/localhost.localdomain.crt
GPLv3
David Roble droble@redhat.com