Bedrock-Linux-Desktop-Ansible/roles/alpine/tasks/main.yaml

19 lines
471 B
YAML

---
- name: Fetch new alpine strata
include_role:
name: fetch-strata
vars:
strata: alpine
tags: clean
- name: Enable community repo
ansible.builtin.shell:
cmd: cat /bedrock/strata/alpine/etc/apk/repositories | head -n1 | sed 's/main/community/g' >> /bedrock/strata/alpine/etc/apk/repositories
- name: Enable https on the repositories
ansible.builtin.shell:
cmd: sed -i 's/http:\/\//https:\/\//g' /bedrock/strata/alpine/etc/apk/repositories