From: Kienan Stewart Date: Thu, 11 Jul 2024 19:13:04 +0000 (-0400) Subject: ansible: Ensure log4j-1.2.jar link exists on SLES12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a464f33e4eab673eb472d8e5a962b3bfb0a46d08;p=lttng-ci.git ansible: Ensure log4j-1.2.jar link exists on SLES12 Change-Id: I7672e45845e37284f0fd403dfeeac8398eb3fb9e Signed-off-by: Kienan Stewart --- diff --git a/automation/ansible/roles/lttng-ust/tasks/setup-Suse.yml b/automation/ansible/roles/lttng-ust/tasks/setup-Suse.yml index b8f6378..6625f94 100644 --- a/automation/ansible/roles/lttng-ust/tasks/setup-Suse.yml +++ b/automation/ansible/roles/lttng-ust/tasks/setup-Suse.yml @@ -2,6 +2,13 @@ - name: Ensure lttng-ust build dependencies are installed. zypper: "name={{ lttng_ust_packages }} state=installed update_cache=yes" +- name: Ensure log4j-1.2.jar exists + when: ansible_distribution_major_version == "12" + ansible.builtin.file: + state: link + src: '/usr/share/java/log4j-1.2.jar' + dest: '/usr/share/java/log4j.jar' + # log4j2 is required for testing all the java agents, but is not available # on SLES12SP5 via packages. - name: Manually install log4j2