Fix CI test failure: use uv-managed ansible in test script

The test script was calling ansible-playbook directly instead of 'uv run ansible-playbook',
which caused it to use the system-installed ansible that doesn't have access to the
netaddr dependency required by the ansible.utils.ipmath filter.

This fixes the CI error: 'Failed to import the required Python library (netaddr)'

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Dan Guido 2025-08-06 04:30:09 -07:00
parent 6f3ff69e8f
commit 02bd83e01a

View file

@ -54,7 +54,7 @@ EOF
# Run Ansible in check mode to verify templates work
echo "Running Ansible in check mode..."
ansible-playbook main.yml \
uv run ansible-playbook main.yml \
-i "localhost," \
-c local \
-e @test-config.cfg \