- Jinja 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG |
||
| .forgejo/workflows | ||
| changelogs | ||
| extensions/molecule | ||
| meta | ||
| roles/authentik | ||
| .ansible-lint | ||
| .copier-answers.yml | ||
| .gitignore | ||
| .gitleaks.toml | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| galaxy.yml | ||
| LICENSE | ||
| README.md | ||
| ruff.toml | ||
| SECURITY.md | ||
belowtoxic.identity
Identity provider: Authentik (server, worker, PostgreSQL) on Flatcar or Debian, outposts, backups and break-glass
Part of the belowtoxic-ansible infrastructure code. All environment-specific data (addresses, hosts, credentials) comes from OpenBao and the Hetzner APIs at runtime - nothing in this repository is specific to a deployment.
Installation
# requirements.yml
collections:
- name: https://git.belowtoxic.cloud/belowtoxic-ansible/collection-identity.git
type: git
version: v0.1.0
ansible-galaxy collection install -r requirements.yml
Content
| Role | Does |
|---|---|
belowtoxic.identity.authentik |
Authentik (server, worker, PostgreSQL) as pinned containers; blueprints for groups, required second factor and OAuth2 apps; backup stream, restore, recovery link |
Needs belowtoxic.base (files on hosts without Python) and, for the TLS
front, belowtoxic.networking.caddy. Background: the site repository's
docs/concepts/authentik.md and ADR 0002.
Testing
extensions/molecule/authentik runs it on Flatcar like the real identity
provider: Caddy in front with certificates from Pebble (test ACME server),
the blueprint's objects checked through the API, only loopback listeners,
then a backup stream, a wiped instance, a restore - same users, same
signing key - and a recovery link.
Development
git clone https://git.belowtoxic.cloud/belowtoxic-ansible/toolchain.git ../toolchain
eval "$(../toolchain/bin/bt-ci-setup)" # pinned toolchain, same as CI
pre-commit install
bt-ci lint && bt-ci sanity && bt-ci units
See CONTRIBUTING.md.
License
GPL-3.0-or-later, see LICENSE.