xci: OSA: Fix warning about missing inventory file 19/53519/1
authorMarkos Chandras <mchandras@suse.de>
Mon, 12 Mar 2018 10:40:39 +0000 (10:40 +0000)
committerMarkos Chandras <mchandras@suse.de>
Mon, 12 Mar 2018 10:40:39 +0000 (10:40 +0000)
This is similar to 346079ea1b8dbda0c5e282c18f30cbac7e907d1e
("xci: Fix warning about missing inventory file")

This playbook only affects localhost so make it explicit. Fixes:

[WARNING]: Host file not found: inventory
[WARNING]: provided hosts list is empty, only localhost is available

Change-Id: If8548a36498ea3191de33cff94acbaee6ed04ce3
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/osa/deploy.sh

index 3c27fd7..6702b67 100755 (executable)
@@ -39,7 +39,7 @@ fi
 echo "Info: Configuring localhost for openstack-ansible"
 echo "-----------------------------------------------------------------------"
 cd $XCI_PLAYBOOKS
-ansible-playbook ${XCI_ANSIBLE_PARAMS} -i inventory configure-localhost.yml
+ansible-playbook ${XCI_ANSIBLE_PARAMS} -i "localhost," configure-localhost.yml
 echo "-----------------------------------------------------------------------"
 echo "Info: Configured localhost host for openstack-ansible"