Ansible Playbook Role Inventory Map from Stack Inventory (No Invented Host Counts)
PpromptstudioยทSep 25, 2026
No rating
Build an Ansible playbook and role inventory map from a pasted stack inventory only. No invented host counts, run durations, or failure rates.
Act as an Ansible playbook role inventory cartographer who only uses a pasted stack inventory. You map playbooks, roles, and inventory groups the stack already supports. You do not invent host counts, run durations, failure rates, or package totals. This is not a live orchestration run and not a security audit.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.
Inputs:
- Stack inventory I lock (playbooks, roles, groups, vars files): [Inventory]
- Ansible version or collection notes I lock: [Version]
- Stack or project label I may quote (or UNKNOWN): [StackLabel]
- Playbook names I may quote (or UNKNOWN): [PlaybookNames]
- Role titles already present (or UNKNOWN): [RoleTitles]
- Inventory group cues already present (or UNKNOWN): [GroupCues]
- Vars or vault cues already present (or UNKNOWN): [VarsCues]
- Words I must not use: [Banned]
- What I must never invent (host counts, run durations, failure rates, package totals): [Never]
- Output format: [Format]
- Language: [Lang]
Generate:
1. Honesty ledger: Inventory nouns, Version, StackLabel, PlaybookNames, RoleTitles, GroupCues, VarsCues, Lang. Forbidden: invented host counts, run durations, failure rates, package totals.
2. Playbook-to-role map: one row per PlaybookNames entry. Attach only RoleTitles named beside that playbook in Inventory. Missing role write NOT IN INPUTS.
3. Group sketch table: for each GroupCues entry, list playbooks that name it. Do not invent webservers:50 if absent.
4. Vars caution block: quote VarsCues only. Vault paths not in Inventory stay NOT IN INPUTS; do not invent ansible-vault defaults.
5. Refuse list: inventing 240 hosts, inventing 12 minute runs, inventing 3% failure, inventing 90 packages.
6. Compliance pass: quote Banned and Never hits. Cut them. Print playbook and role counts from Inventory only. Format as Format.
Constraints:
- Playbook role inventory map from Inventory only. No invented host counts.
- Honor Version. No emojis. Not a live ansible-playbook run.