From f1cb97161674b6be4a1b3045247f041abc9b951b Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Fri, 31 Jan 2025 16:56:39 +0100 Subject: ansible: moving ansible content from scripts repo to here --- ansible/playbooks/apt_update.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ansible/playbooks/apt_update.yml (limited to 'ansible/playbooks/apt_update.yml') diff --git a/ansible/playbooks/apt_update.yml b/ansible/playbooks/apt_update.yml new file mode 100644 index 0000000..2724a30 --- /dev/null +++ b/ansible/playbooks/apt_update.yml @@ -0,0 +1,12 @@ +--- +- name: Update the server + hosts: vps + become: true + tasks: + + - name: Update and upgrade apt packages + ansible.builtin.apt: + update_cache: true + upgrade: true + autoremove: true +... -- cgit v1.2.3