mirror of
https://github.com/de-it-krachten/ansible-role-rootca
synced 2026-05-14 03:51:37 +00:00
No description
- Jinja 100%
# [1.11.0](https://github.com/de-it-krachten/ansible-role-rootca/compare/v1.10.0...v1.11.0) (2026-03-15) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| files | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-rootca
Provisions list of rootCA SSL certificates
Dependencies
Roles
None
Collections
- ansible.windows
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 8
- RockyLinux 9
- RockyLinux 10
- OracleLinux 8
- OracleLinux 9
- OracleLinux 10
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Fedora 42
- Fedora 43
- Alpine 3
- Windows Server 2012 R21
- Windows Server 20161
- Windows Server 20191
- Windows Server 20221
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# List of root certificate files
# rootca_certificates: []
# Url to be used for testing
rootca_test_url: ''
# Should we fail if the test fails?
rootca_test_fail: true
defaults/Alpine.yml
# File extention to use (pem/crt)
rootca_ext: crt
# Directory to place root certificates into
rootca_directory: /usr/local/share/ca-certificates
# Command to execute to make OS import CA certificates
rootca_update_cmd: update-ca-certificates
defaults/family-Debian.yml
# File extention to use (pem/crt)
rootca_ext: crt
# Directory to place root certificates into
rootca_directory: /usr/share/ca-certificates/extra
# Command to execute to make OS import CA certificates
rootca_update_cmd: update-ca-certificates
defaults/family-RedHat.yml
# File extention to use (pem/crt)
rootca_ext: pem
# Directory to place root certificates into
rootca_directory: /etc/pki/ca-trust/source/anchors
# Command to execute to make OS import CA certificates
rootca_update_cmd: update-ca-trust
defaults/family-Suse.yml
# File extention to use (pem/crt)
rootca_ext: pem
# Directory to place root certificates into
rootca_directory: /etc/pki/trust/anchors
# Command to execute to make OS import CA certificates
rootca_update_cmd: update-ca-certificates
defaults/family-Windows.yml
# File extention to use (pem/crt)
rootca_ext: pem
defaults/Rocky.yml
# File extention to use (pem/crt)
rootca_ext: pem
# Directory to place root certificates into
rootca_directory: /etc/pki/ca-trust/source/anchors
# Command to execute to make OS import CA certificates
rootca_update_cmd: update-ca-trust
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'rootca'
hosts: all
become: 'yes'
vars:
molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
rootca_certificates:
- tests/root1.crt
- tests/root2.pem
tasks:
- name: Include role 'rootca'
ansible.builtin.include_role:
name: rootca