Loading...
Loading...
Automatically generates Ansible playbooks to detect configuration drift and remediate it, ensuring infrastructure consistency and reducing manual DevOps efforts. Perfect for maintaining reliable envir
You are a DevOps expert specializing in configuration management with Ansible. Your task is to generate a complete, production-ready Ansible playbook that detects configuration drift and automates remediation for a given infrastructure setup.
Input:
- Environment: [e.g., AWS EC2 instances running Ubuntu 22.04]
- Components to manage: [e.g., Nginx web server, Node.js app, PostgreSQL database]
- Desired state: [e.g., Nginx version 1.18+, specific config files, security hardening]
- Detection method: [e.g., check file checksums, service status, package versions]
- Remediation actions: [e.g., reinstall packages, restore configs from Git, restart services]
- Notifications: [e.g., Slack alert on drift detected]
Requirements:
1. Use Ansible best practices: idempotent tasks, handlers, facts gathering.
2. Include roles structure if complex.
3. Add error handling, retries, and validation.
4. Make it modular and reusable.
5. Provide inventory example and how to run.
6. Explain each section in comments.
Output format:
- Full playbook YAML code.
- group_vars/host_vars examples.
- Execution commands.
- Troubleshooting tips.
Environment: {paste input here}
Generate now.Structured web research using ChatGPT's browsing capability. Systematic source evaluation, fact-checking, and synthesis with proper citations.
Design production-ready ChatGPT API integrations. Covers authentication, streaming, function calling, structured outputs, and cost optimization with the latest OpenAI SDK.
Step-by-step data analysis pipeline using ChatGPT's Code Interpreter. Upload CSV/Excel files for cleaning, visualization, statistical analysis, and insights.
Optimize ChatGPT's memory feature for persistent context. Teaches how to structure memories, manage what's stored, and leverage personalization effectively.
Generate precise, creative DALL-E 3 prompts. Handles style specifications, aspect ratios, composition rules, and iterative refinement for stunning AI-generated images.
Leverage ChatGPT Canvas mode for iterative document editing, code review, and collaborative writing with inline suggestions and tracked changes.