derive app_templates_path from ansible_parent_role_paths
This commit is contained in:
+2
-2
@@ -298,8 +298,8 @@ These variables have no defaults and must be set by the calling playbook (typica
|
||||
|----------|-------------|-------------|
|
||||
| `host_root_path` | Base directory on the **target host** under which each app's directory is created (e.g. `/srv/apps`, `/opt/docker`) | `app_dir` |
|
||||
| `backup_path` | Base directory on the **controller** where fetched backup archives are stored (e.g. `~/backups`) | `app_backup_path` |
|
||||
| `app_roles_path` | Absolute path to the roles directory that contains your per-app shim roles; used so this role can locate the shim role's `templates/` directory (e.g. `{{ playbook_dir }}/roles`) | `app_templates_path` |
|
||||
| `app_role_name` | Name of the per-app shim role that depends on this one (e.g. `my-app`, `jellyfin`); combined with `app_roles_path` to find its `templates/` directory | `app_templates_path` |
|
||||
|
||||
The `templates/` directory of the calling shim role is discovered automatically via `ansible_parent_role_paths` — no path variable to set.
|
||||
|
||||
### Core Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user