Skip to content

Commit b436de0

Browse files
committed
codereadyrepo: Repo name for Oracle Linux
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 <[email protected]>
1 parent 69bb0dc commit b436de0

File tree

1 file changed

+7
-0
lines changed
  • playbooks/roles/codereadyrepo/tasks

1 file changed

+7
-0
lines changed

playbooks/roles/codereadyrepo/tasks/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
- ansible_distribution == 'RedHat'
77
- not devconfig_custom_yum_repofile
88

9+
- name: Select the Oracle Linux CodeReady Builder repo
10+
ansible.builtin.set_fact:
11+
codeready_repo: "ol9_codeready_builder"
12+
when:
13+
- ansible_distribution == 'OracleLinux'
14+
- not devconfig_custom_yum_repofile
15+
916
- name: Select the CentOS CodeReady Builder repo
1017
ansible.builtin.set_fact:
1118
codeready_repo: "crb"

0 commit comments

Comments
 (0)