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
|
- 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
|
|
||||||
Reference in new issue
Block a user