snmp extends for apache

This commit is contained in:
2025-06-04 11:28:41 +02:00
parent 18b49ca3ce
commit 29e39d0986
4 changed files with 4 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
Debian-snmp ALL = NOPASSWD: /etc/snmp/bind, /etc/snmp/fail2ban, /etc/snmp/docker-stats.sh, /etc/snmp/mailcow-dockerized-postfix, /etc/snmp/unbound, /etc/snmp/osupdate, /etc/snmp/distro, /etc/snmp/powerdns-recursor
Debian-snmp ALL = NOPASSWD: /etc/snmp/bind, /etc/snmp/fail2ban, /etc/snmp/docker-stats.sh, /etc/snmp/mailcow-dockerized-postfix, /etc/snmp/unbound, /etc/snmp/osupdate, /etc/snmp/distro, /etc/snmp/powerdns-recursor, /etc/snmp/apache-stats.py
Debian-snmp ALL = (postgres) NOPASSWD: /etc/snmp/postgres

View File

@@ -2,7 +2,7 @@
file:
path: "/var/cache/librenms/"
state: directory
owner: "{{ snmp_user | default('root') }}"
owner: "{{ snmpduser | default('root') }}"
- name: webserver | snmpd | install requirement
package:

View File

@@ -2,6 +2,7 @@ apache_package: apache2
nginx_package: nginx
acme_package: acme
webuser: www-data
snmpduser: Debian-snmp
nextcloud_php_packages:
- package: php8.0

View File

@@ -2,6 +2,7 @@ apache_package: apache2
nginx_package: nginx
acme_package: acme
webuser: www-data
snmpduser: Debian-snmp
nextcloud_php_packages:
- package: php8.0