Security Roles
- Jinja 100%
|
All checks were successful
Ansible Lint / ansible-lint (push) Successful in 23s
Reviewed-on: #3 Reviewed-by: Jesus Alejandro Sanchez Davila <jsanchezd@noreply.git.silvarion.org> |
||
|---|---|---|
| .forgejo/workflows | ||
| changelogs | ||
| playbooks | ||
| roles | ||
| .ansible-lint.yml | ||
| AGENTS.md | ||
| CHANGELOG.rst | ||
| galaxy.yml | ||
| README.md | ||
silvarion.security
Ansible collection providing standardized TLS/PKI certificate roles and self-hosted authentication/SSO infrastructure for Linux.
Roles
| Role | Description | Status |
|---|---|---|
| certbot | Let's Encrypt / ACME certificate issuance and renewal via Certbot | Implemented |
| authelia | Authelia forward-auth SSO portal, for use with Caddy's forward_auth |
Implemented |
Requirements
- Ansible >= 2.14
silvarion.basecollection (for thesnapdrole — required when using the defaultcertbot_install_method: snap)- Supported platforms: Ubuntu 24.04 (noble), RHEL/Rocky/Alma 9
Usage
- name: Install snapd, then issue a certificate with certbot
hosts: webservers
become: true
roles:
- role: silvarion.base.snapd
- role: silvarion.security.certbot
vars:
certbot_config_email: admin@example.com
certbot_certificates:
- name: example-com
domains:
- example.com
- www.example.com
challenge: webroot
webroot_path: /var/www/example-com
Or use the collection playbook:
ansible-playbook silvarion.security.certbot -i inventory/production -e target=webservers
Installation
ansible-galaxy collection install silvarion.security
License
MIT