Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.54 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.54 KB

docker-ansible

Docker image of ansible.

Repository name in Docker Hub: rayou/ansible

Repository name in Github: rayou/docker-ansible

Build

$ docker build --build-arg VERSION=$ANSIBLE_VERSION -t ansible .
# docker build --build-arg VERSION=2.7.6 -t ansible .

Usage

Run ansible directly

$ docker run --rm -it --entrypoint=/usr/local/bin/ansible rayou/ansible:latest --help

Run ansible-playbook directly

$ docker run --rm -it rayou/ansible:latest --help

Run shell

$ docker run --rm -it --entrypoint=/bin/sh rayou/ansible:latest

Contributing

PRs are welcome.

Author

Ray Ou - [email protected]

Support this project

Buy Me A Coffee

License

MIT.