We only need jessie-backports for the JDK, and we only need the
JDK for the Jenkins agent.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/tasks/base.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml
index 0c82b58..debf6e4 100644
--- a/guests/tasks/base.yml
+++ b/guests/tasks/base.yml
@@ -75,6 +75,7 @@
when:
- os_name == 'Debian'
- os_version == '8'
+ - flavor == 'jenkins'
- name: Configure APT pinning for jessie-backports
copy:
@@ -85,6 +86,7 @@
when:
- os_name == 'Debian'
- os_version == '8'
+ - flavor == 'jenkins'
- name: Enable fedora-rawhide-kernel-nodebug repository
copy:
--
2.14.3