diff mbox series

[v2,2/3] codereadyrepo: Repo name for Oracle Linux

Message ID 20241214170139.253602-3-cel@kernel.org (mailing list archive)
State New
Headers show
Series Recent fixes | expand

Commit Message

Chuck Lever Dec. 14, 2024, 5:01 p.m. UTC
From: Chuck Lever <chuck.lever@oracle.com>

The name of the CodeReady Builder repo on Oracle Linux is different
than the other cases that the codereadyrepo role already supports.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 playbooks/roles/codereadyrepo/tasks/main.yml | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/playbooks/roles/codereadyrepo/tasks/main.yml b/playbooks/roles/codereadyrepo/tasks/main.yml
index 7cf6d83bcccf..b1d62eeb384c 100644
--- a/playbooks/roles/codereadyrepo/tasks/main.yml
+++ b/playbooks/roles/codereadyrepo/tasks/main.yml
@@ -6,6 +6,13 @@ 
     - ansible_distribution == 'RedHat'
     - not devconfig_custom_yum_repofile
 
+- name: Select the Oracle Linux CodeReady Builder repo
+  ansible.builtin.set_fact:
+    codeready_repo: "ol9_codeready_builder"
+  when:
+    - ansible_distribution == 'OracleLinux'
+    - not devconfig_custom_yum_repofile
+
 - name: Select the CentOS CodeReady Builder repo
   ansible.builtin.set_fact:
     codeready_repo: "crb"