From a58b839905d2460b2084cb9427616705efd67189 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: 2025年5月29日 18:01:03 +0200 Subject: [PATCH] Add EL10 support With no specific repository for EL10, packages built for EL9 are installable and seems working at first glance. Once an appropriate repository is published, this commit can be reversed Change-Id: Ic80b316b69dc6b8086d90cfff46ceb318072ac0a (cherry picked from commit ac1661432631755ea98188fb13a728df933131d5) --- vars/redhat.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vars/redhat.yml b/vars/redhat.yml index 77c8584f..ca43df33 100644 --- a/vars/redhat.yml +++ b/vars/redhat.yml @@ -19,10 +19,14 @@ _rabbitmq_install_method: external_repo # el9, the packages themselves still have an el8 dist tag for rabbitmq _rabbitmq_package_dist_tag: "el8" -_rabbitmq_erlang_package_dist_tag: "el{{ ansible_facts['distribution_major_version'] }}" +# NOTE(noonedeadpunk): While there are no repository for EL10, EL9 keeps +# working just fine, as it's pretty much self-contained. +# Once there is EL10-specific repo, patch introducting this comment +# can be reverted. +_rabbitmq_erlang_package_dist_tag: "el9" # NOTE(noonedeadpunk): List of available packages can be searched here: https://cloudsmith.io/~rabbitmq/repos/ -_rabbitmq_repo_url: "https://yum1.rabbitmq.com/rabbitmq/el/{{ ansible_facts['distribution_major_version'] | lower }}/noarch" +_rabbitmq_repo_url: "https://yum1.rabbitmq.com/rabbitmq/el/9/noarch" _rabbitmq_repo: name: rabbitmq_rabbitmq-server description: "RabbitMQ Server Rolling Repository" @@ -35,7 +39,7 @@ _rabbitmq_repo: - https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key # NOTE(noonedeadpunk): List of available packages can be searched here: https://cloudsmith.io/~rabbitmq/repos/ -_rabbitmq_erlang_repo_url: "https://yum1.rabbitmq.com/erlang/el/{{ ansible_facts['distribution_major_version'] | lower }}/$basearch" +_rabbitmq_erlang_repo_url: "https://yum1.rabbitmq.com/erlang/el/9/$basearch" _rabbitmq_erlang_repo: name: rabbitmq_els-erlang description: "RabbitMQ Erlang Packages"

AltStyle によって変換されたページ (->オリジナル) /