Perform IP allocation after discovering overcloud hosts

This commit is contained in:
Mark Goddard 2017-05-29 16:59:10 +01:00
parent 3a9dd4f342
commit 44e8c0663d

View File

@ -314,6 +314,9 @@ class OvercloudInventoryDiscover(KayobeAnsibleMixin, VaultMixin, Command):
# are used to populate other inventories.
self.run_kayobe_playbook(parsed_args,
"ansible/overcloud-inventory-discover.yml")
# If necessary, allocate IP addresses for the discovered hosts.
self.run_kayobe_playbook(parsed_args,
"ansible/ip-allocation.yml")
# Now populate the Kolla Ansible and Bifrost inventories.
self.run_kayobe_playbook(parsed_args,
"ansible/kolla-bifrost-hostvars.yml")