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