Skip to content

Commit

Permalink
[stable-2.9] Drop "rhui-" prefix from RHEL repositories in AMI (ansib…
Browse files Browse the repository at this point in the history
…le#71130)

The repository names seem to have changed and no longer have the "rhui-" prefix.
(cherry picked from commit 6ac4439)

Co-authored-by: Sam Doran <sdoran@redhat.com>
  • Loading branch information
samdoran committed Aug 6, 2020
1 parent c3ac896 commit 813a3d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/integration/targets/setup_docker/tasks/RedHat-7.yml
Expand Up @@ -12,8 +12,8 @@
name: setup_epel

- name: Enable extras repository for RHEL on AWS
# RHEL 7.6 uses rhui-REGION-rhel-server-extras and RHEL 7.7+ use rhui-rhel-7-server-rhui-extras-rpms
command: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
# RHEL 7.6 uses REGION-rhel-server-extras and RHEL 7.7+ use rhel-7-server-rhui-extras-rpms
command: yum-config-manager --enable REGION-rhel-server-extras rhel-7-server-rhui-extras-rpms
args:
warn: no

Expand Down
4 changes: 2 additions & 2 deletions test/integration/targets/setup_podman/vars/main.yml
@@ -1,4 +1,4 @@
repo_command:
RedHat7:
enable: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
disable: yum-config-manager --disable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
enable: yum-config-manager --enable REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
disable: yum-config-manager --disable REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms

0 comments on commit 813a3d5

Please sign in to comment.