molecule
Verified for current stable LTS
Molecule Command: Create New Ansible Role
Use for create new ansible role with Molecule. Exact CLI syntax to create new ansible role using Molecule.
When to use this: Use for create new ansible role with Molecule.
Command Syntax
molecule init role --role-name <role_name> molecule init role --role-name <role_name> Command Breakdown
--role-name- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create new ansible role using Molecule.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Molecule Command: Configure Instance For Role
molecule converge Molecule Command: List Scenarios For Instance molecule matrix converge Molecule Command: Login Into Instance molecule login Molecule Command: Run Tests For Role molecule test Molecule Command: Start Instance For Role Testing molecule create