use default if not a wg client
This commit is contained in:
1 parent
13080071eb
commit
c7e0bf8c3c
1 file changed
+1
-2
@@ -74,8 +74,7 @@
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
regexp: "^agentaddress.*$"
|
||||
state: present
|
||||
line: "agentaddress udp:161,udp6:[::1]:161"
|
||||
state: absent
|
||||
when: wg_local_ip is not defined
|
||||
|
||||
- name: server | snmpd | copy distro script
|
||||
|
||||
Reference in new issue
Block a user