diff --git a/roles/server/tasks/utilities/snmpd.yml b/roles/server/tasks/utilities/snmpd.yml index 2a816f5..951b98f 100644 --- a/roles/server/tasks/utilities/snmpd.yml +++ b/roles/server/tasks/utilities/snmpd.yml @@ -53,7 +53,7 @@ path: "{{ snmpd_conf }}" regexp: "^agentaddress.*$" state: present - line: "agentaddress 127.0.0.1,{{ wg_local_ip | ipaddr('address') }},[::1]" + line: "agentaddress 127.0.0.1,{{ wg_local_ip | ansible.utils.ipaddr('address') }},[::1]" when: wg_local_ip is defined - name: server | snmpd | set sysLocation