Skip to content

Commit

Permalink
fix br slv undef (openstack-k8s-operators#549)
Browse files Browse the repository at this point in the history
* Testing fix for job fails on ocp install because delete_bridge_slaves.stderr is undef

Jira: https://issues.redhat.com/browse/OSPK8-823

* update br stderr check
  • Loading branch information
pinikomarov authored Nov 25, 2024
1 parent c1babc0 commit aa705f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/ocp_ai_prep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
type: bridge-slave
state: absent
register: delete_bridge_slaves
failed_when: delete_bridge_slaves.stderr != "" and "unknown connection" not in delete_bridge_slaves.stderr
failed_when: delete_bridge_slaves.stderr is defined and "unknown connection" not in delete_bridge_slaves.stderr
when: item != ""
with_items:
- "{{ ocp_bm_prov_interface }}"
Expand Down

0 comments on commit aa705f7

Please sign in to comment.