matrix:
MOLECULE_DISTRO:
- centos7
- almalinux8
steps:
build:
image: guisea/ansible-molecule
pull: true
environment:
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test --all
when:
event: push
depends_on: ['ansible-lint', 'yamllint']