homeserver/roles/mgrote.apt_manage_sources/tasks/extra_repos.yml
mg d62680a98d Anpassungen Laptop/Neuinstall (#389)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#389
2022-07-22 13:12:23 +02:00

9 lines
321 B
YAML

---
- 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