playbooks/host-info: removed the temperature part
as the temperatures might not be available, they were completely removed Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
3d46bbd4ab
commit
57daef6361
|
|
@ -27,10 +27,6 @@
|
|||
register: getramusage
|
||||
ansible.builtin.shell: |
|
||||
free -h >> {{tmpFile}}
|
||||
- name: Get Temperatures
|
||||
register: gettemperatures
|
||||
ansible.builtin.shell: |
|
||||
/bin/bash -c "paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/' >> {{tmpFile}}"
|
||||
- name: Print all Information
|
||||
register: printall
|
||||
ansible.builtin.shell: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue