mirror of
https://gitea.0xace.cc/ansible-galaxy/rabbitmq.git
synced 2024-11-25 08:16:43 +00:00
34 lines
769 B
YAML
34 lines
769 B
YAML
|
---
|
||
|
- name: Add gpg keys for rabbitmq
|
||
|
ansible.builtin.apt_key:
|
||
|
url: "{{ item.url }}"
|
||
|
keyring: "{{ item.keyring }}"
|
||
|
loop: "{{ rabbitmq_debian_apt_key }}"
|
||
|
|
||
|
- name: Enable https transport for apt
|
||
|
apt:
|
||
|
name: apt-transport-https
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: Add rabbitmq.list to sources
|
||
|
template:
|
||
|
src: "rabbitmq.list.j2"
|
||
|
dest: /etc/apt/sources.list.d/rabbitmq.list
|
||
|
|
||
|
- name: Install deps packages
|
||
|
apt:
|
||
|
name:
|
||
|
- socat
|
||
|
- logrotate
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: Install erlang {{ erlang_debian_version }}
|
||
|
apt:
|
||
|
name: "{{ erlang_debian_package }}"
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: Install rabbitmq {{ rabbitmq_debian_version }}
|
||
|
apt:
|
||
|
name: "{{ rabbitmq_debian_package}}={{ rabbitmq_debian_version }}"
|
||
|
update_cache: yes
|