From 1ae40e768601b7a5c2b52f1a66c7db558b7aaa6c Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 31 May 2023 11:27:32 +0200 Subject: [PATCH] nagios-nrpe: remount /usr **after** installing the packages --- CHANGELOG.md | 1 + nagios-nrpe/tasks/check-local.yml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2664ba03..3df84a35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Fixed +* nagios-nrpe: remount /usr **after** installing the packages * packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container * potsfix: add missing `localhost.$mydomain` to mydestination diff --git a/nagios-nrpe/tasks/check-local.yml b/nagios-nrpe/tasks/check-local.yml index d2adbcd1..e62b7642 100644 --- a/nagios-nrpe/tasks/check-local.yml +++ b/nagios-nrpe/tasks/check-local.yml @@ -1,15 +1,16 @@ --- # Install check-local utilitary # This task is for Debian >= 10 only! -- name: "Remount /usr if needed" - ansible.builtin.include_role: - name: remount-usr - name: Package nagios-nrpe-plugin is intalled ansible.builtin.apt: name: nagios-nrpe-plugin when: ansible_distribution_major_version is version('10', '>=') +- name: "Remount /usr if needed" + ansible.builtin.include_role: + name: remount-usr + - name: Utilitary check-local is installed ansible.builtin.copy: src: check-local