blob: 0ec924718d54a55287a37587ccfe898265cff5dc (
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_urls_openbsd }}"
when: ansible_distribution == "OpenBSD"
- name: ensure mirrors for Alpine systems
lineinfile:
path: /etc/apk/repositories
regexp: "^{{ item }}"
line: "{{ item }}"
loop: "{{ repositories_urls_alpine }}"
when: ansible_distribution == "Alpine"
|