diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index d8d001c..e0eab97 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -119,7 +119,7 @@ ansible.builtin.lineinfile: path: "{{ zabbix_agent_cfg }}" insertafter: '^# UserParameter=' - 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/ZFS530_DATA/.qpkg/ZabbixAgent/cert_check2.py" become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" when: inventory_hostname in groups['nas']