Sign inSign up

lcgroup/ansible

By lcgroup

•Updated over 4 years ago

Image
0

1.1K

lcgroup/ansible repository overview

⁠lcgroup/ansible

The image is based on the official python image (debian-slim-bullseye)⁠. The image is used to run ansible, ansible-lint and yamllint

⁠Included components

⁠Usage example

The directory with playbooks must be mounted inside the container along the path /data

  • ansible-playbook
docker run \
    --rm \
    -it \
    -v $(pwd):/data \
    lcgroup/ansible:latest \
        ansible-playbook -i inventory.yml playbook.yml
  • ansible
docker run \
    --rm \
    -it \
    -v $(pwd):/data \
    lcgroup/ansible:latest \
        ansible --version
  • ansible-lint
docker run \
    --rm \
    -it \
    -v $(pwd):/data \
    lcgroup/ansible:latest \
        ansible-lint -p

Tag summary

Content type

Image

Digest

Size

90.9 MB

Last updated

over 4 years ago

docker pull lcgroup/ansible