rabbitmq/tasks/Debian/install.yaml

34 lines
769 B
YAML
Raw Normal View History

2023-02-07 22:38:33 +00:00
---
- 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