# SPDX-License-Identifier: BSD-3-Clause # This file was generated by ensure_provider_tests.py --- # yamllint disable rule:line-length - name: Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider hosts: all tasks: - name: Include the task 'el_repo_setup.yml' include_tasks: tasks/el_repo_setup.yml - name: Set network provider to 'initscripts' set_fact: network_provider: initscripts tags: - always - name: Include distro variables include_vars: vars/rh_distros_vars.yml - name: Set platform facts set_fact: __network_distro_major_version: "{{ ansible_facts['distribution_major_version'] }}" __network_is_rhel: "{{ ansible_facts['distribution'] == 'RedHat' }}" __network_is_fedora: "{{ ansible_facts['distribution'] == 'Fedora' }}" __network_is_centos: "{{ ansible_facts['distribution'] == 'CentOS' }}" __network_is_os_family_rhel: "{{ ansible_facts['os_family'] == 'RedHat' }}" __is_rh_distro: "{{ __network_is_rh_distro }}" - name: Import the playbook 'playbooks/tests_ethtool_features.yml' import_playbook: playbooks/tests_ethtool_features.yml when: - __is_rh_distro - __network_distro_major_version | int < 9