4072a9e9a3
The conditional was wrong, and therefore always skipped.
When you have registered the output of with items, you get the
whole list in _registered_var.results.
Each item is the result itself, and for convenience, ansible
throws in the original item under the dict "item".
So here original item's repo in the results should be in
_registered_var.results[0].item.repo while the stat of the folder
should be in _registered_var.results[0].stat.<whatever>.
Replace _registered_var.results[::] with item and you get your
conditional. Magic!
Change-Id: I44acb420155d3bc09b271a4b2fa92b488aae4c89
(cherry picked from commit
|
||
---|---|---|
.. | ||
main.yml | ||
tempest_install.yml | ||
tempest_install_apt.yml | ||
tempest_install_yum.yml | ||
tempest_post_install.yml | ||
tempest_resources.yml | ||
tempest_run.yml |