--- - name: Update RedHat Enterprise Linux Systems hosts: rhel become: yes tasks: - name: Run dnf update dnf: name: "*" state: latest