-
Notifications
You must be signed in to change notification settings - Fork 84
Fix data tag related tests #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
for more information, see https://pre-commit.ci
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 13s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 11s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 7m 49s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 19s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 24s |
for more information, see https://pre-commit.ci
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 53s |
SUMMARY
This PR addresses and resolves several failing unit and integration tests in the ansible.utils collection caused by recent changes in Ansible 2.19’s templating system.
also related to #398
Root Cause:
Starting with Ansible 2.19, the internal behavior of the Jinja2-based templating engine has changed. Specifically:
Additionally, some integration tests showed inconsistent behavior across Ansible versions (e.g., 2.17, 2.18 vs 2.19) due to how JSON was read and interpreted from file lookups:
Fixes the certain failing unit and integration tests in utils
IMPACT
In Ansible 2.19, undefined values (like AnsibleUndefined) no longer reach filter functions directly. Instead:
ISSUE TYPE