ansible-role-aptsrc/tasks/main.yml

16 lines
510 B
YAML

---
# tasks file for roles/aptsrc iix
- name: Change apt/source.list to repo Indonesia Kartolo
template:
src: templates/etc/apt/sources.list-iix.j2
dest: /etc/apt/sources.list
mode: 0644
when: ansible_os_family == 'Debian' and repo == 'iix'
# tasks file for roles/aptsrc iix
- name: Change apt/source.list to repo Magelang
template:
src: templates/etc/apt/sources.list-mgl.j2
dest: /etc/apt/sources.list
mode: 0644
when: ansible_os_family == 'Debian' and repo == 'magelang'