Amazon Linux 2023 Docker container for Ansible playbook and role testing
latest
: Latest installable version of Ansible (which may be limited by available Python version)
This image is built weekly or when PRs are merged. If you need to build the image on your own locally:
docker build -t docker-amazonlinux2023-ansible .
Configure the platform in molecule/default/molecule.yml
as following:
platforms:
- name: tomcat
image: "ghcr.io/alicekaerast/docker-amazonlinux2023-ansible:latest"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /run
cgroupns_mode: host
privileged: true
pre_built_image: true