ansible/roles/repos/tasks/main.yml

17 lines
290 B
YAML
Raw Normal View History

2022-09-20 13:51:20 +02:00
---
- name: setup apk repos
block:
- name: render /etc/apk/repositories
template:
src: apk/repositories.j2
dest: /etc/apk/repositories
mode: '0644'
- name: apk update
apk:
update_cache: true
when: ansible_distribution == "Alpine"