Skip to content

[dnsmasq] Fix ipaddr filter to return boolean in conditional#3654

Merged
evallesp merged 1 commit intoopenstack-k8s-operators:mainfrom
holser:ansible-2.17_dnsmasq
Feb 6, 2026
Merged

[dnsmasq] Fix ipaddr filter to return boolean in conditional#3654
evallesp merged 1 commit intoopenstack-k8s-operators:mainfrom
holser:ansible-2.17_dnsmasq

Conversation

@holser
Copy link
Contributor

@holser holser commented Feb 3, 2026

Use ternary filter to convert ansible.utils.ipaddr result to explicit boolean. Ansible 2.16+ requires conditionals to evaluate to true/false, not truthy/falsy values.

Use ternary filter to convert ansible.utils.ipaddr result to explicit
boolean. Ansible 2.16+ requires conditionals to evaluate to true/false,
not truthy/falsy values.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Sergii Golovatiuk <sgolovat@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 3, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign michburk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@evallesp evallesp enabled auto-merge (rebase) February 5, 2026 11:04
@evallesp evallesp merged commit 501ae13 into openstack-k8s-operators:main Feb 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants