mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	This commit is contained in:
		| @@ -138,7 +138,7 @@ | ||||
|         path: "{{ zabbix_agent_cfg }}" | ||||
|         insertafter: '^# UserParameter=' | ||||
|         regexp: "^UserParameter=system.certs.*" | ||||
|         line: "UserParameter=system.certs,python3 /share/ZFS530_DATA/.qpkg/ZabbixAgent/cert_check2.py" | ||||
|         line: "UserParameter=system.certs, /share/ZFS530_DATA/.qpkg/QPython312/bin/python3 /share/Data/__GITLAB/cert_check/cert_check.py" | ||||
|       when: inventory_hostname == 'nas.home.lan' | ||||
|  | ||||
|  | ||||
| @@ -147,7 +147,7 @@ | ||||
|         path: "{{ zabbix_agent_cfg }}" | ||||
|         insertafter: '^# UserParameter=' | ||||
|         regexp: "^UserParameter=system.certs.*" | ||||
|         line: "UserParameter=system.certs,python3 /usr/bin/cert_check2.py" | ||||
|         line: "UserParameter=system.certs,sudo /usr/bin/cert_check2.py" | ||||
|       when: inventory_hostname == 'm-server.home.lan' | ||||
|  | ||||
|  | ||||
| @@ -155,7 +155,8 @@ | ||||
|       ansible.builtin.lineinfile: | ||||
|         path: "{{ zabbix_agent_cfg }}" | ||||
|         insertafter: '^# UserParameter=' | ||||
|         line: "UserParameter=rpi.hw.temp,/usr/bin/vcgencmd measure_temp|awk -F'=' '{ print $2 }'|sed 's/'C//'" | ||||
|         regexp: "^UserParameter=rpi.hw.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