added SNMPD sysContact
This commit is contained in:
@@ -63,6 +63,13 @@
|
||||
state: present
|
||||
line: "sysLocation {{ sysLocation | {{ defaultSysLocation }} }}"
|
||||
|
||||
- name: server | snmpd | set sysContact
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
line: "^sysContact.*$"
|
||||
state: present
|
||||
line: "sysContact {{ sysContact }}"
|
||||
|
||||
- name: server | snmpd | enable service on all interfaces
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
|
||||
Reference in New Issue
Block a user