sales-demos-configlisted
Install: claude install-skill ericcames/sales.demos
# sales-demos-config
Apply AAP configuration as code to an RHDP environment. Takes about
**2 minutes** on a warm environment.
This skill contains **no logic**. All the work is in
[`playbooks/config.yml`](../../../playbooks/config.yml). See `CLAUDE.md` →
*Skills and playbooks*.
## What it does
1. Asserts the environment is unambiguous (`--limit` must match `target_env`).
2. Asserts `aap_hostname`, `aap_username`, `aap_password` are set.
3. **Syncs the SCM project** to the latest `main` (#148) — so newly added
playbooks are visible to template creation.
4. Applies all objects via `infra.aap_configuration.dispatch`: credential types,
credentials, projects, inventories, job templates, workflow job templates,
schedules, execution environments, gateway settings (branding, banner),
hub remotes and repositories.
5. Reports what was applied.
**Expect `changed` on every run.** AAP returns `SUBSCRIPTIONS_CLIENT_SECRET` as
`$encrypted$` and never in the clear, so the controller_settings role rewrites
it each time. That is the platform refusing to hand back a secret, not drift.
## How vars arrive
There is no `vars_files` or `include_vars`. `--limit sandbox` loads
`group_vars/aap/*` (shared) merged with `group_vars/sandbox/*` (per-env deltas),
combined by `dispatch_include_wildcard_vars` in `group_vars/aap/aap_settings.yml`.
## Preflight Check
```bash
./utilities/preflight.sh "${ENV:-sandbox}"
```
If any check fails, stop and tell the user exactly which one and the fi