diff --git a/roles/server/tasks/utilities/snmpd.yml b/roles/server/tasks/utilities/snmpd.yml index 1c82faf..d945336 100644 --- a/roles/server/tasks/utilities/snmpd.yml +++ b/roles/server/tasks/utilities/snmpd.yml @@ -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: