The image is based on the official python image (debian-slim-bullseye). The image is used to run ansible, ansible-lint and yamllint
The directory with playbooks must be mounted inside the container along the path /data
docker run \
--rm \
-it \
-v $(pwd):/data \
lcgroup/ansible:latest \
ansible-playbook -i inventory.yml playbook.yml
docker run \
--rm \
-it \
-v $(pwd):/data \
lcgroup/ansible:latest \
ansible --version
docker run \
--rm \
-it \
-v $(pwd):/data \
lcgroup/ansible:latest \
ansible-lint -p
Content type
Image
Digest
Size
90.9 MB
Last updated
over 4 years ago
docker pull lcgroup/ansible