diff options
Diffstat (limited to 'benchmarks/playbooks/sys_info_pbook.yaml')
-rw-r--r-- | benchmarks/playbooks/sys_info_pbook.yaml | 14 |
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 |