diff --git a/playbooks/update.yml b/playbooks/update.yml index c330e35..b05d5df 100644 --- a/playbooks/update.yml +++ b/playbooks/update.yml @@ -27,23 +27,6 @@ - debian_update is defined - debian_update.changed - ################################################## - # Rocky 9 / RHEL family (uses DNF) - ################################################## - - name: Upgrade all packages (RHEL/Rocky) - dnf: - name: "*" - state: latest - register: rhel_updates - when: ansible_facts['os_family'] == "RedHat" - - - name: Reboot RHEL only if packages changed - reboot: - when: - - ansible_facts['os_family'] == "RedHat" - - rhel_update is defined - - rhel_update.changed - ################################################## # FreeBSD ##################################################