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