Skip to content

Small docker image used in ansible development for testing and linting

License

Notifications You must be signed in to change notification settings

r3pli/docker-ansible-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Small docker image used in ansible development for testing and linting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published