--- - 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.replace: path: /bedrock/strata/alpine/etc/apk/repositories regexp: '^https?://' replace: 'https://'