From bc0ca3da9ef79d3e75191500e941e63c5dbb6158 Mon Sep 17 00:00:00 2001 From: Larry Smith Jr Date: Wed, 8 Jun 2016 16:31:50 -0400 Subject: Fixed signing key and updating cache Signed-off-by: Larry Smith Jr --- tasks/debian.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tasks') 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 @@ apt_repository: repo: "{{ rabbitmq_debian_repo }}" state: present + register: "rabbitmq_repo_added" + +- name: debian | updating apt cache + apt: + update_cache: yes + when: rabbitmq_repo_added.changed - name: debian | installing RabbitMQ server apt: -- cgit v1.2.3