diff --git a/debian_update.yml b/debian_update.yml index 2bea2dc..e7cad94 100644 --- a/debian_update.yml +++ b/debian_update.yml @@ -1,5 +1,9 @@ - hosts: all become: true tasks: - - name: Update apt-get repo and cache - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600 \ No newline at end of file + - name: Update all host/vm packages + ansible.builtin.apt: + update_cache: true + cache_valid_time: 3600 + name: "*" + state: latest \ No newline at end of file