1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/tasks/sources.yml
2019-07-15 23:09:48 +02:00

11 lines
322 B
YAML

---
- name: add etz apt
become: true
apt_repository:
repo: deb https://debian.ethz.ch/debian/ {{ ansible_distribution_release }} main
state: present
when:
- add_ethz | bool
- ansible_distribution == 'Debian'
- ansible_distribution_release == "wheezy" or ansible_distribution_release == "buster"