Skip to content
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

ci: fix unsafe conditional #332

Merged
merged 1 commit into from
Aug 28, 2024
Merged

ci: fix unsafe conditional #332

merged 1 commit into from
Aug 28, 2024

Conversation

justinc1
Copy link
Collaborator

The git_issue_41 integration test failed in #328 with

fatal: [testhost]: FAILED! => {"msg": "The conditional check '\"{{ vm_created.record.0.disks.2.iso_name }}\" == \"cloud-init-{{ (vm_created.record.0.uuid | split(\"-\")) [0] }}.iso\"' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated."}

PR fixes the testing code. I checked on my PC that test failed with ansible-core 2.16 before, and passed after.

Signed-off-by: Justin Cinkelj <[email protected]>
@justinc1 justinc1 self-assigned this Aug 28, 2024
@justinc1 justinc1 mentioned this pull request Aug 28, 2024
@justinc1 justinc1 merged commit ed4c238 into main Aug 28, 2024
27 checks passed
@justinc1 justinc1 deleted the ci-fix-unsafe-conditionals branch August 28, 2024 15:41
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