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:
Marc Mattmüller 2023-07-18 12:58:49 +02:00
parent 3d46bbd4ab
commit 57daef6361
1 changed files with 0 additions and 4 deletions

View File

@ -27,10 +27,6 @@
register: getramusage register: getramusage
ansible.builtin.shell: | ansible.builtin.shell: |
free -h >> {{tmpFile}} 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 - name: Print all Information
register: printall register: printall
ansible.builtin.shell: | ansible.builtin.shell: |