Open menu

Molecule v3

Published: 20 Nov 2020

How to migrate to molecule v3

Only delegated, docker and podman providers are ready, so if you use others, delay till they are updated or preferably give a hand with that.

  • remove scenario.name from molecule.yaml, from now on, only folder name determines the scenario name
  • remove lint: sections from molecule.yaml or replace them with newer syntax from documentation
  • if you use testinfra, add it as a pip dependency, is no longer installed by default
  • if you use linters, you need to add them as pip dependencies
  • (optional) rename playbook.yml to converge.yml to avoid a deprecation message

Some help from the community

geerlingguy commented on 21 Feb Here's the script I used to convert all my active geerlingguy.* roles: https://gist.github.com/geerlingguy/19aace82f94b2d07a0dfb23db7345a57 (just posting in case anyone else wants a quick example and has a bunch of roles to use—it is not a generic script in any way).


Back: Docker Multi-Arch (Building Multi-Arch Images for Arm and x86 with Docker Desktop)
Forward: Nextcloud Notifications (How to make Nextcloud talk notifications work)