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
9 lines
542 B
YAML
9 lines
542 B
YAML
---
|
|
minor_changes:
|
|
- >-
|
|
openbao - New role. Installs a single OpenBao server on integrated raft storage from the pinned release
|
|
tarball, checked against a sha256 pinned in the role defaults, with its own system user, data directory,
|
|
configuration and sandboxed systemd unit. The listener uses the certificate, key and CA files the consumer
|
|
supplies (required unless ``openbao_tls_disable`` is true, which warns). The role reads the seal status over TLS
|
|
on ``127.0.0.1`` and leaves a new server uninitialised and sealed.
|