Fix cleanup octavia LBs

Change-Id: I805b0d434e2c2f204645eff8c9e38ce825b2e405
This commit is contained in:
Eduardo Olivares 2023-11-23 16:40:02 +01:00
parent 8487bf0ba2
commit ebdeee396e

View File

@ -1,7 +1,7 @@
---
- name: "cleanup Loadbalancers created by Tobiko tests"
shell: |
for lb in $({{ openstack_cmd }} loadbalancer list -f value -c 'name' | grep "^tobiko\.")
for lb in $({{ openstack_cmd }} loadbalancer list -f value -c 'name' | grep "^tobiko")
do
{{ openstack_cmd }} loadbalancer delete --cascade --wait $lb
done