How to disable Molecule idempotence check on Ansible role test?

Question:

Using Molecule v.2 to test Ansible roles, I faced an issue with the check for a role to be idempotent.

How can I disable this check?

As documented, Molecule configuration parameters are required to be set in molecule.yml file, but I could not find how to disable idempotence check.

I want to get rid of idempotency check altogether and rely on my own tests.

Answer:

You should uncomment the test_sequence and include only the tests you want, for example:

Leave a Reply