network/tests/tests_switch_provider.yml
Wen Liang fde69e0758 Disable all initscripts provider tests on Fedora
The initscripts provider tests are unstable on Fedora and users are not
using the initscripts on Fedora, therefore, disable all initscripts
provider tests on Fedora.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2022-02-11 21:59:35 +01:00

11 lines
421 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'playbooks/tests_switch_provider.yml'
- import_playbook: playbooks/tests_switch_provider.yml
when:
# 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']