Skip to content

Ownership

What Consigliere manages, who controls each thing, and why. The summary table is in the README; this is the full one. A role that sets something up and then leaves it to the app’s own UI is a legitimate answer. An unstated one is not.

Thing Owner Mechanism Why Where to change it Backup
OS baseline (packages, ssh, sysctl, users, upgrades) This repo Rewritten every run One source of truth; drift is the failure mode Role defaults, fleet config/vars/ Hand-made sysctl lines are commented out, originals kept in /var/backups/consigliere
Windows baseline (clock, Windows Update policy, Defender, firewall, Remote Desktop) This repo Rewritten every run Same reason as the Linux baseline; the keys are Group Policy’s own windows/roles/baseline defaults, fleet config/vars/ None kept; turning a *_manage variable off stops managing it, it does not undo it
Windows SSH (OpenSSH Server, its config block, admin keys, firewall rules) This repo Rewritten every run Key-only access over the tailnet, one policy switch with Remote Desktop windows/roles/ssh defaults, windows/defaults.yml, fleet config/vars/ sshd_config copy kept as sshd_config.consigliere-bak; restored if sshd does not come back
Firewall rules This repo Rewritten every run A closed host by default firewall role, tag manifests’ firewall: lists Image-provided rules saved to /var/backups/consigliere/*.from-image
Tailscale enrollment This repo, first run Seeded once Auth keys are never stored bootstrap.sh prompt Re-run tailscale up
Tailscale ACLs and tailnet settings The Tailscale admin console Read-only here Policy belongs to the network, not a host Tailscale admin Tailscale’s own history
Docker engine, published-port guard This repo Rewritten every run The guard is what keeps ufw meaningful docker role Package manager
Traefik routes, headers, certificates This repo Rewritten every run; route data is checked before anything is written. Not on safe_apply yet Routes are declared per host Fleet config/routes/<domain>.yml Nothing automatic: revert the change in git and let the host reconcile
ACME issuance Cert Warden (this repo deploys it) Issued once, fetched as files DNS credentials live on one host certwarden_* roles Cert Warden’s own store
otel agent config This repo Rewritten every run, via safe_apply; a systemd service where there is apt and systemd, a container elsewhere The collector must never crash-loop silently otel_agent defaults and fleet vars <file>.last-good
Loki, VictoriaMetrics storage The service Data kept on a data disk Data is not config Retention in role vars Per the fleet’s backup jobs
Grafana data sources and provisioned dashboards This repo Rewritten every run Dashboards from git survive a rebuild Fleet assets/dashboards/*.json Git
Grafana dashboards saved in the UI You, in Grafana Not touched A UI edit is a deliberate act Grafana Grafana’s database
Arkeep jobs and repositories Arkeep’s UI Seeded; the role deploys the server and agents Schedules are an operator decision Arkeep Arkeep’s own database
Arcane and the stacks it deploys Arcane Consigliere installs Arcane only Arcane watches stacks/ and owns drift for them stacks/ in git, then Arcane Git
Muximux tiles Split: declared tiles are restored, the rest is yours Declared tiles rewritten; others ignored See Muximux README Fleet vars, or Muximux for your own Git for declared tiles
Cmdr console This repo Rewritten every run A generated view of the host table cmdr role and fleet vars Stateless
Homarr boards and users You, in Homarr Container and gate are managed; boards are not Boards are personal Homarr UI Its appdata volume
Garage buckets and keys This repo Declared buckets and keys applied Names are config Fleet vars The data is not backed up by this role
Garage capacity layout You, once Manual (garage layout assign) Capacity depends on the disk Command in the Garage README Garage’s metadata
Forgejo runner registration You, once Manual forgejo-runner register A token is minted per runner Forgejo Secret forgejo.runner
Secrets This repo’s tooling, your fleet repo’s files sops, one age key per host A host reads only its own scripts/secrets.sh, scripts/access.sh Git history of the encrypted files, plus each host’s age key
Identity: users, groups, OIDC clients Your identity provider Read-only here Authentication is a separate system The provider The provider
DNS records Your DNS provider Documented, not applied No DNS credentials are kept beyond the ACME challenge The provider The provider
Cloud provider firewalls and security lists The provider Not touched Out of reach of a host-level agent The provider The provider
Host creation You Not built Provisioning substrate is a mix Your tooling n/a
Platform profiles, and a host’s os: and arch: This repo Read every run; nothing is written to the host The layer decides what can run; in a host run the host’s own facts win over the table, so a wrong entry cannot make a host run another platform’s roles hosts/platforms/, inventory/hosts.yml Git
Scheduled jobs and boot tasks (systemd units, cron entries, local.d scripts) This repo Rewritten every run through the platform layer The same unit or entry on every host that runs the role The owning role’s defaults and fleet vars Regenerated; cron has no catch-up after downtime
Pinned collections and downloads This repo hosts/requirements-hosts.yml installed under the work directory; releases installed by artifact at a pinned digest A host runs what is written, not what is newest hosts/requirements-hosts.yml, the role’s artifact data Falls back to the OS bundle if Galaxy is unreachable
Proxmox, Unraid, hardware The platform Not touched beyond a documented profile See proxmox-host.md, platforms.md The platform The platform

A file that opens with Managed by Ansible (hosts/roles/<name>) is rewritten by the reconciler: change it in git, not on the host. JSON has no comments, so those files say it in a _comment key. A file without the line is not automatically yours to edit: some cannot carry one (credential and key files, state records, Grafana dashboard JSON), some have only certain lines managed (for example /etc/hosts and the sshd settings the roles edit in place), and application stacks belong to Arcane. The full list of files deliberately left unmarked is in test_managed_headers.py.

Nothing is synced both ways. Everything marked “This repo” flows from git to the host, and a hand edit is overwritten on the next run. Everything marked with an app or an operator as owner is never written back to git by Consigliere.

Each role README opens with five lines:

  • Does: what it does
  • Owns settings: who controls its settings
  • Keeps state: what it stores, and where
  • Rolls back by: safe_apply, a kept original, or the recorded exception
  • Exposes: ports, endpoints and files others rely on

Roles written before this contract have not been brought onto it yet (see STATE.md).