xci: kubespray: Switch kubespray to dynamic inventory 91/57391/7
authorMarkos Chandras <mchandras@suse.de>
Tue, 15 May 2018 09:56:23 +0000 (10:56 +0100)
committerMarkos Chandras <mchandras@suse.de>
Wed, 16 May 2018 13:46:00 +0000 (14:46 +0100)
commit0ed80c59846e9e1b23d26869f05f109dac7495c5
treeff57633e68f9a557bd69a4b2ba3327e10e91635f
parent8dc9f3a0d2c4db3bd9720966043dda0d2d4431bb
xci: kubespray: Switch kubespray to dynamic inventory

The kubespray installer contains one inventory per flavor. We can get
rid of these files and use the dynamic inventory similar to OSA.
Moreover, we extend the dynamic inventory to read additional group
variables per flavor if necessary. This way we can still pass additional
information to inventory on per-flavor basis. This also fixes a typo
in the 'IDF' file. We also need to bump Ansible for kubespray since the
version we were using is having troubles with dynamic inventories.

Change-Id: Ic58101555f81aec5fee3c193608440aa89bbe445
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/config/env-vars
xci/installer/kubespray/deploy.sh
xci/installer/kubespray/files/aio/inventory/inventory.cfg [deleted file]
xci/installer/kubespray/files/ha/inventory/inventory.cfg [deleted file]
xci/installer/kubespray/files/mini/inventory/inventory.cfg [deleted file]
xci/installer/kubespray/files/noha/inventory/inventory.cfg [deleted file]
xci/installer/kubespray/playbooks/configure-opnfvhost.yml
xci/playbooks/dynamic_inventory.py
xci/var/idf.yml