Skip to content

Don't pass deprecated disable_lookups to template function (fixes: ansible#4592) #4593

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leegarrett
Copy link

From the ansible 2.19 release notes:

  • templating - The disable_lookups option has no effect, since plugins must be updated to apply trust before any templating can be performed.

So remove it.

@leegarrett
Copy link
Author

Not sure if ansible-lint only supports the latest ansible version, or a range. In the latter case this should probably fall back to setting it again in < 2.19.

…sible#4592)

From the ansible 2.19 release notes:
- templating - The ``disable_lookups`` option has no effect, since plugins must be updated to apply trust before any templating can be performed.

So remove it.
@leegarrett leegarrett force-pushed the fix_unit_tests_4592 branch from 1a5ca3c to 2c7b6e9 Compare April 25, 2025 17:27
@leegarrett leegarrett changed the title Don't pass deprecated disable_lookups to template function (fixes: #4592) Don't pass deprecated disable_lookups to template function (fixes: ansible#4592) Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant