added sudo command

This commit is contained in:
rene
2022-03-23 19:23:11 +01:00
parent dda6706fe2
commit aa34d8e135

View File

@@ -10,6 +10,6 @@
lineinfile: lineinfile:
path: "/etc/snmp/snmpd.conf" path: "/etc/snmp/snmpd.conf"
state: present state: present
line: "extend unbound /etc/snmp/unbound" line: "extend unbound /usr/bin/sudo /etc/snmp/unbound"
insertafter: "# SECTION: Extends" insertafter: "# SECTION: Extends"
notify: restart_snmpd notify: restart_snmpd