diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2016-06-08 16:31:50 -0400 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2016-06-08 16:31:50 -0400 |
commit | bc0ca3da9ef79d3e75191500e941e63c5dbb6158 (patch) | |
tree | a71c5daeb867053d1c5c889d7717945664031053 /tasks | |
parent | ce474be41d93f6907cff91993fe8792eb8575d43 (diff) | |
download | ansible-rabbitmq-bc0ca3da9ef79d3e75191500e941e63c5dbb6158.tar.gz ansible-rabbitmq-bc0ca3da9ef79d3e75191500e941e63c5dbb6158.tar.zst ansible-rabbitmq-bc0ca3da9ef79d3e75191500e941e63c5dbb6158.zip |
Fixed signing key and updating cache
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/debian.yml | 6 |
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: |