aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/debian.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/debian.yml')
-rw-r--r--tasks/debian.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/debian.yml b/tasks/debian.yml
index f35bf55..c98ff68 100644
--- a/tasks/debian.yml
+++ b/tasks/debian.yml
@@ -4,12 +4,16 @@
4 url: "{{ rabbitmq_debian_repo_key }}" 4 url: "{{ rabbitmq_debian_repo_key }}"
5 state: present 5 state: present
6 become: true 6 become: true
7 register: result
8 until: result is successful
7 9
8- name: debian | adding RabbitMQ repo 10- name: debian | adding RabbitMQ repo
9 apt_repository: 11 apt_repository:
10 repo: "{{ rabbitmq_debian_repo }}" 12 repo: "{{ rabbitmq_debian_repo }}"
11 state: present 13 state: present
12 become: true 14 become: true
15 register: result
16 until: result is successful
13 17
14- name: debian | add Rabbitmq erlang repo key 18- name: debian | add Rabbitmq erlang repo key
15 apt_key: 19 apt_key:
@@ -27,7 +31,7 @@
27 31
28- name: debian | installing RabbitMQ server 32- name: debian | installing RabbitMQ server
29 apt: 33 apt:
30 name: "{{ item }}" 34 name: ['rabbitmq-server']
31 state: present 35 state: present
32 become: true 36 become: true
33 with_items: 37 with_items: