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