mirror of
https://gitea.0xace.cc/ansible-galaxy/monit.git
synced 2025-04-06 01:01:55 +00:00
fix package installation
This commit is contained in:
parent
c7104c457c
commit
429d56bebe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user