Move to strata specific roles and configure alpine

This commit is contained in:
CactiChameleon9 2022-07-14 08:30:16 +01:00
parent 02d4d676ec
commit 233b4ab196
3 changed files with 18 additions and 12 deletions

View File

@ -6,7 +6,7 @@
become: True become: True
roles: roles:
- { role: fetch-stratum} - { role: alpine}
# - { role: network, tags: ['network'] } # - { role: network, tags: ['network'] }
# - { role: kernel, tags: ['kernel'] } # - { role: kernel, tags: ['kernel'] }
# - { role: base, tags: ['base'] } # - { role: base, tags: ['base'] }

View File

@ -0,0 +1,17 @@
---
- name: Fetch new alpine strata
include_role:
name: fetch-strata
vars:
strata: alpine
- 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

View File

@ -1,11 +0,0 @@
- name: Fetch new alpine strata
include_role:
name: fetch-strata
vars:
strata: alpine
- name: Fetch new arch linux
include_role:
name: fetch-strata
vars:
strata: arch