We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467fc36 commit e8e1b60Copy full SHA for e8e1b60
ansible/kayobe-automation-run-tempest.yml
@@ -80,6 +80,11 @@
80
become: true
81
when: tempest_accounts_path is defined
82
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
+
88
- name: Run tempest
89
command: |-
90
docker run --rm --entrypoint=/usr/bin/rally-verify-wrapper.sh
@@ -101,7 +106,7 @@
101
106
-v {{ accounts_path_remote }}:/home/rally/tempest-accounts:ro
102
107
{% endif -%}
103
108
--network host
104
- {{ rally_image_full }}
109
+ {{ rally_container_image_name.stdout }}
105
110
environment:
111
TEMPEST_PATTERN: "{{ lookup('env', 'TEMPEST_PATTERN') }}"
112
TEMPEST_VERSION: "{{ lookup('env', 'TEMPEST_VERSION') }}"
0 commit comments