From c7232b81baac9b1028ff831991ebd584e8db4de1 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 9 Oct 2026 00:51:36 +0800 Subject: [PATCH] Update playbooks/alpine/update-apk-packages.yml --- playbooks/alpine/update-apk-packages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/playbooks/alpine/update-apk-packages.yml b/playbooks/alpine/update-apk-packages.yml index d4c3c8f..84f3454 100644 --- a/playbooks/alpine/update-apk-packages.yml +++ b/playbooks/alpine/update-apk-packages.yml @@ -1,9 +1,12 @@ --- - hosts: alpine become: true + gather_facts: false tasks: + - name: Install Python + ansible.builtin.raw: apk add --no-cache python3 + - name: Update Alpine packages - community.general.apk: - upgrade: true - update_cache: true \ No newline at end of file + ansible.builtin.command: + cmd: apk upgrade \ No newline at end of file