diff options
Diffstat (limited to 'roles/repositories/tasks')
-rw-r--r-- | roles/repositories/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/repositories/tasks/main.yml b/roles/repositories/tasks/main.yml new file mode 100644 index 0000000..76395f3 --- /dev/null +++ b/roles/repositories/tasks/main.yml @@ -0,0 +1,16 @@ + +# 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" + |