applications lookupΒΆ
This page describes how agents handle application defaults after the removal of group_vars/all/05_applications.yml.
RulesΒΆ
Application defaults are discovered directly from each roleβs per-topic meta files:
roles/*/meta/services.yml,roles/*/meta/server.yml,roles/*/meta/rbac.yml,roles/*/meta/volumes.yml, plusroles/*/meta/secrets.yml(post-apply_schema()). Variants inroles/*/meta/variants.ymldeep-merge over the assembled per-role payload. See layout.md.Agents MUST edit role-local meta sources, not recreate repository-wide generated application dictionaries.
Runtime consumers MUST access merged application data via
lookup('applications')or a wrapper built on top of it.Inventory overrides still belong in the normal
applicationsvariable path under inventories, group vars, host vars, or role vars.
Source Of TruthΒΆ
Defaults source:
roles/*/meta/{services,server,rbac,volumes,schema}.yml(+ optionalmeta/variants.yml)Runtime entry point:
plugins/lookup/applications.pyShared aggregation helper:
utils/cache/applications.py
WhyΒΆ
The repository no longer maintains a generated 05_applications.yml artifact. Keeping defaults close to the owning role reduces duplication and avoids stale generated state.