Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.04 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.04 KB

Docker ansible dev

This repository contains a Dockerfile for building an Ansible docker image. The docker image can be used for Ansible playbook and role development.

What's inside

  • ansible (2.5.5)
  • ansible-lint
  • molecule
  • ara

Usage

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]

Installed python packages

  • python-dev
  • py-boto
  • py-dateutil
  • py-httplib2
  • py-jinja2
  • py-paramiko
  • py-pip
  • py-yaml
  • python-keyczar
  • docker-py
  • redis

License

This project is licensed under the GNU General Public License Version 2 - see the LICENSE file for details

Author Information

  • Fabian (r3pli)