mirror of
https://github.com/skoobasteeve/ansible-server-setup.git
synced 2026-03-20 03:18:57 +00:00
initial working commit
This commit is contained in:
9
roles/librenms-client/templates/sudoers.j2
Normal file
9
roles/librenms-client/templates/sudoers.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
{% if "zfs-zed" in ansible_facts.packages %}
|
||||
Debian-snmp ALL=(ALL) NOPASSWD: /etc/snmp/zfs-linux
|
||||
{% endif %}
|
||||
{% if "docker" in ansible_facts.services %}
|
||||
Debian-snmp ALL=(ALL) NOPASSWD: /etc/snmp/docker-stats.sh
|
||||
{% endif %}
|
||||
{% if pihole.stat.exists %}
|
||||
Debian-snmp ALL=(ALL) NOPASSWD: /bin/sh /etc/snmp/raspberry.sh
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user