blob: 27ec3cbc38a6a010bc68171e249476cc0a46c571 (
plain) (
tree)
|
|
# repositories ~~ roles/repositories/tasks/main.yml
# ensure correct repositories are used
---
- name: ensure mirrors for openbsd systems
lineinfile:
path: /etc/installurl
regexp: "^{{ item }}"
line: "{{ item }}"
loop: "{{ repositories_openbsd }}"
when: ansible_distribution == "OpenBSD"
- name: ensure mirrors for alpine systems
lineinfile:
path: /etc/apk/repositories
regexp: "^{{ item }}"
line: "{{ item }}"
loop: "{{ repositories_alpine }}"
when: ansible_distribution == "Alpine"
|