aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/debian.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/debian.yml b/tasks/debian.yml
index 12ddd3b..a031ead 100644
--- a/tasks/debian.yml
+++ b/tasks/debian.yml
@@ -8,6 +8,12 @@
8 apt_repository: 8 apt_repository:
9 repo: "{{ rabbitmq_debian_repo }}" 9 repo: "{{ rabbitmq_debian_repo }}"
10 state: present 10 state: present
11 register: "rabbitmq_repo_added"
12
13- name: debian | updating apt cache
14 apt:
15 update_cache: yes
16 when: rabbitmq_repo_added.changed
11 17
12- name: debian | installing RabbitMQ server 18- name: debian | installing RabbitMQ server
13 apt: 19 apt: