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>

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

Back to Molecule directory