Currently as we are iterating over a higher level dictionary
and it is not possible to access the item.value.url attribute
directly.
Alternatively, we could get the values that is a list and
then iterate over that list to get properly the url and
checksum variables.
Also, we are not iterating over the dictionary we alternatively change
the item.key to galera_server_percona_distro_packages_alt_arch.keys()[0]
that produces the result as item.key.
Change-Id: I3e102377630d9c8ea5c9e3ea03cae3975a05dbb8
Closes-Bug: #1815902
(cherry picked from commit 36d95a112da30d60847108946b433c376b4e77cc)
Reviewed: https:/ /review. openstack. org/637826 /git.openstack. org/cgit/ openstack/ openstack- ansible- galera_ server/ commit/ ?id=85f7b2c1afb 312a8bd0a8602d9 b5032d4c59953e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 85f7b2c1afb312a 8bd0a8602d9b503 2d4c59953e
Author: Guilherme Steinmüller <email address hidden>
Date: Fri Feb 15 19:03:21 2019 +0000
Iterate over list of values of PPC packages dict
Currently as we are iterating over a higher level dictionary
and it is not possible to access the item.value.url attribute
directly.
Alternatively, we could get the values that is a list and
then iterate over that list to get properly the url and
checksum variables.
Also, we are not iterating over the dictionary we alternatively change server_ percona_ distro_ packages_ alt_arch. keys()[ 0]
the item.key to galera_
that produces the result as item.key.
Change-Id: I3e102377630d9c 8ea5c9e3ea03cae 3975a05dbb8 0847108946b433c 376b4e77cc)
Closes-Bug: #1815902
(cherry picked from commit 36d95a112da30d6