From 2aa46ae4776801f46599f39162552dedbe362ae2 Mon Sep 17 00:00:00 2001 From: Tim Konick Date: Thu, 3 Nov 2022 23:24:55 -0400 Subject: [PATCH] Match up variable names --- templates/snmp/snmpd.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/snmp/snmpd.conf.j2 b/templates/snmp/snmpd.conf.j2 index 039bdb7..2447161 100644 --- a/templates/snmp/snmpd.conf.j2 +++ b/templates/snmp/snmpd.conf.j2 @@ -4,10 +4,10 @@ createUser {{ snmp_user }} SHA {{ snmp_password }} AES {{ snmp_encryption }} rouser {{ snmp_user }} priv {% if ansible_default_ipv4.address is defined %} -agentAddress {{ snmp_agentadress_protocol.ipv4 }}:{{ snmp_agentadress_adress.ipv4 }}:{{ snmp_agentadress_port.ipv4 }} +agentAddress {{ snmp_agentaddress_protocol.ipv4 }}:{{ snmp_agentaddress_adress.ipv4 }}:{{ snmp_agentaddress_port.ipv4 }} {% endif %} {% if ansible_default_ipv6.address is defined %} -agentAddress {{ snmp_agentadress_protocol.ipv6 }}:{{ snmp_agentadress_adress.ipv6 }}:{{ snmp_agentadress_port.ipv6 }} +agentAddress {{ snmp_agentaddress_protocol.ipv6 }}:{{ snmp_agentaddress_adress.ipv6 }}:{{ snmp_agentaddress_port.ipv6 }} {% endif %} {% if snmp_location is defined %}