Make roles to fetch and backup stratums to reduce duplicate code

This commit is contained in:
2022-07-13 22:04:45 +01:00
parent b6f3344689
commit 02d4d676ec
3 changed files with 38 additions and 7 deletions

View File

@ -1,8 +1,11 @@
- name: fetch alpine linux
ansible.builtin.shell:
cmd: brl remove -d alpine; brl fetch alpine
- name: fetch arch linux
ansible.builtin.shell:
cmd: brl remove -d arch; brl fetch arch
- 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