Skip to content

Commit 3808ef2

Browse files
committed
Manually install and upgrade Erlang.
1 parent d162657 commit 3808ef2

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

roles/rabbitmq/tasks/main.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
---
22

3-
- name: Add the RabbitMQ release signing key to the apt trusted keys
4-
ansible.builtin.apt_key: url=https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key
5-
state=present
6-
7-
- name: Add the RabbitMQ repository to the apt sources list
8-
ansible.builtin.apt_repository: repo='deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu {{ ansible_distribution_release }} main'
9-
update_cache={{ update_apt_cache }}
10-
state=present
11-
12-
- name: Add the RabbitMQ Erlang signing key to the apt trusted keys
13-
ansible.builtin.apt_key: url=https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key
14-
state=present
15-
16-
- name: Add the RabbitMQ Erlang repository to the apt sources list
17-
ansible.builtin.apt_repository: repo='deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu {{ ansible_distribution_release }} main'
18-
update_cache={{ update_apt_cache }}
19-
state=present
20-
3+
- name: Install Erlang
4+
ansible.builtin.apt:
5+
update_cache: "{{ update_apt_cache }}"
6+
state: present
7+
name: erlang
8+
tags:
9+
- packages
2110

2211
- name: Install RabbitMQ server
2312
ansible.builtin.apt:

0 commit comments

Comments
 (0)