Update playbooks/alpine/update-apk-packages.yml

This commit is contained in:
diablo committed 2026-10-09 00:51:36 +08:00
1 parent ee5f6e7702
commit c7232b81ba
1 file changed
+6 -3
+6 -3
View File
@@ -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
ansible.builtin.command:
cmd: apk upgrade