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

Andrea Bolognani posted 1 patch 1 week ago
Failed in applying to current master (apply log)
guests/playbooks/update/tasks/kludges.yml | 1 +
1 file changed, 1 insertion(+)

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

Posted by Andrea Bolognani 1 week ago
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@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list