replace command by var with absolute path

This commit is contained in:
2024-07-25 15:22:45 +02:00
parent 4579237ab1
commit 4000699794
4 changed files with 11 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
owner: "root"
group: "root"
mode: "0660"
validate: "visudo -cf %s"
validate: " {{ commands.visudo }} -cf %s"
when: ansible_distribution in ["Debian", "Ubuntu"]
- name: server | snmpd | create /etc/snmp