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

Remove jinja2 templating from assertion predicates #631

Merged

Conversation

Ianvdl
Copy link
Contributor

@Ianvdl Ianvdl commented Apr 18, 2024

This addresses a fatal error in newer Ansible versions caused by a warning stating that "conditional statements should not include jinja2 templating". This warning leads to the fatal error stating that the conditional check is marked as unsafe.

This patch removes the jinja templating from the strings and also removes the strings themselves, leaving the bare predicate.

This addresses a fatal error in newer Ansible versions caused by a
warning stating that "conditional statements should not include jinja2
templating". This warning leads to the fatal error stating that the
conditional check is marked as unsafe.

This patch removes the jinja templating from the strings and also
removes the strings themselves, leaving the bare predicate.
Copy link
Contributor

@vibhorkumar123 vibhorkumar123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vibhorkumar123 vibhorkumar123 merged commit f5b97cb into EnterpriseDB:main Apr 30, 2024
16 checks passed
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