From 309f5b3e2b91bd0f3c5ef1372a50a5b3e4760057 Mon Sep 17 00:00:00 2001 From: AswathySK <94966808+AswathySK@users.noreply.github.com> Date: Sat, 16 Nov 2024 05:47:34 +0530 Subject: [PATCH] change distribution_release to 15.6 (#3798) * change distribution_release to 15.6 Signed-off-by: Aswathy S Kumar * Make distribution release dynamic Signed-off-by: Aswathy S Kumar --------- Signed-off-by: Aswathy S Kumar --- .../AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/SLES.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/SLES.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/SLES.yml index 71cc7ab63b..2812b02649 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/SLES.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/SLES.yml @@ -23,7 +23,8 @@ - name: Add Devel-Tools repository (SLES15) zypper_repository: - repo: https://download.opensuse.org/repositories/devel:/tools/15.5/devel:tools.repo + name: devel-tools + repo: 'https://download.opensuse.org/repositories/devel:/tools/15.{{ ansible_distribution_release }}/' auto_import_keys: yes state: present when: