homeserver/roles/mgrote.apt_manage_sources/tasks/main.yml
mg c73037ce5c apt_sources: check ob >0 in template statt Task (#300)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#300
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-01-15 11:18:56 +01:00

19 lines
576 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