A consumer gets a running single-node OpenBao server on integrated raft storage, listening on TLS they supply, left uninitialised and sealed. The role installs the pinned 2.7.3 release tarball, checked by get_url against the sha256 of each architecture from the release's checksums.txt (its GPG signature checks out against OpenBao's release key). It creates its own system user, data directory, configuration and sandboxed unit: Type=notify, SIGINT stop, MemorySwapMax=0 instead of mlock, an empty capability set, ProtectSystem=strict with the data directory writable, and ExecReload sending SIGHUP. The directive set was tried against the real binary under systemd before it was kept. TLS certificate, key and CA paths are required unless openbao_tls_disable is true, which warns; validation fails before any change when a file is missing, and the role checks the service user can read the key and certificate before writing the config. It reads its seal status over https://127.0.0.1 validated against the CA file, so an address other than a wildcard or loopback gets a second loopback listener. The tasks are split by job (validate, prereqs, install, configure, seal_status) so the init, unseal, audit and update work can reuse them. Refs: #536 Assisted-by: Claude Code
78 lines
2.4 KiB
YAML
78 lines
2.4 KiB
YAML
---
|
|
namespace: mortis
|
|
name: kamino
|
|
version: 3.5.0
|
|
readme: README.md
|
|
authors:
|
|
- Defame1297
|
|
description: >-
|
|
Reusable, hardened Ansible roles for a self-hosted home lab (cloudflared, docker, fail2ban,
|
|
gitea, gitea_runner, network_interfaces, nfs_client, openbao, pihole, pve_lxc, pve_vm, sshd, system_baseline,
|
|
systemd_hardening, tailscale, traefik, ufw, user_management; _binary_update is internal).
|
|
license:
|
|
- GPL-3.0-or-later
|
|
tags:
|
|
- infrastructure
|
|
- linux
|
|
- security
|
|
- hardening
|
|
repository: https://git.rkdr.net/mortis/kamino
|
|
documentation: https://git.rkdr.net/mortis/kamino/src/branch/main/README.md
|
|
homepage: https://git.rkdr.net/mortis/kamino
|
|
issues: https://git.rkdr.net/mortis/kamino/issues
|
|
# CI tests the versions pinned in requirements.yml; the lower bounds here are not tested.
|
|
# No upper bound, so a consumer's newer pin does not conflict. community.general is used by system_baseline and ufw,
|
|
# ansible.posix by nfs_client, system_baseline and user_management, community.proxmox by pve_lxc and pve_vm (Proxmox VE guest lifecycle).
|
|
# community.proxmox's modules import the Python library proxmoxer (2.3 or later) on the controller; galaxy.yml
|
|
# cannot declare a Python dependency, so the README says it and requirements-dev.txt pins it for CI.
|
|
dependencies:
|
|
community.general: ">=14.0.0"
|
|
ansible.posix: ">=2.2.0"
|
|
community.proxmox: ">=2.1.0"
|
|
build_ignore:
|
|
# Repository tooling that is not part of the Collection. scripts/check_tarball.py fails
|
|
# the build if anything outside its allowlist ends up in the archive, so a new top-level
|
|
# file is a decision: ignore it here or allow it there.
|
|
- .ansible
|
|
- apm.yml
|
|
- apm.lock.yaml
|
|
- apm_modules
|
|
- .apm-local
|
|
- .claude
|
|
- .config
|
|
- .gitea
|
|
- .gitignore
|
|
- .pre-commit-config.yaml
|
|
- .python-version
|
|
- .ruff_cache
|
|
- .venv
|
|
- .venv-dev
|
|
- .yamllint
|
|
- docs
|
|
- .ansible-lint
|
|
- .ansible-lint-ignore
|
|
- AGENTS.md
|
|
- CODEOWNERS
|
|
- CONTRIBUTING.md
|
|
- GLOSSARY.md
|
|
- SECURITY.md
|
|
- extensions
|
|
- images
|
|
- scripts
|
|
- tests/scripts
|
|
- pyproject.toml
|
|
- renovate.json
|
|
- ruff.toml
|
|
- requirements-dev.txt
|
|
- requirements-dev.lock
|
|
- requirements-molecule.txt
|
|
- requirements-molecule.lock
|
|
- requirements.yml
|
|
- uv.lock
|
|
- gitleaks-report.json
|
|
- importer_result.json
|
|
- 'roles/*/molecule'
|
|
# Contributor rules for agents: a consumer's agent reading an installed role must not load them.
|
|
- roles/AGENTS.md
|
|
- '*.tar.gz'
|