Skip to content

stingus/docker-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Ansible Docker image

This Docker image is based on Alpine and Python3 and provides the Ansible executable. Check the repo tags for the available Ansible versions.

Usage

$ docker run --rm stingus/ansible -v <your_ansible_project_path>:/project

This will start a Docker container with your Ansible project mounted in /project.

Running a playbook

It's recommended to keep your inventory in the project thus not to rely on /etc/ansible/hosts.

$ ansible-playbook -i hosts your_playbook.yml

LICENSE

MIT

About

Ansible executable in Docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published