From: wu.zhihui Date: Mon, 29 Aug 2016 03:26:22 +0000 (+0800) Subject: bugfix: miss a whitespace in the playbook command. X-Git-Tag: danube.1.0~296 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F19707%2F2;p=qtip.git bugfix: miss a whitespace in the playbook command. According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod2-daily -master/13/consoleFull, ERROR! the playbook: ./benchmarks/playbooks/dhrystone.yaml--private-key=./data/QtipKey could not be found miss a whitespace in the playbook command. Change-Id: Id5fea085eb3e24e4105f20ec800d4a07478fb383 Signed-off-by: wu.zhihui --- diff --git a/func/driver.py b/func/driver.py index f26f63db..63a9c369 100644 --- a/func/driver.py +++ b/func/driver.py @@ -57,7 +57,7 @@ class Driver: extra_vars_json = json.dumps(dict(extra_vars.items())) logging.info(extra_vars_json) run_play = 'ansible-playbook ./benchmarks/playbooks/{0}.yaml' \ - '--private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\'' \ + ' --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\'' \ .format(benchmark, extra_vars_json) os.system(run_play)