# repositories ~~ roles/repositories/tasks/main.yml # ensure correct repositories are used --- - name: ensure mirrors for openbsd systems shell: echo "https://mirror.ungleich.ch/mirror/openbsd" > /etc/installurl when: os_distribution == "openbsd" - name: ensure mirrors for alpine systems shell: | echo "https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/main" > /etc/apk/repositories echo "https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/community" >> /etc/apk/repositories when: os_distribution == "alpine"