Remove bad, unused Alpine add repos play

This commit is contained in:
Sivert V. Sæther 2022-03-14 09:36:49 +01:00
parent 86e3fa9d72
commit 17b9ef9f48

View File

@ -5,20 +5,11 @@
when: "'pacman' in group_names" when: "'pacman' in group_names"
tags: pacman tags: pacman
# - name: Add some repos (alpine)
# become: yes
# shell: cmd="cat > /etc/apk/repositories << EOF; $(echo)
# https://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d'.' -f1,2)/main/
# https://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d'.' -f1,2)/community/
# https://dl-cdn.alpinelinux.org/alpine/edge/testing/
# EOF"
# when: "'alpine' in group_names"
# tags: alpine
- name: Add some repos (alpine) - name: Add some repos (alpine)
become: yes become: yes
shell: | shell: |
grep -R 'testing' /etc/apk/repositories grep -R 'testing' /etc/apk/repositories
[ $? == 1 ] && echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing/'>>/etc/apk/repositories [ $? == 1 ] && echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing'>>/etc/apk/repositories
when: "'alpine' in group_names" when: "'alpine' in group_names"
tags: alpine tags: alpine