defined insertafter

This commit is contained in:
2023-07-16 15:42:45 +02:00
parent c45034e42a
commit 289f813f95

View File

@@ -62,6 +62,7 @@
line: "^sysLocation.*$"
state: present
line: "sysLocation {{ snmp_location }}"
insertafter: "# SECTION: System Information Setup"
- name: server | snmpd | set sysContact
lineinfile:
@@ -69,6 +70,7 @@
line: "^sysContact.*$"
state: present
line: "sysContact {{ snmp_contact }}"
insertafter: "# SECTION: System Information Setup"
- name: server | snmpd | enable service on all interfaces
lineinfile: