Skip to content

Commit e8e1b60

Browse files
committed
wip
1 parent 467fc36 commit e8e1b60

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ansible/kayobe-automation-run-tempest.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@
8080
become: true
8181
when: tempest_accounts_path is defined
8282

83+
- name: Register rally container image name
84+
shell: "docker image ls | grep {{ rally_image }} | awk 'NR==1{print $1}'"
85+
register: rally_container_image_name
86+
become: true
87+
8388
- name: Run tempest
8489
command: |-
8590
docker run --rm --entrypoint=/usr/bin/rally-verify-wrapper.sh
@@ -101,7 +106,7 @@
101106
-v {{ accounts_path_remote }}:/home/rally/tempest-accounts:ro
102107
{% endif -%}
103108
--network host
104-
{{ rally_image_full }}
109+
{{ rally_container_image_name.stdout }}
105110
environment:
106111
TEMPEST_PATTERN: "{{ lookup('env', 'TEMPEST_PATTERN') }}"
107112
TEMPEST_VERSION: "{{ lookup('env', 'TEMPEST_VERSION') }}"

0 commit comments

Comments
 (0)