# SPDX-License-Identifier: BSD-3-Clause
---
- name: Run playbook 'playbooks/integration_pytest_python3.yml'
  hosts: all
  tasks:
    - name: Include the task 'el_repo_setup.yml'
      include_tasks: tasks/el_repo_setup.yml

- name: Import the playbook 'playbooks/integration_pytest_python3.yml'
  import_playbook: playbooks/integration_pytest_python3.yml
  when: (ansible_distribution in ["CentOS", "RedHat"] and
        ansible_distribution_major_version == "8") or
        (ansible_distribution == "Fedora" and
        ansible_distribution_major_version | int < 39)
