summaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/sys_info_pbook.yaml
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2015-11-09 11:59:54 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2015-11-09 11:59:54 +0500
commit735123d3a10789e771f621f3a0d8a299903063a0 (patch)
tree7f76bd653298ff19bad59eb1fd8ec7a643bf90e0 /benchmarks/playbooks/sys_info_pbook.yaml
parent95bf8a8c96b2be94512e042f3f3c82edcbebf84d (diff)
Ansible compute benchmarks playbooks with system Info & result transform
Updated playbooks for SSL,DPI,Dhrystone,Whetstone Also included python scripts for system information collection(compute benchmarks) and result transformation into JSON files for the aforementioned compute benchmarks JIRA:QTIP-20 JIRA:QTIP-36 JIRA:QTIP-37 JIRA:QTIP-39 JIRA:QTIP-40 JIRA:QTIP-52 Change-Id: I3c099d71d8316c15f0619313bd4f9829a58f6e33 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'benchmarks/playbooks/sys_info_pbook.yaml')
-rw-r--r--benchmarks/playbooks/sys_info_pbook.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/playbooks/sys_info_pbook.yaml b/benchmarks/playbooks/sys_info_pbook.yaml
new file mode 100644
index 00000000..cef5e608
--- /dev/null
+++ b/benchmarks/playbooks/sys_info_pbook.yaml
@@ -0,0 +1,15 @@
+ - name: Epel Release install when CentOS
+ shell: yum install epel-release -y
+ when: ansible_os_family == "RedHat"
+ - name: Inxi install when CentOS
+ shell: yum install inxi -y
+ when: ansible_os_family == "RedHat"
+ - name: system info collection tool install when Ubuntu
+ shell: apt-get install inxi -y
+ when: ansible_os_family == "Debian"
+ - name: system_info script copy
+ copy: src=./info_script/info_collect.py dest={{home_dir.stdout}}/qtip_result/
+ - name: collecting_sys_info
+ shell: cd $HOME/qtip_result && python info_collect.py
+
+