From eb5b16f97709ee64588694f790a3fa9404a8abf7 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 19 Nov 2024 14:43:05 +0100 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 fffb1cd..5db702d 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -99,7 +99,7 @@ ansible.builtin.lineinfile: path: "{{ zabbix_agent_cfg }}" regexp: "^Hostname=.*" - line: "Hostname={{ansible_hostname}}" + line: "Hostname={{ inventory_hostname }}" - name: Reconfigure zabbix-agent2 config ansible.builtin.lineinfile: