new syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user