Skip to content

sensu/molecule-docker

 
 

Repository files navigation

Sensu Molecule Docker Plugin

Python Black Code Style Repository License

Sensu's fork of the Molecule Docker Plugin, designed to allow use of docker containers for provisioning test resources in Ansible Molecule.

This is a customized version of the original ansible-community/molecule-docker plugin, maintained by Sensu for internal use and enhanced functionality.

Installation

Install from source:

pip install -e .

Or install with dependencies:

pip install -r requirements.txt

This plugin will function only if you also install community.docker ansible collection. Keep in mind that this requires newer version of docker python module which may not come with system-packaged versions of ansible like Ubuntu ones.

Please do not file bugs towards molecule or this plugin if Ansible fails to execute any docker modules (missing or incorrect versions of docker or requests python modules). Instead file them on community.docker.

Get Involved

FAQ

Q: How can I use Docker Context?

A: molecule-docker depends directly on community.docker.docker_container. Currently, Docker Context is not supported, but as a workaround, docker_host in community.docker.docker_container can be used to connect to the Docker API.

License

The MIT License.

The logo is licensed under the Creative Commons NoDerivatives 4.0 License.

If you have some other use in mind, contact us.

About

🚧 Assimilated into molecule-plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.6%
  • Jinja 8.4%