new syntax

This commit is contained in:
2024-07-22 15:10:21 +02:00
parent 14e7b08efe
commit 82e1ce04da

View File

@@ -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