https://github.com/mdb/dind-ansible-molecule
A Concourse-friendly container image that leverages Docker-in-Docker for executing Molecule tests against Ansible roles and playbooks using Molecule's Docker driver.
https://github.com/mdb/dind-ansible-molecule
Last synced: 3 months ago
JSON representation
A Concourse-friendly container image that leverages Docker-in-Docker for executing Molecule tests against Ansible roles and playbooks using Molecule's Docker driver.
- Host: GitHub
- URL: https://github.com/mdb/dind-ansible-molecule
- Owner: mdb
- Created: 2020-12-04T12:26:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T10:36:30.000Z (about 2 years ago)
- Last Synced: 2025-04-17T16:55:27.425Z (about 1 year ago)
- Language: Makefile
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dind-molecule-ansible
A container image that leverages Docker-in-Docker for executing [Molecule](https://molecule.readthedocs.io/en/latest/) tests against [Ansible](https://www.ansible.com/) roles and playbooks using Molecule's Docker driver.
`dind-ansible-molecule` allows you to execute `molecule test` from within a `dind-ansible-molecule` container and leverage the container's Docker-in-Docker support to test your roles and playbooks.
Use cases:
* you don't wanna install Python, Ansible, Molecule, etc. in local development and would prefer a containerized development environment
* you need a container image that supports Docker-in-Docker for executing `molecule test` in CI
[Testing Ansible Roles With Docker-in-Docker](http://www.mikeball.info/blog/testing-ansible-roles-with-docker-in-docker/) offers a bit more context.
## Pulling
From `hub.docker.com`:
```
docker pull clapclapexcitement/dind-ansible-molecule
```
## Building
```
make
```