aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/repositories/files/installurl2
-rw-r--r--roles/repositories/tasks/main.yml8
-rw-r--r--roles/repositories/vars/main.yml5
3 files changed, 6 insertions, 9 deletions
diff --git a/roles/repositories/files/installurl b/roles/repositories/files/installurl
deleted file mode 100644
index 71117ea..0000000
--- a/roles/repositories/files/installurl
+++ /dev/null
@@ -1,2 +0,0 @@
-https://mirror.ungleich.ch/pub/OpenBSD
-
diff --git a/roles/repositories/tasks/main.yml b/roles/repositories/tasks/main.yml
index 27ec3cb..0ec9247 100644
--- a/roles/repositories/tasks/main.yml
+++ b/roles/repositories/tasks/main.yml
@@ -4,18 +4,18 @@
---
-- name: ensure mirrors for openbsd systems
+- name: ensure mirrors for OpenBSD systems
lineinfile:
path: /etc/installurl
regexp: "^{{ item }}"
line: "{{ item }}"
- loop: "{{ repositories_openbsd }}"
+ loop: "{{ repositories_urls_openbsd }}"
when: ansible_distribution == "OpenBSD"
-- name: ensure mirrors for alpine systems
+- name: ensure mirrors for Alpine systems
lineinfile:
path: /etc/apk/repositories
regexp: "^{{ item }}"
line: "{{ item }}"
- loop: "{{ repositories_alpine }}"
+ loop: "{{ repositories_urls_alpine }}"
when: ansible_distribution == "Alpine"
diff --git a/roles/repositories/vars/main.yml b/roles/repositories/vars/main.yml
index c9817a3..dd195d9 100644
--- a/roles/repositories/vars/main.yml
+++ b/roles/repositories/vars/main.yml
@@ -4,12 +4,11 @@
---
-repositories_openbsd:
+repositories_urls_openbsd:
- https://mirror.ungleich.ch/mirror/openbsd
-repositories_alpine:
+repositories__urls_alpine:
- https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/main
- https://mirror.ungleich.ch/mirror/packages/alpine/latest-stable/community
- https://mirror.ungleich.ch/mirror/packages/alpine/edge/community/
- https://mirror.ungleich.ch/mirror/packages/alpine/edge/testing/
-
remember that computers suck.