diff --git a/linux-update.yaml b/linux-update.yaml new file mode 100644 index 0000000..061ef8a --- /dev/null +++ b/linux-update.yaml @@ -0,0 +1,12 @@ +--- +- hosts: "{{ target_hosts }}" + become: true + tasks: + - name: Update apt cache + ansible.builtin.apt: + update_cache: true + + - name: Upgrade all packages + ansible.builtin.apt: + upgrade: dist + autoremove: true \ No newline at end of file