From 5e0dadac8da83fec7d52303169b928d6298161b5 Mon Sep 17 00:00:00 2001 From: Arnaud Nelissen Date: Sun, 1 Jun 2025 22:27:19 +0200 Subject: [PATCH] Add update-apt-packages.yaml --- .gitignore | 1 + playbooks/update-apt-packages.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 playbooks/update-apt-packages.yaml diff --git a/.gitignore b/.gitignore index e69de29..dbe9c82 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.vscode/ \ No newline at end of file diff --git a/playbooks/update-apt-packages.yaml b/playbooks/update-apt-packages.yaml new file mode 100644 index 0000000..3a2c49f --- /dev/null +++ b/playbooks/update-apt-packages.yaml @@ -0,0 +1,9 @@ +--- +- name: Update APT packages + hosts: all + become: true + tasks: + - name: Update APT package index + apt: + update_cache: true + upgrade: yes