[libvirt] [jenkins-ci PATCH] guests: Make Java symlink creation conditional
We only install Java for the "jenkins" flavor, which means
we need to avoid creating the Java symlink for other flavors
because the operation can't succeed there.
Signed-off-by: Andrea Bolognani <email@example.com>
Pushed as trivial.
guests/playbooks/update/tasks/kludges.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/guests/playbooks/update/tasks/kludges.yml b/guests/playbooks/update/tasks/kludges.yml
index 22d8ce5..8af36ab 100644
@@ -12,6 +12,7 @@
- os_name == 'FreeBSD'
+ - flavor == "jenkins"
# FreeBSD compiles bash without defining SSH_SOURCE_BASHRC, which means
# it won't try to detect when it's spawned by ssh and source ~/.bashrc
libvir-list mailing list