HUB
Sign inSign up
docker-ansible logo

antmelekhin/docker-ansible

By antmelekhin

•Updated about 1 year ago

[DEPRECATED] Alpine-based Docker images with Ansible for use in pipelines.

Image
Integration & delivery
0

852

antmelekhin/docker-ansible repository overview

⁠Docker images for running Ansible

⁠Build and run

  • Build the image

    export ANSIBLE_VERSION='10'
    docker build --build-arg="ANSIBLE_VERSION=${ANSIBLE_VERSION}" -t "docker-ansible:${ANSIBLE_VERSION}" -f Dockerfile .
    
  • Run ansible-playbook

    docker run --rm -v $(pwd):/ansible -v ~/.ssh/id_rsa:/root/.ssh/id_rsa -t "docker-ansible:${ANSIBLE_VERSION}" ansible-playbook -i inventory.yml playbook.yml
    

⁠License

MIT

⁠Author

Melekhin Anton.

Tag summary
Recent tags
Content type
Image
Digest
sha256:f18b486ce…
Size
107.7 MB
Last updated
about 1 year ago
docker pull antmelekhin/docker-ansible:latest