I suppose that that you make configuration management, not bash. It means that you have to test it some how. Have you ever tested ansible roles? How do you do it?
In my case, we have:
Let us compare solutions for testing.
|Name||Test Kitchen||Molecule||Create new|
|License||Apache 2.0||MIT||Apache 2.0||Apache 2.0|
As you remember, we had a private cloud with limited possibility to create VMs on demand. We decided to create VMs inside VMs.
First of all we tried to run Virtualbox x32 without nested. It was bad idea because of kernel panic. Also vast majority of our VMs in our infrastructure are x86_64, so we decided to continue research. As a result we decided to use nested virtualization. Hopefully it was supported by our host servers.
I was implementing testkitchen and faced with some issues. You can read it here
On one hand, current implementation works, but on the other hand, there are some issues
As a result, molecule & docker might be pretty interesting solution.