aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2016-06-08 16:31:50 -0400
committerLarry Smith Jr <mrlesmithjr@gmail.com>2016-06-08 16:31:50 -0400
commitbc0ca3da9ef79d3e75191500e941e63c5dbb6158 (patch)
treea71c5daeb867053d1c5c889d7717945664031053
parentce474be41d93f6907cff91993fe8792eb8575d43 (diff)
downloadansible-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>
-rw-r--r--defaults/main.yml2
-rw-r--r--tasks/debian.yml6
2 files changed, 7 insertions, 1 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 65c00ba..4923974 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -12,7 +12,7 @@ rabbitmq_config:
12 routing_key: logstash 12 routing_key: logstash
13 tags: 'ha-mode=all,ha-sync-mode=automatic' 13 tags: 'ha-mode=all,ha-sync-mode=automatic'
14rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' 14rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main'
15rabbitmq_debian_repo_key: 'http://www.rabbitmq.com/rabbitmq-signing-key-public.asc' 15rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc'
16rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group 16rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group
17rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' 17rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc'
18rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' 18rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm'
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: