ci: Use supported ansible-lint action; run ansible-lint against the collection

The old ansible-community ansible-lint is deprecated.  There is a
new ansible-lint github action.  The new ansible-lint has several checks
related to ansible-test and the ignore files.  Many of our ignore settings
are not allowed any more and are required to be fixed or addressed in the
Ansible preferred way.

The python imports have to be wrapped in a try/except ImportError, and
where possible, an error must be returned from the module explaining
what was not able to be imported.

The module documentation must comply with the Ansible standards.  One
aspect of this is the `version_added` must be a valid ansible-core
version in X.Y.Z format.  Note that this version isn't really used
anywhere, so it doesn't matter for users of the role, it is purely
an `ansible-test` and import gating issue.

The result of this is that the .sanity files can be reduced to the
bare minimum which will greatly reduce the maintenance burden of
those files, make it easier to support newer versions of Ansible,
and make it easier to import the system roles collection into Galaxy
and Automation Hub.

The latest Ansible repo gating tests run ansible-lint against
the collection format instead of against individual roles.
We have to convert the role to collection format before running
ansible-test.

Role developers can run this locally using
`tox -e collection,ansible-lint-collection`
See https://github.com/linux-system-roles/tox-lsr/pull/125

Add `---` doc start to .markdownlint.yaml

The file `examples/down_profile+delete_interface.yml`
was not used and was causing ansible-lint errors.

ansible-lint enforces the order of keywords in plays - `name`,
then `hosts`, then `vars`, then `tasks`.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
Rich Megginson 2023-12-19 18:27:28 -07:00 committed by Richard Megginson
parent 15e705dd95
commit e4d499763c
73 changed files with 288 additions and 610 deletions

View file

@ -41,9 +41,9 @@ RUN_PLAYBOOK_WITH_NM = """# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook '{test_playbook}' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook '{test_playbook}' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml
@ -149,9 +149,9 @@ IGNORE = [
RUN_PLAYBOOK_WITH_INITSCRIPTS = """# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook '{test_playbook}' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook '{test_playbook}' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,8 +2,8 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
name: Switch initscripts provider to nm
- name: Switch initscripts provider to nm
hosts: all
tasks:
- name: Set fact to use initscripts network_provider
set_fact:

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_802_1x.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_802_1x.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_cloned_mac.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_cloned_mac.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_cloned_mac.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_cloned_mac.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_options.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_options.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bond_removal.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bond_removal.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_bridge.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_bridge.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,11 +1,11 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
- name: Test change indication on repeat run
hosts: all
vars:
interface: testnic1
type: veth
name: Test change indication on repeat run
tasks:
- name: Determine if system is ostree and set flag
when: not __network_is_ostree is defined

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'tests_default.yml' with initscripts as provider
- name: Run playbook 'tests_default.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'tests_default.yml' with nm as provider
- name: Run playbook 'tests_default.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_dummy.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_dummy.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_eth_dns_support.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_eth_dns_support.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_eth_pci_address_match.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_eth_pci_address_match.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethernet.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethernet.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_coalesce.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethtool_coalesce.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider
# 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

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_features.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethtool_features.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ethtool_ring.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ethtool_ring.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ignore_auto_dns.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ignore_auto_dns.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_infiniband.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_infiniband.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'playbooks/integration_pytest_python3.yml'
- 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

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ipv6_disabled.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ipv6_disabled.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ipv6.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ipv6.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_ipv6.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_ipv6.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_network_state.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_network_state.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_provider.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_provider.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_reapply.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_reapply.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
---
# set network provider and gather facts
- hosts: all
name: Run playbook 'playbooks/tests_checkpoint_cleanup.yml' with nm as
- name: Run playbook 'playbooks/tests_checkpoint_cleanup.yml' with nm as
provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_route_device.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_route_device.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_route_table.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_route_table.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_states.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_states.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_states.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_states.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'playbooks/tests_switch_provider.yml'
- name: Run playbook 'playbooks/tests_switch_provider.yml'
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_team.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_team.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_team_plugin_installation.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_team_plugin_installation.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Setup for test running
- name: Setup for test running
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml
@ -21,8 +21,8 @@
- python-gobject-base
- python2-mock
- hosts: all
name: Execute python unit tests
- name: Execute python unit tests
hosts: all
tasks:
- name: Execute python unit tests
block:

View file

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# This file was generated by ensure_provider_tests.py
---
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_wireless.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_wireless.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_wireless_plugin_installation.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_wireless_plugin_installation.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_wireless_wpa3_owe.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_wireless_wpa3_owe.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml

View file

@ -2,9 +2,9 @@
# This file was generated by ensure_provider_tests.py
---
# set network provider and gather facts
- hosts: all
# yamllint disable rule:line-length
name: Run playbook 'playbooks/tests_wireless_wpa3_sae.yml' with nm as provider
# yamllint disable rule:line-length
- name: Run playbook 'playbooks/tests_wireless_wpa3_sae.yml' with nm as provider
hosts: all
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml