Self-generated random values for the NetBird coordinator: auth_secret (relay/JWT shared secret) and datastore_key (SQLite store encryption, base64 32 bytes with padding). Wired into roles/netbird_coordinator config.yaml via vault.netbird.*. No CHANGEME — both are agent-generatable (not operator-supplied). The M5 peer setup key is a runtime dashboard artifact, added to vault when M5 wires it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| production | ||
| staging | ||
| README.md | ||
inventories/
Ansible inventories, one directory per environment (staging/, production/).
Defines which hosts exist and their group membership; group_vars/ and host_vars/
hold per-group and per-host configuration.
hosts.ymlis generated from Terraform outputs bymake tf-inventory— do not hand-edit. The control node is the one manual exception.offsite.yml(inproduction/) is a second generated inventory file, written bymake tf-inventory-offsitefrom the offsite Terraform env; it holds theoffsite_hostsgroup (askari). Ansible merges it withhosts.yml, so both can declare the same group names harmlessly (the offsite generator emits all four groups, most empty).- Host groups:
all,control,docker_hosts,proxmox_hosts,offsite_hosts. - Terraform→inventory data flow and the data contract: ADR-009.
- Addressing conventions (subnets, ranges): ADR-007.
- Layout and host groups: see CLAUDE.md ("Inventory structure").