Skip to content

Conversation

@jfroche
Copy link
Collaborator

@jfroche jfroche commented Jan 20, 2026

No description provided.

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`
Configure pre-commit hook to run ansible-lint on test playbooks and their dependencies.
Since test playbooks include tasks from existing task files, ansible-lint automatically validates those dependencies as well.
And use docker to run tests
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 20, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jfroche jfroche force-pushed the system-manager-nginx branch from ca3f649 to f8ba3de Compare January 20, 2026 19:04
@jfroche jfroche force-pushed the test/ansible-tasks branch 2 times, most recently from ead0f96 to 0f23b49 Compare January 29, 2026 22:05
@jfroche jfroche self-assigned this Jan 29, 2026
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.

3 participants