https://github.com/geerlingguy/ansible-content-testing
Testing repository for various bits of Ansible content in 2.10 transition.
https://github.com/geerlingguy/ansible-content-testing
ansible collections galaxy roles test testing
Last synced: 12 months ago
JSON representation
Testing repository for various bits of Ansible content in 2.10 transition.
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-content-testing
- Owner: geerlingguy
- License: mit
- Created: 2020-04-13T16:37:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T17:25:32.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T07:12:40.992Z (over 1 year ago)
- Topics: ansible, collections, galaxy, roles, test, testing
- Language: Python
- Size: 39.1 KB
- Stars: 8
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Content Testing repository
[](https://github.com/geerlingguy/ansible-content-testing/actions?query=workflow%3ACI)
This repository is meant to test the migration of various types of module and role invocations against the 'next generation' of Ansible, e.g. the ACD Ansible Community Distribution.
## Testing
This project uses `molecule` to run tests in a controlled execution environment, and also requires `kind` to be installed for a local Kubernetes cluster to test against. Finally, it also requires the `openshift` Docker library be installed (`pip3 install openshift`).
Make sure you have [Molecule](https://molecule.readthedocs.io/en/latest/), [Docker](https://docs.docker.com/get-docker/), and [Kind](https://kind.sigs.k8s.io) installed, then run:
molecule test
The [CI GitHub Actions Workflow](https://github.com/geerlingguy/ansible-content-testing/actions?query=workflow%3ACI) is meant to test this playbook against the following scenarios:
- Latest Ansible 2.9.x release (should pass)
- Latest Ansible ACD release (what will become 2.10) (should pass)
- Latest ansible-base release (`devel` branch) (should fail)
## License
MIT.
## Author
[Jeff Geerling](https://www.jeffgeerling.com) maintains a [large variety of Ansible content](https://ansible.jeffgeerling.com).