Search for last public image for reproducer

In order to filter out saved snapshots in the tenant, look for
public images when calculating the last one.

Change-Id: I06099486f9b0be9e7bed40ac6b351658a612b3df
This commit is contained in:
Sagi Shnaidman 2018-07-17 13:47:04 +03:00
parent a627135a53
commit 417ec7dd0c

View File

@ -41,7 +41,7 @@
block:
- name: find image
shell: openstack image list --long -f value -c ID --property latest=centos-7-latest
shell: openstack image list --long -f value -c ID --public --property latest=centos-7-latest
register: image_id_latest
- name: Set fact for image