aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/sys_info_pbook.yaml
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2015-11-12 16:28:30 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2015-11-19 15:11:00 +0500
commita6ed66db5fc4e100ccc4e32f4c336d2dca6688b4 (patch)
tree7e9a16a94d83fdcc1a30d1a88f7a6816fd8e01d0 /benchmarks/playbooks/sys_info_pbook.yaml
parent735123d3a10789e771f621f3a0d8a299903063a0 (diff)
RAMSpeed Benchmarks Included along with Sys Info for Net testcases
RAMSpeed benchmark playbooks, result transformation scripts included. System Information also included for Network Testcases System Information Playbook checks for the type of testcase, and gathers benchmark relevant information only (No Network Info for Compute TestCase) JIRA: QTIP-54 JIRA: QTIP-38 Change-Id: I8612f06fedfaf7314552c06f388ea6c0cd23f1ee 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.yaml14
1 files changed, 12 insertions, 2 deletions
diff --git a/benchmarks/playbooks/sys_info_pbook.yaml b/benchmarks/playbooks/sys_info_pbook.yaml
index cef5e608..cc926b7e 100644
--- a/benchmarks/playbooks/sys_info_pbook.yaml
+++ b/benchmarks/playbooks/sys_info_pbook.yaml
@@ -7,9 +7,19 @@
- name: system info collection tool install when Ubuntu
shell: apt-get install inxi -y
when: ansible_os_family == "Debian"
+ - name: Install ansible copy dependencies if remote host has selinux enabled
+ shell: yum install libselinux-python -y
+ when: ansible_os_family == "RedHat"
+ - name: Install ansiblle copy dependencies if remote host has selinux enaled
+ shell: apt-get install libselinux-python -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
+ - name: collecting system informaton for non-network test cases
+ shell: cd $HOME/qtip_result && python info_collect.py c
+ when: not network
+ - name: collecting system information for network test cases
+ shell: cd $HOME/qtip_result && python info_collect.py n
+ when: network