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