From 0fc3c1277fe70d4f8aaef43dfb51ce6cf881730f Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sat, 17 Jan 2026 20:33:59 -0500 Subject: [PATCH] Add update-host --- update-host | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 update-host diff --git a/update-host b/update-host new file mode 100644 index 0000000..70cb757 --- /dev/null +++ b/update-host @@ -0,0 +1,21 @@ +--- +- hosts: all + become: yes + + tasks: + - name: Apt Update + ansible.builtin.apt: + update_cache: true + + - name: Apt Upgrade + ansible.builtin.apt: + upgrade: yes + update_cache: yes + + - name: Apt Autoremove + ansible.builtin.apt: + autoremove: yes + + - name: Apt Autoclean + ansible.builtin.apt: + autoclean: true \ No newline at end of file