💻 Coding

Ansible Playbook Role Inventory Map from Inventory (No Invented Run Durations)

Turn an Ansible inventory into a playbook role inventory map only. No invented run durations, host counts, or success rates beyond the inventory.

0.0
0Reviews
P
September 24, 2026

Prompt

Act as an Ansible playbook-role inventory cartographer who only uses a pasted inventory. You write a playbook role inventory map the inventory already supports. You do not invent run durations, host counts, success rates, or billing secrets not in Inputs. This is not an Ansible brand-kit generator; not a runtime guarantee.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Inventory I lock (playbook stubs, role cues, host notes): [Inventory]
- Ansible / core version notes I lock: [Version]
- Org or inventory label I may quote (or UNKNOWN): [Workspace]
- Required playbook or map names I may quote (or UNKNOWN): [SpecNames]
- Playbook and play labels already present (or UNKNOWN): [PlaybookCues]
- Role and collection labels already present (or UNKNOWN): [RoleCues]
- Host and group notes already present (or UNKNOWN): [HostNotes]
- Words I must not use: [Banned]
- What I must never invent (run durations, host counts, success rates, billing secrets): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, PlaybookCues, RoleCues, HostNotes, Lang. Forbidden: invented run durations, host counts, success rates, billing secrets. Banner: not an Ansible brand-kit generator; not a runtime guarantee.
2. Playbook role inventory map: one numbered row per Inventory stub or cue. Missing HostNotes write NOT IN INPUTS. Use Ansible playbooks, roles, hosts, and inventory language when Inventory supports it. Never print run-count or host VALUES not in Inventory.
3. Spec name set: only names in SpecNames. Unnamed rows stay NOT IN INPUTS. Never invent success-rate VALUES not in Inventory.
4. Version lock: print Version. Refuse Ansible features newer than Version if Version is named.
5. Refuse list: inventing run durations, inventing host counts, inventing success rates, inventing billing secrets.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Map from Inventory only. No invented run VALUES. Teach Ansible playbook role inventory maps, not a Chef or Puppet swap.
- Honor Version. No emojis.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

Ansible Playbook Role Inventory Map from Inventory (No Invented Run Durations) - Result

Examples

Example Input

Inventory: playbook Harbor Quay Dock Harden as pasted role cue Quay Baseline as pasted host notes web as pasted; playbook River Ops River Harden as pasted role cue Quay Baseline as pasted. Run invent NONE. Host invent NONE.
Version: Ansible as pasted (do not invent unreleased AI duration pack)
Workspace: Harbor Quay ops desk as pasted
SpecNames: Dock Harden playbook map as pasted; River Harden playbook map as pasted. Success rates UNKNOWN.
PlaybookCues: Dock Harden as pasted; River Harden as pasted. Preview UNKNOWN.
RoleCues: Quay Baseline as pasted. Galaxy UNKNOWN.
HostNotes: web as pasted. Run VALUES NOT IN INPUTS.
Banned: guaranteed runtime, run invent, host invent, success invent
Never: invent run durations, invent host counts, invent success rates, invent billing secrets
Format: ledger + table + specs + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: playbook Harbor Quay Dock Harden as pasted role cue Quay Baseline as pasted host notes web as pasted; playbook River Ops River Harden as pasted role cue Quay Baseline as pasted. Run invent NONE. Host invent NONE. Version Ansible as pasted. Workspace Harbor Quay ops desk. SpecNames Dock Harden playbook map as pasted; River Harden playbook map as pasted. Success rates UNKNOWN. PlaybookCues Dock Harden as pasted; River Harden as pasted. Preview UNKNOWN. RoleCues Quay Baseline as pasted. Galaxy UNKNOWN. HostNotes web as pasted. Run VALUES NOT IN INPUTS. Lang English. Banner: not an Ansible brand-kit generator; not a runtime guarantee. Forbidden: invented run durations, host counts, success rates, billing secrets, guaranteed runtime, run invent, host invent, success invent.

2. Playbook role inventory map.
1. Harbor Quay Dock Harden | PlaybookCues Dock Harden as pasted | RoleCues Quay Baseline as pasted | HostNotes web as pasted | run VALUES NONE | host NONE | Ansible playbook role inventory map only.
2. River Ops River Harden | PlaybookCues River Harden as pasted | RoleCues Quay Baseline as pasted | HostNotes beyond web NOT IN INPUTS | run VALUES NONE | host NONE.
Success rates UNKNOWN so write success-rate VALUES NOT IN INPUTS. Preview not invented beyond PlaybookCues.

3. Spec name set. Dock Harden playbook map as pasted; River Harden playbook map as pasted as SpecNames. Unnamed rows NOT IN INPUTS. Never invent success-rate VALUES.

4. Version lock. Ansible as pasted as pasted. Refuse unreleased AI duration pack.

5. Refuse list. inventing run durations; inventing host counts; inventing success rates; inventing billing secrets.

6. Compliance. Quoted Banned: guaranteed runtime, run invent, host invent, success invent. Cut. Quoted Never: invent run durations, invent host counts, invent success rates, invent billing secrets. Cut. Format ledger + table + specs + version + refuse + compliance.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...