mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-15 12:27:38 +00:00
filesystem tests: reorganize exceptions (#12277)
Reorganize exceptions for filesystem tests.
This commit is contained in:
parent
7dc2441fc8
commit
c760e9e0ff
1 changed files with 8 additions and 12 deletions
|
|
@ -55,16 +55,14 @@
|
|||
- 'not (ansible_facts.distribution in ["Archlinux"] and item.0.key == "bcachefs")'
|
||||
# TODO: bcachefs on Alpine doesn't seem to work for unknown reasons, debug this!
|
||||
- 'not (ansible_facts.distribution in ["Alpine"] and item.0.key == "bcachefs")'
|
||||
# f2fs-tools and reiserfs-utils packages not available with RHEL/CentOS on CI
|
||||
- 'not (ansible_facts.distribution in ["CentOS", "RedHat"] and item.0.key in ["f2fs", "reiserfs"])'
|
||||
# btrfs packages not available on RHEL/CentOS/Fedora
|
||||
- 'not (ansible_facts.os_family == "RedHat" and item.0.key == "btrfs")'
|
||||
# reiserfs-utils package not available with Fedora 35 on CI
|
||||
- 'not (ansible_facts.distribution == "Fedora" and (ansible_facts.distribution_major_version | int >= 35) and
|
||||
item.0.key == "reiserfs")'
|
||||
# reiserfs packages apparently not available with Alpine
|
||||
- 'not (ansible_facts.distribution == "Alpine" and item.0.key == "reiserfs")'
|
||||
# reiserfsprogs packages no longer available with Arch Linux
|
||||
- 'not (ansible_facts.distribution == "Archlinux" and item.0.key == "reiserfs")'
|
||||
# btrfs-progs cannot be installed on ArchLinux
|
||||
- 'not (item.0.key == "btrfs" and ansible_facts.distribution == "Archlinux")' # TODO: figure out why it fails, fix it!
|
||||
# f2fs-tools package not available with RHEL/CentOS on CI
|
||||
- 'not (ansible_facts.distribution in ["CentOS", "RedHat"] and item.0.key == "f2fs")'
|
||||
# reiserfs not available with RHEL/CentOS/Fedora/Alpine/Arch Liux
|
||||
- 'not (ansible_facts.distribution in ["CentOS", "RedHat", "Fedora", "Alpine", "Archlinux"] and item.0.key == "reiserfs")'
|
||||
# reiserfsprogs packages no longer available with OpenSuSE
|
||||
- 'not (ansible_facts.os_family == "Suse" and item.0.key == "reiserfs")'
|
||||
# reiserfsprogs packages no longer available with Ubuntu 26.04
|
||||
|
|
@ -72,7 +70,7 @@
|
|||
# ocfs2 only available on Debian based distributions
|
||||
- 'not (item.0.key == "ocfs2" and ansible_facts.os_family != "Debian")'
|
||||
# Tests use losetup which can not be used inside unprivileged container
|
||||
- 'not (item.0.key == "lvm" and ansible_facts.virtualization_type in ["docker", "container", "containerd"])'
|
||||
- 'not (item.0.key == "lvm" and ansible_facts.virtualization_type in ["podman", "docker", "container", "containerd"])'
|
||||
# vfat resizing fails on Debian (but not Ubuntu)
|
||||
- 'not (item.0.key == "vfat" and ansible_facts.distribution == "Debian")' # TODO: figure out why it fails, fix it!
|
||||
# vfat resizing fails on ArchLinux
|
||||
|
|
@ -80,8 +78,6 @@
|
|||
# vfat resizing fails on Ubuntu 22.04
|
||||
- 'not (item.0.key == "vfat" and ansible_facts.distribution == "Ubuntu" and (ansible_facts.distribution_major_version | int == 22))'
|
||||
# TODO: figure out why it fails, fix it!
|
||||
# btrfs-progs cannot be installed on ArchLinux
|
||||
- 'not (item.0.key == "btrfs" and ansible_facts.distribution == "Archlinux")' # TODO: figure out why it fails, fix it!
|
||||
# swap does not work on Alpine due to no -f support in mkswap
|
||||
- 'not (item.0.key == "swap" and ansible_facts.distribution == "Alpine")'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue