replaced sudo command with global sudo var
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
state: present
|
||||
line: "extend unbound /usr/bin/sudo /etc/snmp/unbound"
|
||||
line: "extend unbound {{ sudo }} /etc/snmp/unbound"
|
||||
insertafter: "# SECTION: Extends"
|
||||
notify: restart_snmpd
|
||||
Reference in New Issue
Block a user