changes in snmp variables

This commit is contained in:
2023-07-16 15:28:23 +02:00
parent 8a7bfe9dab
commit c45034e42a
6 changed files with 116 additions and 115 deletions

View File

@@ -61,14 +61,14 @@
path: "{{ snmpd_conf }}"
line: "^sysLocation.*$"
state: present
line: "sysLocation {{ sysLocation | {{ defaultSysLocation }} }}"
line: "sysLocation {{ snmp_location }}"
- name: server | snmpd | set sysContact
lineinfile:
path: "{{ snmpd_conf }}"
line: "^sysContact.*$"
state: present
line: "sysContact {{ sysContact }}"
line: "sysContact {{ snmp_contact }}"
- name: server | snmpd | enable service on all interfaces
lineinfile: