defined insertafter
This commit is contained in:
@@ -62,6 +62,7 @@
|
|||||||
line: "^sysLocation.*$"
|
line: "^sysLocation.*$"
|
||||||
state: present
|
state: present
|
||||||
line: "sysLocation {{ snmp_location }}"
|
line: "sysLocation {{ snmp_location }}"
|
||||||
|
insertafter: "# SECTION: System Information Setup"
|
||||||
|
|
||||||
- name: server | snmpd | set sysContact
|
- name: server | snmpd | set sysContact
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@@ -69,6 +70,7 @@
|
|||||||
line: "^sysContact.*$"
|
line: "^sysContact.*$"
|
||||||
state: present
|
state: present
|
||||||
line: "sysContact {{ snmp_contact }}"
|
line: "sysContact {{ snmp_contact }}"
|
||||||
|
insertafter: "# SECTION: System Information Setup"
|
||||||
|
|
||||||
- name: server | snmpd | enable service on all interfaces
|
- name: server | snmpd | enable service on all interfaces
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user