All apps/Molecule

Molecule

molecule

Molecule is an Ansible testing framework designed for developing and testing Ansible collections, playbooks, and roles.

Runs as molecule|macOS, Linux, Windows|ansible.readthedocs.io

Command form

ai-draft · 3 tasks · 6 fields

Test Ansible roles. Use the subcommand tabs for test and converge; other steps and init are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui molecule

molecule test

Run the full test sequence

Run dependency through verify for a scenario.

Run the full test sequenceExample values, fixed in this page — nothing here reaches a terminal
Basic
Scenario name
string
Driver
string
Advanced
Destroy strategy
string
TasksEach one presets the form for one job
Test a scenario
scenariodriverdestroy
Test all scenarios
allparallel
ParametersOnly these flags are editable in the form
Scenario name
string
--scenario-name-s
Driver
string
--driver-name-ddelegateddockerpodmanvagrantazurehetzner
Test all scenarios
boolean
--all
Destroy strategy
string
--destroyalwaysnever
Parallel mode
boolean
--parallel

molecule converge

Converge instances

Configure instances (dependency, create, prepare, converge).

Converge instancesExample values, fixed in this page — nothing here reaches a terminal
Basic
Scenario name
string
TasksEach one presets the form for one job
Converge
scenario
ParametersOnly these flags are editable in the form
Scenario name
string
--scenario-name-s
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed molecule against its version. A form that does not match your version is not offered.