From 7df074783b673d82a88847fb55eb51664701144b Mon Sep 17 00:00:00 2001 From: Luca Matteo Spoljarevic Date: Fri, 21 Nov 2025 19:31:30 +0100 Subject: [PATCH] Added DNF Updater --- health/dnfupdate.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/health/dnfupdate.yml b/health/dnfupdate.yml index b5109e1..675486e 100644 --- a/health/dnfupdate.yml +++ b/health/dnfupdate.yml @@ -1,9 +1,10 @@ --- -- name: DNF Updater for RHEL based Clients +- name: DNF Updater for RHEL‑based clients hosts: all become: true - -- name: Upgrade all packages - ansible.builtin.dnf: + tasks: + - name: Upgrade all packages + ansible.builtin.dnf: name: "*" - state: latest + state: latest + update_cache: yes