Add support for ansible-test sanity with docker
There have been several issues lately with using ansible-test sanity in the tox venv possibly related to a new github actions environment or a new version of ansible-test. The Galaxy team and Automation Hub use ansible-test sanity --docker
. Let's use this for our tox CI.
The .github/workflows/tox.yml for each role will need to set
env:
TOX_LSR: "git+https://github.com/linux-system-roles/[email protected]"
LSR_ANSIBLE_TEST_DOCKER: "true"
to use docker in CI