From 54586f643db4415eba99f576d42253dfd07ed543 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Mon, 29 Aug 2016 11:26:22 +0800 Subject: 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 --- func/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg