@@ -4,7 +4,6 @@
codeready_repo: "codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rpms"
when:
- ansible_distribution == 'RedHat'
- - not devconfig_custom_yum_repofile
- kdevops_enable_guestfs
- name: Select the Oracle Linux CodeReady Builder repo
@@ -12,14 +11,12 @@
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"
when:
- ansible_distribution == 'CentOS'
- - not devconfig_custom_yum_repofile
- kdevops_enable_guestfs
- name: Select the AWS RHEL CodeReady Builder repo
@@ -27,7 +24,6 @@
codeready_repo: "codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-rhui-rpms"
when:
- ansible_distribution == 'RedHat'
- - not devconfig_custom_yum_repofile
- kdevops_enable_terraform
- kdevops_terraform_provider == "aws"
@@ -36,7 +32,6 @@
codeready_repo: "codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rhui-rpms"
when:
- ansible_distribution == 'RedHat'
- - not devconfig_custom_yum_repofile
- kdevops_enable_terraform
- kdevops_terraform_provider == "azure"
@@ -4,6 +4,7 @@
name: codereadyrepo
when:
- ansible_distribution != "Fedora"
+ - not devconfig_custom_yum_repofile
- name: Enable installation of packages from EPEL
ansible.builtin.include_role:
@@ -48,6 +48,7 @@
when:
- ansible_os_family == "RedHat"
- ansible_distribution != "Fedora"
+ - not devconfig_custom_yum_repofile
- name: Install dependencies for ltp
tags: ['build', 'ltp']
@@ -3,7 +3,8 @@
ansible.builtin.include_role:
name: codereadyrepo
when:
- ansible_distribution != "Fedora"
+ - ansible_distribution != "Fedora"
+ - not devconfig_custom_yum_repofile
- name: Install build dependencies for pynfs
become: yes
@@ -4,6 +4,7 @@
name: codereadyrepo
when:
- ansible_distribution != "Fedora"
+ - not devconfig_custom_yum_repofile
- name: Enable installation of packages from EPEL
ansible.builtin.include_role:
If we're using a custom yum repofile, there's no guarantee the CRB repo follows the expected naming convention or that a CRB repo even exists for our setup. Signed-off-by: Scott Mayhew <smayhew@redhat.com> --- playbooks/roles/codereadyrepo/tasks/main.yml | 5 ----- playbooks/roles/fstests/tasks/install-deps/redhat/main.yml | 1 + playbooks/roles/ltp/tasks/main.yml | 1 + playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml | 3 ++- playbooks/roles/sysbench/tasks/install-deps/redhat/main.yml | 1 + 5 files changed, 5 insertions(+), 6 deletions(-)