Update playbooks/alpine/update-apk-packages.yml
This commit is contained in:
1 parent
ee5f6e7702
commit
c7232b81ba
1 file changed
+6
-3
@@ -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
|
||||
Reference in new issue
Block a user