aboutsummaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorNauman Ahad <Nauman_Ahad@dell.com>2016-01-18 12:13:19 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-18 12:13:19 +0000
commit559b51c45a93621a96c6c29332fdcc768578eb71 (patch)
tree41b680a29e8b735f660c9e5c18e2b1c5ebcc4ad3 /func
parent499c791fe98cea785f3215c65b2a1b2211c27267 (diff)
parent254ebb0efff73faa2285cf9f1ce70298a9787cb0 (diff)
Merge "bug fix: make installer specific changes for baremetal. cater for fuel"
Diffstat (limited to 'func')
-rw-r--r--func/driver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/driver.py b/func/driver.py
index 0dc0a6e1..7ccbb0c0 100644
--- a/func/driver.py
+++ b/func/driver.py
@@ -29,7 +29,7 @@ class Driver:
self.dic_json['Dest_dir'] = str(result_dir)
self.dic_json['ip1']=''
self.dic_json['ip2']=''
-
+ self.dic_json['installer']=str(os.environ['INSTALLER_TYPE'])
for k,v in benchmark_detail:
self.dic_json[k]=v
for k, v in roles:
@@ -46,5 +46,6 @@ class Driver:
self.dic_json['privateip'+str(index)] = 'NONE'
index= index+1
dic_json = json.dumps(dict(self.dic_json.items()))
+ print dic_json
run_play = 'ansible-playbook -s ./benchmarks/playbooks/{0} --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\' -v '.format(benchmark_name, dic_json)
status = os.system(run_play)