aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-07-11 11:37:25 +0000
committerGerrit Code Review <review@openstack.org>2024-07-11 11:37:25 +0000
commit362cf2bbe324b16d7a7f63db4dac7026d70c567e (patch)
treee0376a83f94f843f7a20753e0745c93623c120e8 /tests/run.yml
parentd44113ec087155d4e159b82f999ff7675bfc55b3 (diff)
parenta535e65a85aa99af2e42a22a891de79a172bd033 (diff)
downloadkolla-ansible-362cf2bbe324b16d7a7f63db4dac7026d70c567e.tar.gz
kolla-ansible-362cf2bbe324b16d7a7f63db4dac7026d70c567e.zip
Merge "Fix prechecks for interfaces with dashes"
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.yml b/tests/run.yml
index 50c5f2670..275907e14 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -350,7 +350,7 @@
KOLLA_SWIFT_BASE_IMAGE: "{{ docker_image_prefix }}swift-base:{{ docker_image_tag }}"
# NOTE(yoctozepto): no IPv6 for now
STORAGE_NODES: "{{ groups['all'] | map('extract', hostvars,
- ['ansible_'+api_interface_name, 'ipv4', 'address'])
+ ['ansible_'+api_interface_name | replace('-','_') , 'ipv4', 'address'])
| join(' ') }}"
CONTAINER_ENGINE: "{{ container_engine }}"
when: scenario == 'swift'