What problem does it solve? Writing Ansible playbooks by hand often leads to syntax errors, hardcoded credentials, and untested automation that fails in production. This Skill guides playbook creation and provides validation, security scanning, and container-based testing to catch issues before deployment. ## Core Features & Use Cases - Playbook Creation Guidance: Step-by-step workflow covering assessment, design, implementation, validation, and production deployment, backed by a ready-to-use playbook template. - Syntax and Structure Validation: The validate_playbook.py script checks YAML syntax, required fields, tasks, handlers, and variables, with optional ansible-lint integration. - Security Scanning: The secure_playbook.py script detects hardcoded credentials, dangerous modules, command injection risks, and unsafe privilege escalation patterns. - Container-Based Testing: The test_playbook.sh script executes playbooks inside a Docker container for isolated verification. - Use Case: A DevOps engineer writes a new deployment playbook, runs the validator to fix structural issues, scans it for leaked secrets, and tests it in an Ubuntu container before pushing to production. ## Quick Start Ask the assistant to create an Ansible playbook for your automation task, then validate and security-scan it before running it in a test container.