From 891513d633550f8359a89c0143187f2a8c7c1f00 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Thu, 4 Aug 2022 18:25:08 +0200 Subject: [PATCH] base: add entry in doas.conf for sd0 in case we have a hard raid --- CHANGELOG | 1 + roles/base/templates/doas.conf.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 3d13c0d..9ecae4a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - base: session timeout is configurable - add a update-utils.yml playbook to update scripts - base: use a variable to define ntpd server +- base: add entry in doas.conf for sd0 in case we have a hard raid ### Changed diff --git a/roles/base/templates/doas.conf.j2 b/roles/base/templates/doas.conf.j2 index d8f58f6..4683d0f 100644 --- a/roles/base/templates/doas.conf.j2 +++ b/roles/base/templates/doas.conf.j2 @@ -4,6 +4,7 @@ permit nopass root permit setenv {ENV PS1 SSH_AUTH_SOCK SSH_TTY} nopass :{{ evobsd_ssh_group }} as root cmd /usr/share/scripts/evomaintenance.sh permit nopass _collectd as root cmd /bin/cat permit nopass _collectd as root cmd /usr/sbin/bgpctl +permit nopass _nrpe as root cmd /sbin/bioctl args sd0 permit nopass _nrpe as root cmd /sbin/bioctl args sd2 permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_mailq.pl permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ipsecctl.sh