Skip to content

Commit

Permalink
Merge pull request #183 from YPCrumble/feature/update-rabbitmq-source
Browse files Browse the repository at this point in the history
Update RabbitMQ download source to use cloudsmith instead of deprecat…
  • Loading branch information
YPCrumble committed Jul 1, 2021
2 parents c0d9373 + bf74268 commit 0d192e6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions roles/rabbitmq/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 0d192e6

Please sign in to comment.