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
This commit is contained in:
Jesse Pretorius
2016-01-05 12:43:50 +00:00
parent 822c6c5694
commit bc411c677a

View File

@@ -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