This commit is contained in:
jaydee committed 2025-07-09 08:35:24 +02:00
1 parent b002c955ec
commit 3e2a741ad9
1 file changed
+1 -1
+1 -1
View File
@@ -155,7 +155,7 @@
ansible.builtin.lineinfile:
path: "{{ zabbix_agent_cfg }}"
insertafter: '^# UserParameter='
line: "UserParameter=rpi.hw.temp,/usr/bin/vcgencmd measure_temp"
line: "UserParameter=rpi.hw.temp,/usr/bin/vcgencmd measure_temp|awk -F'=' '{ print $2 }'|sed 's/'C//'"
when: inventory_hostname == 'rpi5.home.lan'