diff --git a/roles/nameserver/tasks/configure_unbound_snmpd.yml b/roles/nameserver/tasks/configure_unbound_snmpd.yml index bde2052..d152264 100644 --- a/roles/nameserver/tasks/configure_unbound_snmpd.yml +++ b/roles/nameserver/tasks/configure_unbound_snmpd.yml @@ -10,6 +10,6 @@ lineinfile: path: "/etc/snmp/snmpd.conf" state: present - line: "extend unbound /etc/snmp/unbound" + line: "extend unbound /usr/bin/sudo /etc/snmp/unbound" insertafter: "# SECTION: Extends" notify: restart_snmpd \ No newline at end of file