This repository contains a Dockerfile for building an Ansible docker image. The docker image can be used for Ansible playbook and role development.
- ansible (2.5.5)
- ansible-lint
- molecule
- ara
The default entrypoint is 'ansible-playbook' to use this image with docker run execute the following:
docker run --rm -it -v $(pwd):/ansible r3pli/ansible-dev playbook.yml
To use ansible-lint run:
docker run --entrypoint ansible-lint --rm -it -v $(pwd):/ansible r3pli/ansible-dev playbook.yml
To use molecule run:
docker run --entrypoint molecule --rm -it -v $(pwd):/ansible r3pli/ansible-dev test [--scenario-name role-xyz]
- python-dev
- py-boto
- py-dateutil
- py-httplib2
- py-jinja2
- py-paramiko
- py-pip
- py-yaml
- python-keyczar
- docker-py
- redis
This project is licensed under the GNU General Public License Version 2 - see the LICENSE file for details
- Fabian (r3pli)