mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
[stable-1] x509_certificate: handle unexpected error, fix test (#704)
* Handle unexpected error. * Increase certificate key size on Darwin. * Add changelog fragment.
This commit is contained in:
@@ -4,6 +4,7 @@ default_rsa_key_size_certifiates: >-
|
||||
{{
|
||||
2048 if
|
||||
(ansible_os_family == "RedHat" and ansible_facts.distribution_major_version | int >= 8) or
|
||||
(ansible_distribution == "Ubuntu" and ansible_facts.distribution_major_version | int >= 20)
|
||||
(ansible_distribution == "Ubuntu" and ansible_facts.distribution_major_version | int >= 20) or
|
||||
(ansible_os_family == "Darwin" and ansible_facts.distribution_major_version | int >= 12)
|
||||
else 1024
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user