From 3f3f77828e1fa28e56a8cb91b125413763f6419c Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 11 May 2017 00:06:46 +0800 Subject: Fix warning on missing ansible hosts file Change-Id: I9d6fdb7a55e8528ec1cd29338bbb24e6ca92d585 Signed-off-by: Yujun Zhang --- qtip/cli/commands/cmd_workspace.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qtip/cli/commands/cmd_workspace.py b/qtip/cli/commands/cmd_workspace.py index f6f9fc57..a5b6828f 100644 --- a/qtip/cli/commands/cmd_workspace.py +++ b/qtip/cli/commands/cmd_workspace.py @@ -37,6 +37,7 @@ def create(pod, installer, master_host, scenario, name): 'workspace': name } os.system("ANSIBLE_ROLES_PATH={qtip_package}/{roles_path} ansible-playbook" + " -i {qtip_package}/{roles_path}/qtip-workspace/hosts" " {qtip_package}/{roles_path}/qtip-workspace/create.yml" " --extra-vars '{extra_vars}'" "".format(qtip_package=utils.QTIP_PACKAGE, -- cgit 1.2.3-korg