homeserver/roles/mgrote.apt_manage_sources/tasks/main.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

23 lines
703 B
YAML

---
- name: include ubuntu tasks (determined by "ansible_distribution")
include_tasks: ubuntu.yml
when:
- ansible_distribution == 'Ubuntu'
- manage_sources_apt_proxy is defined
- name: include Linux Mint tasks (determined by "ansible_distribution")
include_tasks: mint.yml
when:
- ansible_distribution == 'Linux Mint'
- manage_sources_apt_proxy is defined
- name: include proxmox tasks (determined by group)
include_tasks: proxmox.yml
when:
- "'proxmox' in group_names"
- manage_sources_apt_proxy is defined
- name: include extra repo tasks
include_tasks: extra_repos.yml
when:
- manage_sources_extra_repos is defined