From bf742689aa15b34e5ea10c318e7c294ce0d6a400 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 1 Jul 2021 18:01:39 -0400 Subject: [PATCH] Update RabbitMQ download source to use cloudsmith instead of deprecated bintray. --- roles/rabbitmq/tasks/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/rabbitmq/tasks/main.yml b/roles/rabbitmq/tasks/main.yml index 12cc7eaf..2d79cc79 100644 --- a/roles/rabbitmq/tasks/main.yml +++ b/roles/rabbitmq/tasks/main.yml @@ -1,16 +1,20 @@ --- - name: Add the RabbitMQ release signing key to the apt trusted keys - apt_key: url=https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq + apt_key: url=https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key state=present - name: Add the RabbitMQ repository to the apt sources list - apt_repository: repo='deb https://dl.bintray.com/rabbitmq/debian/ {{ ansible_distribution_release }} main' + apt_repository: repo='deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu {{ ansible_distribution_release }} main' update_cache={{ update_apt_cache }} state=present +- name: Add the RabbitMQ Erlang signing key to the apt trusted keys + apt_key: url=https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key + state=present + - name: Add the RabbitMQ Erlang repository to the apt sources list - apt_repository: repo='deb https://dl.bintray.com/rabbitmq-erlang/debian/ {{ ansible_distribution_release }} erlang' + apt_repository: repo='deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu {{ ansible_distribution_release }} main' update_cache={{ update_apt_cache }} state=present