homeserver/roles/mgrote.apt_manage_sources/tasks/main.yml
mg 4e83d8d887 apt-sources mit neuer logik (#225)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#225
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-10-20 19:48:17 +02:00

19 lines
582 B
YAML

---
- name: include ubuntu tasks (determined by "ansible_distribution")
include_tasks: ubuntu.yml
when:
- ansible_distribution == 'Ubuntu'
- manage_sources_apt_proxy | length > 0
- name: include Linux Mint tasks (determined by "ansible_distribution")
include_tasks: mint.yml
when:
- ansible_distribution == 'Linux Mint'
- manage_sources_apt_proxy | length > 0
- name: include proxmox tasks (determined by group)
include_tasks: proxmox.yml
when:
- "'proxmox' in group_names"
- manage_sources_apt_proxy | length > 0