Sign inSign up

ovski/ansible

By ovski

•Updated 10 months ago

A docker image to run ansible playbooks

Image
0

1.7K

ovski/ansible repository overview

⁠Ansible

A docker image to run ansible

⁠Build

The tag must exist on the ansible pip repository⁠

git clone https://github.com/Ovski4/docker-ansible.git
cd docker-ansible
docker build -t ovski/ansible:v4.0.0 .

By default, the base container is debian/buster and the ansible version is 4.0.0 .

To specify another debian version, and another ansible release, you can do the following:

docker build -t ovski/ansible:v2.10.5 --build-arg="ANSIBLE_TAG=2.10.5 ." --build-arg="DEBIAN_TAG=stretch"  .

⁠Usage

# check the version
docker run ovski/ansible:v4.0.0

# run a playbook
docker run -v $(pwd):/var ovski/ansible:4.0.0 ansible-playbook /var/playbook.yml

Tag summary

Content type

Image

Digest

Size

390 MB

Last updated

over 5 years ago

docker pull ovski/ansible