Improve ArchLinux tests (#4291)

* Make sure that every test that uses package: requires setup_pkg_mgr.

* Upgrade system packages for Arch Linux.

* Re-enable java keytool tests on Arch.
This commit is contained in:
Felix Fontein 2022-02-27 13:51:26 +01:00 committed by GitHub
commit 274b8cceef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 49 additions and 2 deletions

View file

@ -4,12 +4,10 @@
# and should not be used as examples of how to write Ansible roles #
####################################################################
- set_fact:
# TODO: re-enable Archlinux!
has_java_keytool: >-
{{
ansible_os_family not in ['Darwin', 'FreeBSD']
and not (ansible_distribution == "CentOS" and ansible_distribution_version is version("7.0", "<"))
and not (ansible_distribution == "Archlinux")
}}
- name: Include OS-specific variables