openbao: role base (install, unit, raft, TLS, validation) #536
Notifications
Due Date
No due date set.
Blocks
#537 openbao: init entry point
Mortis/Kamino
Reference: Mortis/Kamino#536
Reference in new issue
Block a user
Part of #535
Parent
#535 (spec). Decisions: #533.
What to build
A consumer runs the new public
openbaorole'smainentry point and gets a running OpenBao server on integrated raft storage, listening on TLS they supplied, left uninitialised and sealed. The role installs the pinned release tarball checked against a sha256 pinned in its defaults, creates its own system user (no shell), data directory, config and sandboxed systemd unit (Type=notify, SIGINT stop,MemorySwapMax=0, no mlock settings,ExecReloadsending SIGHUP), and sets node id,cluster_addrandapi_addr. TLS certificate, key and CA file paths are required unlessopenbao_tls_disable: true, which warns. The role reads its own seal status overhttps://127.0.0.1with certificate validation against the CA file. This ticket adds the role to the Collection: README with the required headings, changelog fragment, README and galaxy role lists, Molecule timeout entry, and removal ofopenbaofrom the README Roadmap.Acceptance criteria
mainwith every optional input defaulted in defaults and in the spec, andvalidate.ymlimported first withtags: always.get_urlagainst the pinned sha256; version and checksum are inputs.openbao_tls_disable: truepasses with a warning.127.0.0.1with theopensslCLI and applies the container sandboxing drop-in;--checkruns before and after converge; converge is idempotent.meta/main.ymldeclaresnobleandresolute; the README has an "Untested platforms" line fortrixie, the proxy re-encryption note, the127.0.0.1SAN requirement and an "Idempotent: yes" line.minor_changesfragment, README role list and release status line, galaxy description, Molecule timeout entry and Roadmap removal are in the same change.pre-commit run --all-filespasses.Assisted-by: Claude Code