2023-08-19 16:30:56 +12:00
|
|
|
matrix:
|
2023-08-19 16:47:43 +12:00
|
|
|
MOLECULE_DISTRO:
|
2023-08-19 16:30:56 +12:00
|
|
|
- centos7
|
|
|
|
|
- almalinux8
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
build:
|
|
|
|
|
image: guisea/ansible-molecule
|
2023-08-19 21:41:45 +12:00
|
|
|
pull: true
|
2023-08-19 16:30:56 +12:00
|
|
|
environment:
|
|
|
|
|
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
|
|
|
|
|
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
|
2023-08-19 22:05:32 +12:00
|
|
|
volumes:
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-08-19 16:30:56 +12:00
|
|
|
commands:
|
2023-08-19 17:07:45 +12:00
|
|
|
- molecule --version
|
|
|
|
|
- ansible --version
|
2023-08-19 16:30:56 +12:00
|
|
|
- molecule test --all
|
2023-08-19 22:05:32 +12:00
|
|
|
|