[libvirt] [jenkins-ci PATCH] guests: Make Java symlink creation conditional

Andrea Bolognani abologna at redhat.com
Thu Jul 11 15:21:09 UTC 2019


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 <abologna at redhat.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
--- a/guests/playbooks/update/tasks/kludges.yml
+++ b/guests/playbooks/update/tasks/kludges.yml
@@ -12,6 +12,7 @@
     group: wheel
   when:
     - 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
-- 
2.21.0




More information about the libvir-list mailing list