Molecule "next" is the future major version of molecule, one that is currently available from the main branch. One of the main goals of the new version is to reduce the amount of magic and just rely on ansible core features.
collections-pathsare no longer configurable for dependencies. Users are expected to make use of ansible.cfg file to alter them when needed.
molecule initcommand is now only available to create a scenario using
molecule init scenario. Users will no longer be able to create a role. Instead, users can make use of ansible-galaxy to create a collection or role.
testinfrais now an optional dependency. It will be removed in the next major release(v7).
- Refactoring how dependencies are installed
- Bringing ephemeral directory under scenario folder instead of the current
inconvenient location under
- Addition of a minimal
ansible.cfgfile under the scenario folder that can be used to tell Ansible from where to load testing content. This is to replace current Molecule magic around roles, collections and library paths and test inventory location. Once done you will be able to run molecule playbooks with Ansible directly without having to define these folders.