aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-11 00:06:46 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-11 00:06:46 +0800
commit3f3f77828e1fa28e56a8cb91b125413763f6419c (patch)
tree075abcb352a75ee31425932517ab55f3b1043b3c
parent06915dd2b78fb2aaef842fb7105b164fc3c67413 (diff)
Fix warning on missing ansible hosts file
Change-Id: I9d6fdb7a55e8528ec1cd29338bbb24e6ca92d585 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r--qtip/cli/commands/cmd_workspace.py1
1 files changed, 1 insertions, 0 deletions
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,