mirror of
https://github.com/skoobasteeve/ansible-server-setup.git
synced 2026-03-20 03:18:57 +00:00
9 lines
325 B
Django/Jinja
9 lines
325 B
Django/Jinja
{% 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 %} |