aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/sys_info_pbook.yaml
blob: cef5e608e3b7bd6bffd33230113e1cdbf7f19d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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