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 - hosts: alpine
become: true become: true
gather_facts: false
tasks: tasks:
- name: Install Python
ansible.builtin.raw: apk add --no-cache python3
- name: Update Alpine packages - name: Update Alpine packages
community.general.apk: ansible.builtin.command:
upgrade: true cmd: apk upgrade
update_cache: true