aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/debian.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/debian.yml')
-rw-r--r--tasks/debian.yml21
1 files changed, 16 insertions, 5 deletions
diff --git a/tasks/debian.yml b/tasks/debian.yml
index 4b38782..12ddd3b 100644
--- a/tasks/debian.yml
+++ b/tasks/debian.yml
@@ -1,18 +1,29 @@
1--- 1---
2- name: debian | adding RabbitMQ public GPG key to the apt repo 2- name: debian | adding RabbitMQ public GPG key to the apt repo
3 apt_key: url=http://www.rabbitmq.com/rabbitmq-signing-key-public.asc state=present 3 apt_key:
4 url: "{{ rabbitmq_debian_repo_key }}"
5 state: present
4 6
5- name: debian | adding RabbitMQ repo 7- name: debian | adding RabbitMQ repo
6 apt_repository: repo='deb http://www.rabbitmq.com/debian/ testing main' update_cache=no state=present 8 apt_repository:
9 repo: "{{ rabbitmq_debian_repo }}"
10 state: present
7 11
8- name: debian | installing RabbitMQ server 12- name: debian | installing RabbitMQ server
9 apt: name={{ item }} state=present 13 apt:
14 name: "{{ item }}"
15 state: present
10 with_items: 16 with_items:
11 - rabbitmq-server 17 - rabbitmq-server
12 18
13- name: debian | enabling the RabbitMQ Management Console 19- name: debian | enabling the RabbitMQ Management Console
14 rabbitmq_plugin: names=rabbitmq_management state=enabled 20 rabbitmq_plugin:
21 names: rabbitmq_management
22 state: enabled
15 notify: restart rabbitmq-server 23 notify: restart rabbitmq-server
16 24
17- name: debian | ensuring that the RabbitMQ service is running 25- name: debian | ensuring that the RabbitMQ service is running
18 service: name=rabbitmq-server state=started enabled=yes 26 service:
27 name: rabbitmq-server
28 state: started
29 enabled: yes