Skip to content

Conversation

@jfroche
Copy link
Collaborator

@jfroche jfroche commented Oct 31, 2025

This complements the existing AMI tests in testinfra by providing a faster feedback loops for Ansible development without requiring a full VM.

We are also using testinfra to validate that the Ansible tasks have the desired effect.

It is based on Docker, it can be run locally (e.g. macOS) or in CI.

Note that this approach is not intended to replace the AMI tests, but rather to provide a more efficient way to test Ansible tasks during development.

You can run the tests using nix run -L .\#ansible-test

@jfroche jfroche force-pushed the test/ansible-tasks branch 7 times, most recently from caf110d to a79867e Compare October 31, 2025 17:29
This complements the existing AMI tests in testinfra by providing
a faster feedback loops for Ansible development without requiring a full
VM.

We are also using testinfra to validate that the Ansible tasks have the
desired effect.

It is based on Docker, it can be run locally (e.g. macOS) or in CI.

Note that this approach is not intended to replace the AMI tests, but
rather to provide a more efficient way to test Ansible tasks during
development.

You can run the tests using `nix run -L .\#ansible-test`
@jfroche jfroche force-pushed the test/ansible-tasks branch from a79867e to 7fad1eb Compare October 31, 2025 17:30
@jfroche jfroche marked this pull request as ready for review October 31, 2025 17:30
@jfroche jfroche requested review from a team as code owners October 31, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants