diff --git a/.github/workflows/pgbouncer-ci.yml b/.github/workflows/pgbouncer-ci.yml
index 42a43522ff15..384df3635810 100644
--- a/.github/workflows/pgbouncer-ci.yml
+++ b/.github/workflows/pgbouncer-ci.yml
@@ -283,11 +283,10 @@ jobs:
           # ninja-build (and the -devel packages) live in PowerTools, which is
           # called CRB from EL9 onwards; meson itself is in AppStream.
           if [ "${{ matrix.name }}" = "rocky-8" ]; then dnf config-manager --set-enabled "powertools"; else dnf config-manager --set-enabled "crb"; fi
-          # RHEL 9 dropped the OpenLDAP server; Rocky rebuilds openldap-servers
-          # in their "plus" repo. RHEL 10 dropped it again, this time without a
-          # Rocky rebuild anywhere, so pull it from EPEL instead.
-          if [ "${{ matrix.name }}" = "rocky-9" ]; then dnf config-manager --set-enabled "plus"; fi
-          if [ "${{ matrix.name }}" = "rocky-10" ]; then dnf -y install epel-release; fi
+          # RHEL 9 and later dropped the OpenLDAP server, so pull
+          # openldap-servers from EPEL.  (Rocky 9 also used to carry a rebuild
+          # in their "plus" repo, but that was not updated for 9.9.)
+          if [ "${{ matrix.name }}" != "rocky-8" ]; then dnf -y install epel-release; fi
           dnf -y install diffutils file gcc iptables libevent-devel libpq-devel make meson ninja-build openldap-clients openldap-devel openldap-servers openssl openssl-devel pam-devel pkg-config postgresql-server postgresql-contrib python3 python3-pip socat sudo systemd-devel wget
           if [ "${{ matrix.name }}" != "rocky-8" ]; then dnf -y install c-ares-devel; fi
           wget -O /tmp/pandoc.tar.gz https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-linux-amd64.tar.gz
