A container that is used for GitHub actions molecule.
This container contains:
- ansible - Used to run the tests.
- ansible-lint - A command-line tool for linting playbooks, roles and collections aimed towards any Ansible users.
- docker - Used by molecule to start instances using the
dockerdriver. - molecule - Used to orchestrate the tests. molecule-plugins are installed too.
- tox - Used to test multiple version of ansible if
tox.iniexists. - testinfra - Used to test the instances.
- yamllint - Used to lint YAML files.
- rsync, required in same cases for Molecule.
- Linux tools like
docker,gcc,git(core),python3-*andrsyncare installed too.
The default behaviour is to:
- See if
tox.iniexists -> Runtox - Otherwise -> Run
molecule test - Retry either (
toxormolecule) 3 times. - Run
testifcommandis not set. - Test the
defaultscenario ifscenarioin not set.
Read how to test locally.
Please consider sponsoring me.