mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-06 13:22:58 +00:00
Add Ubuntu 20.04 to CI (#176)
* Add Ubuntu 20.04 to CI. * Also use longer keys for Ubuntu 20.04. * Fix condition.
This commit is contained in:
@@ -106,6 +106,8 @@ stages:
|
||||
test: ubuntu1604
|
||||
- name: Ubuntu 18.04
|
||||
test: ubuntu1804
|
||||
- name: Ubuntu 20.04
|
||||
test: ubuntu2004
|
||||
- stage: Docker_2_10
|
||||
displayName: Docker 2.10
|
||||
dependsOn: []
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
---
|
||||
default_rsa_key_size: 1024
|
||||
default_rsa_key_size_certifiates: '{{ 2048 if ansible_os_family == "RedHat" and ansible_facts.distribution_major_version | int >= 8 else 1024 }}'
|
||||
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)
|
||||
else 1024
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user