From bc411c677a4aef36817d990f8849d8d8d8befea3 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 5 Jan 2016 12:43:50 +0000 Subject: [PATCH] Ensure that SSL key/cert contents distribute correctly Currently the contents of the key file are 'rabbitmq_ssl_key_fact' instead of the actual key and the same goes for the cert. This patch ensures that the contents of the file are the actual contents of the fact, not just the fact name. Change-Id: I3ce18697fa1d6e25678ec624f4e554ed1ff904d6 --- tasks/rabbitmq_ssl_key_distribute.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/rabbitmq_ssl_key_distribute.yml b/tasks/rabbitmq_ssl_key_distribute.yml index cba39ddc..3ed0a677 100644 --- a/tasks/rabbitmq_ssl_key_distribute.yml +++ b/tasks/rabbitmq_ssl_key_distribute.yml @@ -21,7 +21,7 @@ group: "rabbitmq" mode: "{{ item.file_mode }}" with_items: - - { name: "rabbitmq_ssl_key_fact", file_mode: "0640" } + - { name: "{{ rabbitmq_ssl_key_fact }}", file_mode: "0640" } tags: - rabbitmq-ssl @@ -33,7 +33,7 @@ group: "rabbitmq" mode: "{{ item.file_mode }}" with_items: - - { name: "rabbitmq_ssl_cert_fact", file_mode: "0640" } + - { name: "{{ rabbitmq_ssl_cert_fact }}", file_mode: "0640" } tags: - rabbitmq-ssl