defined insertafter
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user