diff --git a/update-hosts b/update-hosts new file mode 100644 index 0000000..77aac57 --- /dev/null +++ b/update-hosts @@ -0,0 +1,11 @@ +- hosts: all + remote_user: ansible + vars: + ansible_host_key_checking: false + become: true + + tasks: + - name: Update and upgrade apt packages + apt: + update_cache: yes + upgrade: yes \ No newline at end of file