fix: (IAC-1362) Fix the V4M_ROUTING Validation Task #525
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Fix the
V4M - ensure supported value for V4M_ROUTING
task to that the intersect function has the correct input format.Cause:
It looks like when we updated the
ansible
version from 9.1.0->8.6.0 this problem started appearing. That version bump causes theansible-core
version to go from 2.15->2.16.Looking at the release notes for 2.16 it looks like there was a bug fix around set filters that changed its behavior. We are updating this function so we don't rely on its previous "bugged" behavior.
https://github.com/ansible/ansible/blob/stable-2.16/changelogs/CHANGELOG-v2.16.rst#v2-16-0
From CHANGELOG:
Example of behavior:
ansible-core 2.15
ansible-core 2.16
Tests