mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-19 01:17:00 +00:00
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>
This commit is contained in:
parent
a4267e4e91
commit
fde69e0758
14 changed files with 13 additions and 27 deletions
|
|
@ -150,8 +150,7 @@ RUN_PLAYBOOK_WITH_INITSCRIPTS = """# SPDX-License-Identifier: BSD-3-Clause
|
|||
|
||||
- import_playbook: {test_playbook}
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and\n \
|
||||
ansible_distribution_major_version | int < 9) or\n \
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_auto_gateway.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_bond_deprecated.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_bond.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_bridge.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -9,5 +9,4 @@
|
|||
|
||||
- import_playbook: tests_default.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_ethernet.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_ethtool_coalesce.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_ethtool_features.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_ethtool_ring.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_ipv6.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_states.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@
|
|||
# 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'
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
|
||||
- import_playbook: playbooks/tests_vlan_mtu.yml
|
||||
when: (ansible_distribution in ['CentOS','RedHat'] and
|
||||
ansible_distribution_major_version | int < 9) or
|
||||
ansible_distribution == 'Fedora'
|
||||
ansible_distribution_major_version | int < 9)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue