https://github.com/tecnativa/ansible-test-playground
Deploy a docker-based test playground for your ansible roles CI, as simple as possible
https://github.com/tecnativa/ansible-test-playground
ansible ansible-role ci docker docker-image
Last synced: about 2 months ago
JSON representation
Deploy a docker-based test playground for your ansible roles CI, as simple as possible
- Host: GitHub
- URL: https://github.com/tecnativa/ansible-test-playground
- Owner: Tecnativa
- License: apache-2.0
- Created: 2018-09-03T11:13:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T13:55:18.000Z (over 7 years ago)
- Last Synced: 2025-10-07T01:47:27.636Z (9 months ago)
- Topics: ansible, ansible-role, ci, docker, docker-image
- Language: Dockerfile
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Test Playground
[](https://travis-ci.org/Tecnativa/ansible-test-playground)
[](https://hub.docker.com/r/tecnativa/ansible-test-playground)
[](https://github.com/Tecnativa/ansible-test-playground/blob/master/LICENSE)
[][galaxy]
This role deploys a desired inventory using systemd-enabled docker images for
different supported OS, so **it is made for testing other roles or playbooks**.
## Requirements
- `pip install -r requirements.txt`
- A running Docker daemon.
## Role Variables
See [`defaults/main.yml`][defaults] to know about the default values and the
available variables.
## How To Use This Role And The `:lifecycle` Docker Image
[See the example here][testdir]. It also includes explanations.
You can also take a look at these projects, which use this testing framework:
- [`tecnativa.docker`](https://github.com/Tecnativa/ansible-role-docker).
## License
Apache 2.
## Author Information
This project is maintained by:
[][Tecnativa]
[Tecnativa][] is an IT consulting company specialized in Odoo and provides Odoo
development, installation, maintenance and hosting services.
[defaults]: https://github.com/Tecnativa/ansible-test-playground/tree/master/defaults/main.yml
[galaxy]: https://galaxy.ansible.com/tecnativa/ansible_test_playground
[inventory]: https://github.com/Tecnativa/ansible-test-playground/tree/master/tests/inventory.cfg
[Tecnativa]: https://www.tecnativa.com/
[testdir]: https://github.com/Tecnativa/ansible-test-playground/tree/master/tests