Skip to content

Commit 0476f9d

Browse files
fultonjopenshift-merge-bot[bot]
authored andcommitted
[devscripts] fix quoted version test conditional
The when condition in 137_custom_install.yml wrapped the version test expression in double quotes, causing Ansible to evaluate it as a non-empty string (always True) instead of a boolean. Remove the outer quotes so the expression is evaluated correctly. Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: John Fulton <fulton@redhat.com>
1 parent 5b1d21e commit 0476f9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roles/devscripts/tasks/137_custom_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- name: Enable IP forwarding in the Network Operator.
1919
when:
2020
- cifmw_devscripts_config['network_type'] == 'OVNKubernetes'
21-
- ("cifmw_devscripts_config.openshift_version is ansible.builtin.version('4.14.0', '>=')") or
21+
- (cifmw_devscripts_config.openshift_version is ansible.builtin.version('4.14.0', '>=')) or
2222
(cifmw_devscripts_enable_ocp_nodes_host_routing | bool)
2323
vars:
2424
ip_forward: "{{ cifmw_devscripts_config.openshift_version is ansible.builtin.version('4.14.0', '>=') }}"

0 commit comments

Comments
 (0)