use debian backport only with debian

This commit is contained in:
Pierre-antoine Comby 2020-10-30 16:59:44 +01:00
parent 51d5733578
commit 78fe070cd3
1 changed files with 2 additions and 1 deletions

View File

@ -3,11 +3,12 @@
apt_repository:
repo: deb http://{{ mirror }}/debian buster-backports main
state: present
when: ansible_facts['distribution'] == "Debian"
- name: Install note_kfet APT dependencies
apt:
update_cache: true
default_release: buster-backports
default_release: "{{ 'buster-backports' if ansible_facts['distribution'] == 'Debian' }}"
install_recommends: false
name:
# Common tools