From 362e18203253aa9ef9648a761715f253439fdd2a Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 12 Dec 2017 14:33:59 +0000 Subject: [PATCH] certificate directory --- defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 853a879..4263b7d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,3 +1,5 @@ +certificate_directory: /etc/ssl + certificate_name: "{{ certificate_common_name | regex_replace(' ', '_') }}" certificate_file: "{{ certificate_directory }}/certs/{{ certificate_name }}.cert.pem" certificate_chain_file: "{{ certificate_directory }}/certs/{{ certificate_name }}.chain.pem"