From 429d56bebe54514b7ffde72bb6eea34d7911d436 Mon Sep 17 00:00:00 2001 From: ace Date: Fri, 28 Jan 2022 12:27:02 +0300 Subject: [PATCH] fix package installation --- tasks/main.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 4ea4c84..ce3f8db 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -1,14 +1,13 @@ --- - name: Install EPEL repository - yum: - package: epel-release + dnf: + name: epel-release state: latest - name: Ensure monit {{ monit_version }} installed - yum: - package: - name: monit-{{ monit_version }} - state: present + dnf: + name: monit-{{ monit_version }} + state: present register: monit_setup - name: Propagate configs