Only check presence of locally built IPA image on first controller

The image is only built on the first controller, so will not be present on other controllers.
This commit is contained in:
Mark Goddard
2017-12-05 17:08:12 +00:00
committed by GitHub
parent c370b54a41
commit 50a8e72a23

View File

@@ -8,7 +8,7 @@
key: "controllers_with_ironic_enabled_{{ kolla_enable_ironic | bool }}"
- name: Ensure locally built Ironic Python Agent images are copied
hosts: controllers_with_ironic_enabled_True
hosts: controllers_with_ironic_enabled_True[0]
vars:
# These are the filenames generated by overcloud-ipa-build.yml.
ipa_image_name: "ipa"