summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-04-03 09:53:24 +0200
committerHarald Welte <laforge@gnumonks.org>2019-04-03 12:24:05 +0200
commit255724fb4a3633a6091cb22ef8d515387dab5ac5 (patch)
tree4763f39487c7b2cd0064799ccc5ebcee3132c731
parent15ae47aa99efb09b790d570a222b910b2113a432 (diff)
jenkins-slave: Use "jessie-backports" only on jessie systems
-rw-r--r--ansible/roles/osmocom-jenkins-slave/tasks/debian.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml b/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
index 30e4ece..641c6f3 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
@@ -22,6 +22,7 @@
repo: 'deb http://ftp.debian.org/debian jessie-backports main'
filename: 'backports'
update_cache: yes
+ when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
- name: install java for jessie
apt: