Kolla: Fetch network interface name from baremetal
network_interface and neutron_external_interface variables
are now fetched directly from the corresponding baremetal
nodes, so the hardcoding of them is removed.
These variables are now set in the inventory per host.
deploy-scenario: os-nosdn-nofeature
installer-type: kolla
Change-Id: I5b54d1f8f9fb27396502de33a9aff9cd29c6bc4f
diff --git a/playbooks/generate-inventory.yml b/playbooks/generate-inventory.yml
index fa9b24a..4fa7ffd 100644
--- a/playbooks/generate-inventory.yml
+++ b/playbooks/generate-inventory.yml
@@ -17,6 +17,18 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
+- hosts: baremetal
+ remote_user: root
+ gather_facts: true
+ vars_files:
+ - "{{ engine_path }}/engine/var/versions.yml"
+ - "{{ engine_path }}/engine/var/global.yml"
+ - "{{ pdf_file }}"
+ - "{{ idf_file }}"
+
+ roles:
+ - role: get-baremetal-info
+
- hosts: localhost
connection: local
gather_facts: true