Skip to content

leogallego/ansible-new-molecule

v1.1.2GPL-3.0-or-later

Scaffold molecule testing for an Ansible role or collection following the current molecule testing philosophy (Ansible-native everything).

ansible-new-molecule

Scaffold molecule testing for an Ansible role or collection following the current molecule testing philosophy (Ansible-native everything). Use when the user wants to add molecule tests, create test scenarios, or set up molecule for an existing role or collection. Use when user says "add molecule", "create molecule tests", "scaffold testing", "add test scenarios", or "set up molecule". Generates modern ansible-native molecule.yml (no driver/provisioner/verifier/platforms blocks), working create.yml/destroy.yml playbooks, smart verify.yml from role introspection, and optional GitHub Actions CI. Optionally uses ansible-know MCP server for module return value lookup. Do NOT use for migrating existing molecule setups (migration skill planned for a future release).

Version
1.1.2
License
GPL-3.0-or-later
Compatibility
Requires molecule CLI (optional, falls back to manual creation). Requires community.docker or containers.podman collection for container-based testing. Optionally uses ansible-know MCP server for module doc lookup.
Read SKILL.md at the source

Pinned to revision 2c43de8f4b18, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.