From 0a4c5c303484e57af537f7083bdd8e5ac74ee79b Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Sun, 28 Nov 2021 22:21:52 +0100 Subject: [PATCH] copr: let nagios_client role to install nrpe We shouldn't install `nrpe` package in the `copr/base` playbook because it creates the following user nrpe:x:992:991:NRPE user for the NRPE service:/var/run/nrpe:/sbin/nologin That UID collides with an user for keygen - user: name="copr-signer" group=copr-signer groups=apache uid=992 The `nrpe` installation needs to be done later, in the `nagios_client` role that we call after `copr/keygen` role. --- roles/copr/base/tasks/main.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/copr/base/tasks/main.yml b/roles/copr/base/tasks/main.yml index 3175a745f2..b0f1189d9d 100644 --- a/roles/copr/base/tasks/main.yml +++ b/roles/copr/base/tasks/main.yml @@ -49,14 +49,6 @@ tags: - packages -- name: install common copr packages - dnf: - state: present - pkg: - - "nrpe" - tags: - - packages - - name: install dev helper packages dnf: state: present