Extend CI (#283)

* Run all tests on all targets. Remove hack in setup_acme.

* Fix some failing tests.

* OpenSSH tests do not work yet with default image on Ansible 2.9. Let's skip them on the cloud target.

* Make tests pass again.

* Make sure to install *latest* versions of cryptography and pyOpenSSL when not installing system packages, whenever possible.

ci_complete

* Update/fix aliases files.
This commit is contained in:
Felix Fontein
2021-09-25 17:21:06 +02:00
committed by GitHub
parent 0733b0d521
commit 44f7367e21
34 changed files with 170 additions and 44 deletions

View File

@@ -25,31 +25,45 @@
set_fact:
target_system_python: >-
{{
(ansible_facts.python.version.major ~ '.' ~ ansible_facts.python.version.minor)
in
(
system_python_version_data[ansible_facts.distribution] |
default(system_python_version_data[ansible_facts.os_family])
)[ansible_facts.distribution_version | internal__get_major_minor_version]
| default(
(
system_python_version_data[ansible_facts.distribution] |
default(system_python_version_data[ansible_facts.os_family])
)[ansible_facts.distribution_major_version]
system_python_version_data |
internal__version_lookup(
ansible_facts.distribution,
ansible_facts.os_family,
ansible_facts.distribution_version,
ansible_facts.distribution_major_version,
ansible_facts.python.version.major ~ '.' ~ ansible_facts.python.version.minor
)
}}
target_system_python_cannot_upgrade_cryptography: >-
{{
cannot_upgrade_cryptography |
internal__version_lookup(
ansible_facts.distribution,
ansible_facts.os_family,
ansible_facts.distribution_version,
ansible_facts.distribution_major_version,
ansible_facts.python.version.major ~ '.' ~ ansible_facts.python.version.minor
)
}}
controller_system_python: >-
{{
(hostvars['localhost'].ansible_facts.python.version.major ~ '.' ~ hostvars['localhost'].ansible_facts.python.version.minor)
in
(
system_python_version_data[hostvars['localhost'].ansible_facts.distribution] |
default(system_python_version_data[hostvars['localhost'].ansible_facts.os_family])
)[ansible_facts.distribution_version | internal__get_major_minor_version]
| default(
(
system_python_version_data[hostvars['localhost'].ansible_facts.distribution] |
default(system_python_version_data[hostvars['localhost'].ansible_facts.os_family])
)[hostvars['localhost'].ansible_facts.distribution_major_version]
system_python_version_data |
internal__version_lookup(
hostvars['localhost'].ansible_facts.distribution,
hostvars['localhost'].ansible_facts.os_family,
hostvars['localhost'].ansible_facts.distribution_version,
hostvars['localhost'].ansible_facts.distribution_major_version,
hostvars['localhost'].ansible_facts.python.version.major ~ '.' ~ hostvars['localhost'].ansible_facts.python.version.minor
)
}}
controller_system_python_cannot_upgrade_cryptography: >-
{{
cannot_upgrade_cryptography |
internal__version_lookup(
hostvars['localhost'].ansible_facts.distribution,
hostvars['localhost'].ansible_facts.os_family,
hostvars['localhost'].ansible_facts.distribution_version,
hostvars['localhost'].ansible_facts.distribution_major_version,
hostvars['localhost'].ansible_facts.python.version.major ~ '.' ~ hostvars['localhost'].ansible_facts.python.version.minor
)
}}