Add a check for controllers without ironic enabled

This commit is contained in:
Kevin TIBI
2017-10-19 10:05:38 +02:00
committed by Mark Goddard
parent 038c73414e
commit aee86e5136

View File

@@ -1,6 +1,14 @@
---
- name: Ensure Ironic is enabled
hosts: controllers
tasks:
- name: Create controllers group with ironic enabled
group_by:
key: "controllers_with_ironic_enabled_{{ kolla_enable_ironic }}"
- name: Ensure locally built Ironic Python Agent images are copied
hosts: controllers[0]
hosts: controllers_with_ironic_enabled_True
vars:
# These are the filenames generated by overcloud-ipa-build.yml.
ipa_image_name: "ipa"