From bc1d30189211943adfee1a1c0cf994fa307c9d24 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 22 Oct 2024 22:45:14 +0200 Subject: [PATCH] bitwarden --- playbooks/00_install_zabbix_agent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index e0eab97..d8d001c 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,/share/ZFS530_DATA/.qpkg/QPython312/bin/python3 /share/ZFS530_DATA/.qpkg/ZabbixAgent/cert_check2.py" + line: "UserParameter=system.certs,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']