Deployment data and ansible inventory are represented as a git repository, either remote or local. It is cloned and being updated on the admin node’s $ADMIN_WORKSPACE/inventory directory. The $ADMIN_WORKSPACE copies a value of a given $WORKSPACE env var (defaults to the current directory of the admin node). Or it takes a workspace, when the $ADMIN_IP refers to not a local admin node. For example, if it is a VM.
Installer passes that data and inventory to Kargo ansible installer.
Pre-prepared inventory should have the following content in the repo root directory:
Note, that the custom.yaml overrides all data vars defined elsewhere in Kargo or in defaults files. The data priority precedes as the following: kargo defaults, then common defaults, then ubuntu defaults, then custom YAML.
Final data decisions are done automatically by the installer: