homeserver/roles/mgrote.apt_manage_sources/tasks/extra_repos.yml

10 lines
321 B
YAML
Raw Normal View History

---
- name: add extra repositories
become: true
ansible.builtin.apt_repository:
repo: "{{ item.url }}"
filename: "{{ item.name | default(omit) }}"
state: "{{ item.state | default('present')}}"
with_items: "{{ manage_sources_extra_repos }}"
when: manage_sources_extra_repos is defined