From 8d46bd7193d5d239b55882c1d8b20a183a305d1f Mon Sep 17 00:00:00 2001 From: Aleksandr Rykalin Date: Mon, 18 Nov 2019 19:28:57 +0300 Subject: [PATCH] set default for key size --- tasks/local-certificate.yml | 2 +- tasks/remote-certificate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/local-certificate.yml b/tasks/local-certificate.yml index 1be5bd2..a410a63 100644 --- a/tasks/local-certificate.yml +++ b/tasks/local-certificate.yml @@ -22,7 +22,7 @@ cert_path: "{{ certificate_cert_path }}" chain_path: "{{ certificate_chain_path if certificate_chain_path is defined else None }}" privatekey_path: "{{ certificate_privatekey_path if certificate_privatekey_path is defined else None }}" - privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else None }}" + privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else 4096 }}" common_name: "{{ certificate_common_name }}" alt_name: "{{ certificate_alt_name | default([]) }}" before_expired_hours: "{{ certificate_before_expired_hours if certificate_before_expired_hours is defined else 72 }}" diff --git a/tasks/remote-certificate.yml b/tasks/remote-certificate.yml index b0f9af4..182ad93 100644 --- a/tasks/remote-certificate.yml +++ b/tasks/remote-certificate.yml @@ -12,7 +12,7 @@ cert_path: "{{ certificate_cert_path }}" chain_path: "{{ certificate_chain_path if certificate_chain_path is defined else None }}" privatekey_path: "{{ certificate_privatekey_path if certificate_privatekey_path is defined else None }}" - privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else None }}" + privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else 4096 }}" common_name: "{{ certificate_common_name }}" alt_name: "{{ certificate_alt_name | default([]) }}" before_expired_hours: "{{ certificate_before_expired_hours if certificate_before_expired_hours is defined else None }}"