diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-08-29 11:26:22 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2016-08-29 03:28:50 +0000 |
commit | 54586f643db4415eba99f576d42253dfd07ed543 (patch) | |
tree | 5061ff04a68b0d27661b4df6928dc85dba290a5d | |
parent | 3950a609b6332f0a25f5d8298ad6571809912f76 (diff) |
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 <wu.zhihui1@zte.com.cn>
-rw-r--r-- | func/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |