replaced sudo command with global sudo var

This commit is contained in:
rene
2022-03-24 16:39:49 +01:00
parent b6aa1641cd
commit cba88dfa98
4 changed files with 6 additions and 5 deletions

View File

@@ -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