mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 21:07:06 +01:00
klal
This commit is contained in:
1 parent
b002c955ec
commit
3e2a741ad9
1 file changed
+1
-1
@@ -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'
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user