diff --git a/playbooks/update-apt.yaml b/playbooks/update-apt.yaml index 8e4d772..a24dbbd 100644 --- a/playbooks/update-apt.yaml +++ b/playbooks/update-apt.yaml @@ -1,6 +1,10 @@ -- name: Update and upgrade apt packages +--- +- hosts: all + become: true - apt: - upgrade: yes - update_cache: yes - cache_valid_time: 86400 + tasks: + - name: update apt packages + apt: + upgrade: yes + update_cache: yes + cache_valid_time: 86400 \ No newline at end of file