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