mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
tests: do not run test_switch_provider on CentOS/RHEL 9
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
ac33851552
commit
2ebc8b5022
1 changed files with 5 additions and 3 deletions
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
- import_playbook: playbooks/tests_switch_provider.yml
|
||||
when:
|
||||
# The test requires or should run with NetworkManager, therefore it cannot
|
||||
# run on RHEL/CentOS 6
|
||||
- ansible_distribution_major_version != '6'
|
||||
# The test requires NetworkManager and initscripts, therefore it can only
|
||||
# run on RHEL/CentOS 7, RHEL/CentOS 8, or Fedora
|
||||
- ansible_distribution in ['CentOS', 'RedHat'] and
|
||||
ansible_distribution_major_version in ['7', '8']
|
||||
or ansible_distribution == 'Fedora'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue