From aee86e51368b0837d72ac1fbfb9ab174d427bea0 Mon Sep 17 00:00:00 2001 From: Kevin TIBI <kodokuu@gmail.com> Date: Thu, 19 Oct 2017 10:05:38 +0200 Subject: [PATCH] Add a check for controllers without ironic enabled --- ansible/kolla-openstack.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ansible/kolla-openstack.yml b/ansible/kolla-openstack.yml index 986970c7..71c5765b 100644 --- a/ansible/kolla-openstack.yml +++ b/ansible/kolla-openstack.yml @@ -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" -- GitLab