fix package installation

This commit is contained in:
ace 2022-01-28 12:27:02 +03:00
parent c7104c457c
commit 429d56bebe
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -1,12 +1,11 @@
---
- name: Install EPEL repository
yum:
package: epel-release
dnf:
name: epel-release
state: latest
- name: Ensure monit {{ monit_version }} installed
yum:
package:
dnf:
name: monit-{{ monit_version }}
state: present
register: monit_setup