Few things you may need to master quickly while working with molecule scenarios: how to control verbosity of different actions.
# disable nologsexport MOLECULE_NOLOG=0# disable destroyexport MOLECULE_DESTROY=never# debug mode (same as --debug) -- very verboseexport MOLECULE_DEBUG=1# change ansible own verbosityexport ANSIBLE_VEBOSITY=2
In the end, molecule will call Ansible for testing your code but this does not mean that you cannot add your own options. You just need to use positional arguments for achieve that:
molecule test -- --tags foo# this this call:ansible-playbook ... --tags foo
Also you can use my favourite way of passing custom configuration by defining
ANSIBLE_ prefixed environment variables, which will be recognized by Ansible.