Move to strata specific roles and configure alpine
This commit is contained in:
parent
02d4d676ec
commit
233b4ab196
@ -6,7 +6,7 @@
|
||||
become: True
|
||||
|
||||
roles:
|
||||
- { role: fetch-stratum}
|
||||
- { role: alpine}
|
||||
# - { role: network, tags: ['network'] }
|
||||
# - { role: kernel, tags: ['kernel'] }
|
||||
# - { role: base, tags: ['base'] }
|
||||
|
17
roles/alpine/tasks/main.yaml
Normal file
17
roles/alpine/tasks/main.yaml
Normal 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
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user