From 5a4bd28eaff7c248c9f9f3415435b3f9979cb4b5 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 18 Mar 2021 15:13:17 +0100 Subject: [PATCH] nagios-nrpe: libfcgi-client-perl is not available before Debian 10 --- CHANGELOG.md | 1 + nagios-nrpe/tasks/main.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c8cf5a9..6308d4d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ The **patch** part changes incrementally at each release. ### Fixed * bind9: added log files to apparmor definition so bind can run +* nagios-nrpe: libfcgi-client-perl is not available before Debian 10 * redis: socket/pid directories have the correct permissions ### Removed diff --git a/nagios-nrpe/tasks/main.yml b/nagios-nrpe/tasks/main.yml index d8e72cd7..065ffacc 100644 --- a/nagios-nrpe/tasks/main.yml +++ b/nagios-nrpe/tasks/main.yml @@ -18,6 +18,9 @@ name: - libfcgi-client-perl state: present + when: + - ansible_distribution == "Debian" + - ansible_distribution_major_version is version('10', '>=') tags: - nagios-plugins