mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-21 10:18:27 +00:00
Instead of determining the non-default provider, run all integration tests explicitly for both providers or only the providers that are required. Since Ansible does not allow to pass variables to playbooks imported with `import_playbook` to select another playbook to import, generate the files instead of using a shared playbook like `run_with_nm.yml` or `run_with_initscripts.yml`.
11 lines
350 B
YAML
11 lines
350 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
# This file was generated by ensure_provider_tests.py
|
|
---
|
|
- hosts: all
|
|
name: Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider
|
|
tasks:
|
|
- name: Set network provider to 'initscripts'
|
|
set_fact:
|
|
network_provider: initscripts
|
|
|
|
- import_playbook: playbooks/tests_bridge.yml
|