added SNMPD sysLocation
This commit is contained in:
1 parent
1db37bfbb6
commit
b5aa5e5980
5 files changed
+12
-1
No files matched your search
@@ -56,6 +56,13 @@
|
||||
line: "agentaddress 127.0.0.1,{{ wg_local_ip | ipaddr('address') }},[::1]"
|
||||
when: wg_local_ip is defined
|
||||
|
||||
- name: server | snmpd | set sysLocation
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
line: "^sysLocation.*$"
|
||||
state: present
|
||||
line: "sysLocation {{ sysLocation | {{ defaultSysLocation }} }}"
|
||||
|
||||
- name: server | snmpd | enable service on all interfaces
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
|
||||
Reference in new issue
Block a user