Add Ubuntu 20.04 to CI (#176)

* Add Ubuntu 20.04 to CI.

* Also use longer keys for Ubuntu 20.04.

* Fix condition.
pull/178/head
Felix Fontein 2021-01-22 21:39:53 +01:00 committed by GitHub
parent 7714893294
commit 4f7ab6733d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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: []

View File

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