diff --git a/roles/base/system/tasks/upgrade.yml b/roles/base/system/tasks/upgrade.yml index 7fee73e..ca5e602 100644 --- a/roles/base/system/tasks/upgrade.yml +++ b/roles/base/system/tasks/upgrade.yml @@ -4,7 +4,7 @@ name: "*" state: latest update_cache: true - when: ansible_distribution == "Ubuntu" + when: ansible_distribution in [ "Debian", "Ubuntu" ] - name: Upgrade all packages with ‹dnf› ansible.builtin.dnf: