Initial commit

This commit is contained in:
DerLinkman
2024-02-02 21:24:08 +01:00
commit b03f7a47e0
7 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
- name: Update to newest Alpine
hosts: all
tasks:
- name: Run APK update
apk:
update_cache: yes
upgrade: true
when: ansible_distribution == 'Alpine'
- name: Update Alpine versions
replace:
backup: yes
path: "/etc/apk/repositories"
regexp: 'v\d+\.\d+'
replace: 'v3.18'
when: ansible_distribution == 'Alpine'