rnp_tools_ansibleroles_cacertificates

rnp-tools-ansibleroles-cacertificates

Ansible Role - Install CA certificate

Changelog

Overwiew

Role Variables

Defaults role values:

input_role_ca_certificates: []
#  - name: "CA-root"
#    certificate: |
#     -----BEGIN CERTIFICATE-----
#     -----END CERTIFICATE-----

Role vars:

var_ubuntu_certificate_path: "/usr/local/share/ca-certificates/"
var_centos_certificate_path: "/etc/pki/ca-trust/source/anchors/"

Example Playbook

- hosts: Ubuntu, CentOS, RedHat
  become: yes
  remote_user: vagrant
  gather_facts: yes
  
  tasks:
    - include_role:
        name: rnp-tools-ansibleroles-cacertificates
      vars:
        input_role_os_distribution: "{{ ansible_distribution }}"
        input_role_ca_certificates: []
        #  - name: "CA-root"
        #    certificate: |
        #     -----BEGIN CERTIFICATE-----
        #     -----END CERTIFICATE-----

License

BSD 3-Clause

Author Information

Maciej Rachuna

SysOps/DevOps

About

Install certicates

Install
ansible-galaxy install rachuna-net-pl/rnp-tools-ansibleroles-cacertificates
GitHub repository
License
Unknown
Downloads
23
Owner
SysOps / DevOps