diff --git a/apt2-update.yml b/apt2-update.yml index 13030b6..3c559ed 100644 --- a/apt2-update.yml +++ b/apt2-update.yml @@ -6,7 +6,7 @@ become: true tasks: - - name: Update and upgrade apt packages - apt: - update_cache: yes - upgrade: yes + - name: Update all packages to their latest version + ansible.builtin.apt: + name: "*" + state: latest