💻DeveloppementIntermediateAll AIs
Dynamic Ansible Inventory
Dynamically generate Ansible inventory
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Create a dynamic inventory script for Ansible that queries [AWS EC2/GCP Compute/Azure VMs] and groups hosts by [tags: environment, role, application]. The script must include: authentication via IAM/service account, cache management, filtering by region/tags, and return the JSON format expected by Ansible.
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Use Cases
Dynamically generate Ansible inventory
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
Be the first to comment on this prompt.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.