mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
[PR #10813/a7e4cee4 backport][stable-10] Remove obsolete test conditions (#10814)
Remove obsolete test conditions (#10813)
* Fedora 31 and 32 are EOL, remove conditions related
(cherry picked from commit a7e4cee47d)
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -74,22 +74,9 @@
|
||||
- ansible_distribution == 'Ubuntu'
|
||||
- ansible_facts.distribution_major_version is version('24', '>=')
|
||||
|
||||
- name: make sure the dbus service is started under systemd
|
||||
systemd:
|
||||
name: dbus
|
||||
state: started
|
||||
when:
|
||||
- ansible_service_mgr == 'systemd'
|
||||
- ansible_distribution == 'Fedora'
|
||||
- ansible_facts.distribution_major_version is version('31', '<')
|
||||
|
||||
|
||||
- name: Run tests
|
||||
# Skip tests on Fedora 31 and 32 because dbus fails to start unless the container is run in privileged mode.
|
||||
# Even then, it starts unreliably. This may be due to the move to cgroup v2 in Fedora 31 and 32.
|
||||
# https://www.redhat.com/sysadmin/fedora-31-control-group-v2
|
||||
when:
|
||||
- ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['Fedora31', 'Fedora32']
|
||||
- not (ansible_os_family == 'Alpine') # TODO
|
||||
- not (ansible_distribution == 'Archlinux') # TODO
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user