vendredi 22 novembre 2019

How to undo the changes after running ansible role inside a dedicated testing machine using Molecule

When using docker as a driver, Molecule is testing my Ansible role inside a container and then destroying it. But, my type of test is on the kernel level so I can not use Docker. I am using a dedicated testing machine.

I would like to add a fallback script to undo my changes every time I run a test. Any recommendation for handling this? where to add the script?

Aucun commentaire:

Enregistrer un commentaire