Running Molecule scenarios in parallel
If you test Ansible roles with Molecule, you sometimes have multiple scenarios (e.g. for different application versions that share the same role).
Previously, it wasn’t possible to run all scenarios at the same time as the created Docker containers were always named the same, despite different scenario names.
If you execute Molecule with
--parallel, it’ll create UUIDs for the container name, which enables parallel execution.
molecule test --scenario-name 5.5 --parallel