diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 4f8a9799..6bf4ccd9 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,4 @@ +--- # Default state for all rules default: true diff --git a/.sanity-ansible-ignore-2.11.txt b/.sanity-ansible-ignore-2.11.txt index 0400b31e..5eff638a 100644 --- a/.sanity-ansible-ignore-2.11.txt +++ b/.sanity-ansible-ignore-2.11.txt @@ -1,73 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.5!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.8!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.9!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.10!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/client.py import-2.6!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-3.9!skip -plugins/module_utils/network_lsr/nm/client.py import-3.10!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/error.py import-2.6!skip -plugins/module_utils/network_lsr/nm/error.py import-2.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.5!skip -plugins/module_utils/network_lsr/nm/error.py import-3.6!skip -plugins/module_utils/network_lsr/nm/error.py import-3.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.8!skip -plugins/module_utils/network_lsr/nm/error.py import-3.9!skip -plugins/module_utils/network_lsr/nm/error.py import-3.10!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.9!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.10!skip -plugins/modules/network_connections.py validate-modules:doc-default-does-not-match-spec -plugins/modules/network_connections.py validate-modules:doc-required-mismatch -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:module-invalid-version-added -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-list-no-elements -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -tests/network/ensure_provider_tests.py compile-2.6!skip -tests/network/ensure_provider_tests.py compile-2.7!skip -tests/network/ensure_provider_tests.py compile-3.5!skip -tests/network/ensure_provider_tests.py future-import-boilerplate!skip -tests/network/ensure_provider_tests.py metaclass-boilerplate!skip +plugins/modules/network_state.py validate-modules:missing-gplv3-license tests/network/ensure_provider_tests.py shebang!skip -tests/network/integration/conftest.py future-import-boilerplate!skip -tests/network/integration/conftest.py metaclass-boilerplate!skip -tests/network/integration/test_ethernet.py future-import-boilerplate!skip -tests/network/integration/test_ethernet.py metaclass-boilerplate!skip -tests/network/merge_coverage.sh shebang!skip -tests/network/unit/test_network_connections.py future-import-boilerplate!skip -tests/network/unit/test_network_connections.py metaclass-boilerplate!skip -tests/network/unit/test_nm_provider.py future-import-boilerplate!skip -tests/network/unit/test_nm_provider.py metaclass-boilerplate!skip diff --git a/.sanity-ansible-ignore-2.12.txt b/.sanity-ansible-ignore-2.12.txt index 1c22c07c..5eff638a 100644 --- a/.sanity-ansible-ignore-2.12.txt +++ b/.sanity-ansible-ignore-2.12.txt @@ -1,72 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.5!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.8!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.9!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.10!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/client.py import-2.6!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-3.9!skip -plugins/module_utils/network_lsr/nm/client.py import-3.10!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/error.py import-2.6!skip -plugins/module_utils/network_lsr/nm/error.py import-2.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.5!skip -plugins/module_utils/network_lsr/nm/error.py import-3.6!skip -plugins/module_utils/network_lsr/nm/error.py import-3.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.8!skip -plugins/module_utils/network_lsr/nm/error.py import-3.9!skip -plugins/module_utils/network_lsr/nm/error.py import-3.10!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.9!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.10!skip -plugins/modules/network_connections.py validate-modules:doc-default-does-not-match-spec -plugins/modules/network_connections.py validate-modules:doc-required-mismatch -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:module-invalid-version-added -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-list-no-elements -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -plugins/modules/network_state.py import-2.6!skip -plugins/modules/network_state.py import-2.7!skip -plugins/modules/network_state.py import-3.5!skip -plugins/modules/network_state.py import-3.6!skip -plugins/modules/network_state.py import-3.7!skip -plugins/modules/network_state.py import-3.8!skip -plugins/modules/network_state.py import-3.9!skip -plugins/modules/network_state.py import-3.10!skip -plugins/modules/network_state.py validate-modules:import-error -plugins/modules/network_state.py validate-modules:missing-examples plugins/modules/network_state.py validate-modules:missing-gplv3-license -plugins/modules/network_state.py validate-modules:module-invalid-version-added tests/network/ensure_provider_tests.py shebang!skip -tests/network/merge_coverage.sh shebang!skip diff --git a/.sanity-ansible-ignore-2.13.txt b/.sanity-ansible-ignore-2.13.txt index 1c22c07c..5eff638a 100644 --- a/.sanity-ansible-ignore-2.13.txt +++ b/.sanity-ansible-ignore-2.13.txt @@ -1,72 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.5!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.8!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.9!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.10!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/client.py import-2.6!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-3.9!skip -plugins/module_utils/network_lsr/nm/client.py import-3.10!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/error.py import-2.6!skip -plugins/module_utils/network_lsr/nm/error.py import-2.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.5!skip -plugins/module_utils/network_lsr/nm/error.py import-3.6!skip -plugins/module_utils/network_lsr/nm/error.py import-3.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.8!skip -plugins/module_utils/network_lsr/nm/error.py import-3.9!skip -plugins/module_utils/network_lsr/nm/error.py import-3.10!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.9!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.10!skip -plugins/modules/network_connections.py validate-modules:doc-default-does-not-match-spec -plugins/modules/network_connections.py validate-modules:doc-required-mismatch -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:module-invalid-version-added -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-list-no-elements -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -plugins/modules/network_state.py import-2.6!skip -plugins/modules/network_state.py import-2.7!skip -plugins/modules/network_state.py import-3.5!skip -plugins/modules/network_state.py import-3.6!skip -plugins/modules/network_state.py import-3.7!skip -plugins/modules/network_state.py import-3.8!skip -plugins/modules/network_state.py import-3.9!skip -plugins/modules/network_state.py import-3.10!skip -plugins/modules/network_state.py validate-modules:import-error -plugins/modules/network_state.py validate-modules:missing-examples plugins/modules/network_state.py validate-modules:missing-gplv3-license -plugins/modules/network_state.py validate-modules:module-invalid-version-added tests/network/ensure_provider_tests.py shebang!skip -tests/network/merge_coverage.sh shebang!skip diff --git a/.sanity-ansible-ignore-2.14.txt b/.sanity-ansible-ignore-2.14.txt index 318c8d11..5eff638a 100644 --- a/.sanity-ansible-ignore-2.14.txt +++ b/.sanity-ansible-ignore-2.14.txt @@ -1,72 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.5!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.8!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.9!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.10!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.11!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.11!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-3.9!skip -plugins/module_utils/network_lsr/nm/client.py import-3.10!skip -plugins/module_utils/network_lsr/nm/client.py import-3.11!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.11!skip -plugins/module_utils/network_lsr/nm/error.py import-2.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.5!skip -plugins/module_utils/network_lsr/nm/error.py import-3.6!skip -plugins/module_utils/network_lsr/nm/error.py import-3.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.8!skip -plugins/module_utils/network_lsr/nm/error.py import-3.9!skip -plugins/module_utils/network_lsr/nm/error.py import-3.10!skip -plugins/module_utils/network_lsr/nm/error.py import-3.11!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.9!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.10!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.11!skip -plugins/modules/network_connections.py validate-modules:doc-default-does-not-match-spec -plugins/modules/network_connections.py validate-modules:doc-required-mismatch -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:module-invalid-version-added -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-list-no-elements -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -plugins/modules/network_state.py import-2.7!skip -plugins/modules/network_state.py import-3.5!skip -plugins/modules/network_state.py import-3.6!skip -plugins/modules/network_state.py import-3.7!skip -plugins/modules/network_state.py import-3.8!skip -plugins/modules/network_state.py import-3.9!skip -plugins/modules/network_state.py import-3.10!skip -plugins/modules/network_state.py import-3.11!skip -plugins/modules/network_state.py validate-modules:import-error -plugins/modules/network_state.py validate-modules:missing-examples plugins/modules/network_state.py validate-modules:missing-gplv3-license -plugins/modules/network_state.py validate-modules:module-invalid-version-added tests/network/ensure_provider_tests.py shebang!skip -tests/network/merge_coverage.sh shebang!skip diff --git a/.sanity-ansible-ignore-2.15.txt b/.sanity-ansible-ignore-2.15.txt index 318c8d11..5eff638a 100644 --- a/.sanity-ansible-ignore-2.15.txt +++ b/.sanity-ansible-ignore-2.15.txt @@ -1,72 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/__init__.py import-2.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.5!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.6!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.7!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.8!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.9!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.10!skip -plugins/module_utils/network_lsr/nm/__init__.py import-3.11!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.11!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-3.9!skip -plugins/module_utils/network_lsr/nm/client.py import-3.10!skip -plugins/module_utils/network_lsr/nm/client.py import-3.11!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.9!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.10!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.11!skip -plugins/module_utils/network_lsr/nm/error.py import-2.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.5!skip -plugins/module_utils/network_lsr/nm/error.py import-3.6!skip -plugins/module_utils/network_lsr/nm/error.py import-3.7!skip -plugins/module_utils/network_lsr/nm/error.py import-3.8!skip -plugins/module_utils/network_lsr/nm/error.py import-3.9!skip -plugins/module_utils/network_lsr/nm/error.py import-3.10!skip -plugins/module_utils/network_lsr/nm/error.py import-3.11!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.9!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.10!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.11!skip -plugins/modules/network_connections.py validate-modules:doc-default-does-not-match-spec -plugins/modules/network_connections.py validate-modules:doc-required-mismatch -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:module-invalid-version-added -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-list-no-elements -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -plugins/modules/network_state.py import-2.7!skip -plugins/modules/network_state.py import-3.5!skip -plugins/modules/network_state.py import-3.6!skip -plugins/modules/network_state.py import-3.7!skip -plugins/modules/network_state.py import-3.8!skip -plugins/modules/network_state.py import-3.9!skip -plugins/modules/network_state.py import-3.10!skip -plugins/modules/network_state.py import-3.11!skip -plugins/modules/network_state.py validate-modules:import-error -plugins/modules/network_state.py validate-modules:missing-examples plugins/modules/network_state.py validate-modules:missing-gplv3-license -plugins/modules/network_state.py validate-modules:module-invalid-version-added tests/network/ensure_provider_tests.py shebang!skip -tests/network/merge_coverage.sh shebang!skip diff --git a/.sanity-ansible-ignore-2.16.txt b/.sanity-ansible-ignore-2.16.txt new file mode 100644 index 00000000..5eff638a --- /dev/null +++ b/.sanity-ansible-ignore-2.16.txt @@ -0,0 +1,3 @@ +plugins/modules/network_connections.py validate-modules:missing-gplv3-license +plugins/modules/network_state.py validate-modules:missing-gplv3-license +tests/network/ensure_provider_tests.py shebang!skip diff --git a/.sanity-ansible-ignore-2.9.txt b/.sanity-ansible-ignore-2.9.txt index f1713d48..5eff638a 100644 --- a/.sanity-ansible-ignore-2.9.txt +++ b/.sanity-ansible-ignore-2.9.txt @@ -1,45 +1,3 @@ -plugins/module_utils/network_lsr/nm/__init__.py empty-init!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/active_connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/client.py import-2.6!skip -plugins/module_utils/network_lsr/nm/client.py import-2.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.5!skip -plugins/module_utils/network_lsr/nm/client.py import-3.6!skip -plugins/module_utils/network_lsr/nm/client.py import-3.7!skip -plugins/module_utils/network_lsr/nm/client.py import-3.8!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-2.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.5!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.6!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.7!skip -plugins/module_utils/network_lsr/nm/connection.py import-3.8!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-2.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.5!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.6!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.7!skip -plugins/module_utils/network_lsr/nm/provider.py import-3.8!skip -plugins/modules/network_connections.py validate-modules:missing-examples plugins/modules/network_connections.py validate-modules:missing-gplv3-license -plugins/modules/network_connections.py validate-modules:no-default-for-required-parameter -plugins/modules/network_connections.py validate-modules:parameter-type-not-in-doc -plugins/modules/network_connections.py validate-modules:undocumented-parameter -tests/network/ensure_provider_tests.py compile-2.6!skip -tests/network/ensure_provider_tests.py compile-2.7!skip -tests/network/ensure_provider_tests.py compile-3.5!skip -tests/network/ensure_provider_tests.py future-import-boilerplate!skip -tests/network/ensure_provider_tests.py metaclass-boilerplate!skip +plugins/modules/network_state.py validate-modules:missing-gplv3-license tests/network/ensure_provider_tests.py shebang!skip -tests/network/integration/conftest.py future-import-boilerplate!skip -tests/network/integration/conftest.py metaclass-boilerplate!skip -tests/network/integration/test_ethernet.py future-import-boilerplate!skip -tests/network/integration/test_ethernet.py metaclass-boilerplate!skip -tests/network/merge_coverage.sh shebang!skip -tests/network/unit/test_network_connections.py future-import-boilerplate!skip -tests/network/unit/test_network_connections.py metaclass-boilerplate!skip -tests/network/unit/test_nm_provider.py future-import-boilerplate!skip -tests/network/unit/test_nm_provider.py metaclass-boilerplate!skip diff --git a/examples/down_profile+delete_interface.yml b/examples/down_profile+delete_interface.yml deleted file mode 120000 index cbd4da18..00000000 --- a/examples/down_profile+delete_interface.yml +++ /dev/null @@ -1 +0,0 @@ -../tests/playbooks/down_profile+delete_interface.yml \ No newline at end of file diff --git a/library/network_connections.py b/library/network_connections.py index 07b29ccf..43915c92 100644 --- a/library/network_connections.py +++ b/library/network_connections.py @@ -12,7 +12,7 @@ author: Thomas Haller (@thom311) short_description: module for network role to manage connection profiles requirements: [pygobject, dbus, NetworkManager] -version_added: "2.0" +version_added: "2.13.0" description: - "WARNING: Do not use this module directly! It is only for role internal use." - | @@ -22,9 +22,44 @@ role and currently it is not expected to use this module outside the role. Thus, consult README.md for examples for the role. The requirements are only for the NetworkManager (nm) provider. -options: {} +options: + __debug_flags: + description: Flags to use for debugging + required: false + type: str + default: '' + force_state_change: + description: Force a state change + required: false + type: bool + default: False + ignore_errors: + description: Ignore errors + required: false + type: bool + default: False + __header: + description: Header to use in generated files + required: true + type: str + provider: + description: Network provider to use - initscripts or nm + required: true + type: str + connections: + description: Network configuration options + required: false + default: [] + type: list + elements: dict """ +EXAMPLES = """ +network_connections: + connections: + - name: eth0 + state: up +""" import errno import functools @@ -1454,7 +1489,6 @@ def rollback_checkpoint(self, path): ) def connection_activate(self, connection, timeout=15, wait_time=None): - already_retried = False while True: @@ -1681,9 +1715,14 @@ class RunEnvironmentAnsible(RunEnvironment): ARGS = { "ignore_errors": {"required": False, "default": False, "type": "bool"}, "force_state_change": {"required": False, "default": False, "type": "bool"}, - "provider": {"required": True, "default": None, "type": "str"}, - "connections": {"required": False, "default": None, "type": "list"}, - "__header": {"required": True, "default": None, "type": "str"}, + "provider": {"required": True, "type": "str"}, + "connections": { + "required": False, + "default": [], + "type": "list", + "elements": "dict", + }, + "__header": {"required": True, "type": "str"}, "__debug_flags": {"required": False, "default": "", "type": "str"}, } diff --git a/library/network_state.py b/library/network_state.py index 3f88f799..1a449107 100644 --- a/library/network_state.py +++ b/library/network_state.py @@ -9,7 +9,7 @@ DOCUMENTATION = r""" --- module: network_state -version_added: "2.9" +version_added: "2.13.0" short_description: module for network role to apply network state configuration description: - This module allows to apply the network state configuration through nmstate, @@ -22,6 +22,19 @@ author: "Wen Liang (@liangwen12year)" """ +EXAMPLES = r""" +network_state: + desired_state: + dns-resolver: + config: + search: + - example.com + - example.org + server: + - 2001:4860:4860::8888 + - 8.8.8.8 +""" + RETURN = r""" state: description: Network state after running the module @@ -29,8 +42,18 @@ returned: always """ -from ansible.module_utils.basic import AnsibleModule -import libnmstate # pylint: disable=import-error +import traceback + +from ansible.module_utils.basic import AnsibleModule, missing_required_lib + +try: + import libnmstate # pylint: disable=import-error +except ImportError: + NETWORK_HAS_NMSTATE = False + NETWORK_NMSTATE_IMPORT_ERROR = traceback.format_exc() +else: + NETWORK_HAS_NMSTATE = True + NETWORK_NMSTATE_IMPORT_ERROR = None class NetworkState: @@ -71,6 +94,12 @@ def run_module(): argument_spec=module_args, ) + if not NETWORK_HAS_NMSTATE: + module.fail_json( + msg=missing_required_lib("libnmstate"), + exception=NETWORK_NMSTATE_IMPORT_ERROR, + ) + network_state_module = NetworkState(module, "network_state") network_state_module.run() diff --git a/module_utils/network_lsr/nm/__init__.py b/module_utils/network_lsr/nm/__init__.py index 74c17cb5..e69de29b 100644 --- a/module_utils/network_lsr/nm/__init__.py +++ b/module_utils/network_lsr/nm/__init__.py @@ -1,11 +0,0 @@ -# Relative import is not support by ansible 2.8 yet -# pylint: disable=import-error, no-name-in-module -from __future__ import absolute_import, division, print_function - -__metaclass__ = type - -from ansible.module_utils.network_lsr.nm import provider # noqa:E501 - -# pylint: enable=import-error, no-name-in-module - -provider.NetworkManagerProvider diff --git a/module_utils/network_lsr/nm/client.py b/module_utils/network_lsr/nm/client.py index f47cc533..2327c76b 100644 --- a/module_utils/network_lsr/nm/client.py +++ b/module_utils/network_lsr/nm/client.py @@ -10,32 +10,38 @@ # pylint: disable=import-error, no-name-in-module from ansible.module_utils.network_lsr.nm import error # noqa:E501 -import gi - try: - gi.require_version("NM", "1.0") - - # It is required to state the NM version before importing it - # But this break the flake8 rule: https://www.flake8rules.com/rules/E402.html - # Use NOQA: E402 to suppress it. - from gi.repository import NM # NOQA: E402 - from gi.repository import GLib # NOQA: E402 - from gi.repository import Gio # NOQA: E402 - - # pylint: enable=import-error, no-name-in-module - - NM - GLib - Gio -except ValueError: - # This is to workaround a bug in ansible 2.9 which causes - # this code to be executed on the control node, where NM - # is not guaranteed to exist. On the other hand, it is - # ensured on the managed nodes as NM package is installed - # in the network role. Therefore, this exception handling - # does not affect the network installation and configuration - # on the managed nodes. - pass + import gi +except ImportError: + NETWORK_HAS_GI = False +else: + NETWORK_HAS_GI = True + +if NETWORK_HAS_GI: + try: + gi.require_version("NM", "1.0") + + # It is required to state the NM version before importing it + # But this break the flake8 rule: https://www.flake8rules.com/rules/E402.html + # Use NOQA: E402 to suppress it. + from gi.repository import NM # NOQA: E402 + from gi.repository import GLib # NOQA: E402 + from gi.repository import Gio # NOQA: E402 + + # pylint: enable=import-error, no-name-in-module + + NM + GLib + Gio + except ValueError: + # This is to workaround a bug in ansible 2.9 which causes + # this code to be executed on the control node, where NM + # is not guaranteed to exist. On the other hand, it is + # ensured on the managed nodes as NM package is installed + # in the network role. Therefore, this exception handling + # does not affect the network installation and configuration + # on the managed nodes. + pass def get_client(): diff --git a/tests/ensure_provider_tests.py b/tests/ensure_provider_tests.py index 95d4a065..bd52cd35 100755 --- a/tests/ensure_provider_tests.py +++ b/tests/ensure_provider_tests.py @@ -41,9 +41,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 '{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 @@ 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 diff --git a/tests/playbooks/tests_switch_provider.yml b/tests/playbooks/tests_switch_provider.yml index 67cbda47..42faca9a 100644 --- a/tests/playbooks/tests_switch_provider.yml +++ b/tests/playbooks/tests_switch_provider.yml @@ -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: diff --git a/tests/tests_802_1x_nm.yml b/tests/tests_802_1x_nm.yml index 27e86067..043371a0 100644 --- a/tests/tests_802_1x_nm.yml +++ b/tests/tests_802_1x_nm.yml @@ -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 diff --git a/tests/tests_802_1x_updated_nm.yml b/tests/tests_802_1x_updated_nm.yml index 8b1d54c9..03c88264 100644 --- a/tests/tests_802_1x_updated_nm.yml +++ b/tests/tests_802_1x_updated_nm.yml @@ -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 diff --git a/tests/tests_auto_gateway_initscripts.yml b/tests/tests_auto_gateway_initscripts.yml index 273fb638..5309e2b2 100644 --- a/tests/tests_auto_gateway_initscripts.yml +++ b/tests/tests_auto_gateway_initscripts.yml @@ -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 diff --git a/tests/tests_auto_gateway_nm.yml b/tests/tests_auto_gateway_nm.yml index 39b629e4..2be588d0 100644 --- a/tests/tests_auto_gateway_nm.yml +++ b/tests/tests_auto_gateway_nm.yml @@ -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 diff --git a/tests/tests_bond_cloned_mac_initscripts.yml b/tests/tests_bond_cloned_mac_initscripts.yml index d464ed2e..582aeb19 100644 --- a/tests/tests_bond_cloned_mac_initscripts.yml +++ b/tests/tests_bond_cloned_mac_initscripts.yml @@ -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 diff --git a/tests/tests_bond_cloned_mac_nm.yml b/tests/tests_bond_cloned_mac_nm.yml index d21c68db..01af6536 100644 --- a/tests/tests_bond_cloned_mac_nm.yml +++ b/tests/tests_bond_cloned_mac_nm.yml @@ -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 diff --git a/tests/tests_bond_deprecated_initscripts.yml b/tests/tests_bond_deprecated_initscripts.yml index 9d052a2e..85c5e644 100644 --- a/tests/tests_bond_deprecated_initscripts.yml +++ b/tests/tests_bond_deprecated_initscripts.yml @@ -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 diff --git a/tests/tests_bond_deprecated_nm.yml b/tests/tests_bond_deprecated_nm.yml index 28922b43..25d2f929 100644 --- a/tests/tests_bond_deprecated_nm.yml +++ b/tests/tests_bond_deprecated_nm.yml @@ -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 diff --git a/tests/tests_bond_initscripts.yml b/tests/tests_bond_initscripts.yml index 86b2a74d..935d98ec 100644 --- a/tests/tests_bond_initscripts.yml +++ b/tests/tests_bond_initscripts.yml @@ -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 diff --git a/tests/tests_bond_nm.yml b/tests/tests_bond_nm.yml index 25741507..d4b1a1b3 100644 --- a/tests/tests_bond_nm.yml +++ b/tests/tests_bond_nm.yml @@ -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 diff --git a/tests/tests_bond_options_nm.yml b/tests/tests_bond_options_nm.yml index e2151905..b59c7c10 100644 --- a/tests/tests_bond_options_nm.yml +++ b/tests/tests_bond_options_nm.yml @@ -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 diff --git a/tests/tests_bond_removal_initscripts.yml b/tests/tests_bond_removal_initscripts.yml index bed7deed..176ca95e 100644 --- a/tests/tests_bond_removal_initscripts.yml +++ b/tests/tests_bond_removal_initscripts.yml @@ -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 diff --git a/tests/tests_bond_removal_nm.yml b/tests/tests_bond_removal_nm.yml index f4bf1d1c..2d492802 100644 --- a/tests/tests_bond_removal_nm.yml +++ b/tests/tests_bond_removal_nm.yml @@ -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 diff --git a/tests/tests_bridge_cloned_mac_initscripts.yml b/tests/tests_bridge_cloned_mac_initscripts.yml index 79203301..fa79a07d 100644 --- a/tests/tests_bridge_cloned_mac_initscripts.yml +++ b/tests/tests_bridge_cloned_mac_initscripts.yml @@ -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 diff --git a/tests/tests_bridge_cloned_mac_nm.yml b/tests/tests_bridge_cloned_mac_nm.yml index 40c7dfd8..86db05d9 100644 --- a/tests/tests_bridge_cloned_mac_nm.yml +++ b/tests/tests_bridge_cloned_mac_nm.yml @@ -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 diff --git a/tests/tests_bridge_initscripts.yml b/tests/tests_bridge_initscripts.yml index 6e5cef38..e74ac6b6 100644 --- a/tests/tests_bridge_initscripts.yml +++ b/tests/tests_bridge_initscripts.yml @@ -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 diff --git a/tests/tests_bridge_nm.yml b/tests/tests_bridge_nm.yml index a16e92ec..53af046e 100644 --- a/tests/tests_bridge_nm.yml +++ b/tests/tests_bridge_nm.yml @@ -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 diff --git a/tests/tests_change_indication_on_repeat_run.yml b/tests/tests_change_indication_on_repeat_run.yml index 62c9312e..41f564a9 100644 --- a/tests/tests_change_indication_on_repeat_run.yml +++ b/tests/tests_change_indication_on_repeat_run.yml @@ -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 diff --git a/tests/tests_default_initscripts.yml b/tests/tests_default_initscripts.yml index aee70a69..560bd2a3 100644 --- a/tests/tests_default_initscripts.yml +++ b/tests/tests_default_initscripts.yml @@ -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 diff --git a/tests/tests_default_nm.yml b/tests/tests_default_nm.yml index 22f41502..317f6e38 100644 --- a/tests/tests_default_nm.yml +++ b/tests/tests_default_nm.yml @@ -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 diff --git a/tests/tests_dummy_nm.yml b/tests/tests_dummy_nm.yml index c67780e6..c6712007 100644 --- a/tests/tests_dummy_nm.yml +++ b/tests/tests_dummy_nm.yml @@ -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 diff --git a/tests/tests_eth_dns_support_nm.yml b/tests/tests_eth_dns_support_nm.yml index eae3a64f..682a7db6 100644 --- a/tests/tests_eth_dns_support_nm.yml +++ b/tests/tests_eth_dns_support_nm.yml @@ -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 diff --git a/tests/tests_eth_pci_address_match_nm.yml b/tests/tests_eth_pci_address_match_nm.yml index 84f02479..5277804f 100644 --- a/tests/tests_eth_pci_address_match_nm.yml +++ b/tests/tests_eth_pci_address_match_nm.yml @@ -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 diff --git a/tests/tests_ethernet_initscripts.yml b/tests/tests_ethernet_initscripts.yml index bbd48804..51de1695 100644 --- a/tests/tests_ethernet_initscripts.yml +++ b/tests/tests_ethernet_initscripts.yml @@ -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 diff --git a/tests/tests_ethernet_nm.yml b/tests/tests_ethernet_nm.yml index 86b51fd5..4d534a7a 100644 --- a/tests/tests_ethernet_nm.yml +++ b/tests/tests_ethernet_nm.yml @@ -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 diff --git a/tests/tests_ethtool_coalesce_initscripts.yml b/tests/tests_ethtool_coalesce_initscripts.yml index 3e5aff8c..198f30bd 100644 --- a/tests/tests_ethtool_coalesce_initscripts.yml +++ b/tests/tests_ethtool_coalesce_initscripts.yml @@ -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 diff --git a/tests/tests_ethtool_coalesce_nm.yml b/tests/tests_ethtool_coalesce_nm.yml index dd37ad0d..595e8f6b 100644 --- a/tests/tests_ethtool_coalesce_nm.yml +++ b/tests/tests_ethtool_coalesce_nm.yml @@ -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 diff --git a/tests/tests_ethtool_features_initscripts.yml b/tests/tests_ethtool_features_initscripts.yml index d441dbf6..fa3e7142 100644 --- a/tests/tests_ethtool_features_initscripts.yml +++ b/tests/tests_ethtool_features_initscripts.yml @@ -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 diff --git a/tests/tests_ethtool_features_nm.yml b/tests/tests_ethtool_features_nm.yml index 42d78c05..74c0fe1e 100644 --- a/tests/tests_ethtool_features_nm.yml +++ b/tests/tests_ethtool_features_nm.yml @@ -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 diff --git a/tests/tests_ethtool_ring_initscripts.yml b/tests/tests_ethtool_ring_initscripts.yml index 92b35b94..f317817f 100644 --- a/tests/tests_ethtool_ring_initscripts.yml +++ b/tests/tests_ethtool_ring_initscripts.yml @@ -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 diff --git a/tests/tests_ethtool_ring_nm.yml b/tests/tests_ethtool_ring_nm.yml index 27df87dc..e1b264cc 100644 --- a/tests/tests_ethtool_ring_nm.yml +++ b/tests/tests_ethtool_ring_nm.yml @@ -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 diff --git a/tests/tests_ignore_auto_dns_nm.yml b/tests/tests_ignore_auto_dns_nm.yml index 7a1f799f..aa07f0c4 100644 --- a/tests/tests_ignore_auto_dns_nm.yml +++ b/tests/tests_ignore_auto_dns_nm.yml @@ -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 diff --git a/tests/tests_infiniband_nm.yml b/tests/tests_infiniband_nm.yml index 09074149..619082a0 100644 --- a/tests/tests_infiniband_nm.yml +++ b/tests/tests_infiniband_nm.yml @@ -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 diff --git a/tests/tests_integration_pytest.yml b/tests/tests_integration_pytest.yml index c07465ea..c26f65be 100644 --- a/tests/tests_integration_pytest.yml +++ b/tests/tests_integration_pytest.yml @@ -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 diff --git a/tests/tests_ipv6_disabled_nm.yml b/tests/tests_ipv6_disabled_nm.yml index b222b696..ced38f7c 100644 --- a/tests/tests_ipv6_disabled_nm.yml +++ b/tests/tests_ipv6_disabled_nm.yml @@ -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 diff --git a/tests/tests_ipv6_dns_search_nm.yml b/tests/tests_ipv6_dns_search_nm.yml index 983ff576..f701da18 100644 --- a/tests/tests_ipv6_dns_search_nm.yml +++ b/tests/tests_ipv6_dns_search_nm.yml @@ -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 diff --git a/tests/tests_ipv6_initscripts.yml b/tests/tests_ipv6_initscripts.yml index 13e71b9b..0e37cfee 100644 --- a/tests/tests_ipv6_initscripts.yml +++ b/tests/tests_ipv6_initscripts.yml @@ -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 diff --git a/tests/tests_ipv6_nm.yml b/tests/tests_ipv6_nm.yml index bbff13ed..bebd832a 100644 --- a/tests/tests_ipv6_nm.yml +++ b/tests/tests_ipv6_nm.yml @@ -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 diff --git a/tests/tests_network_state_nm.yml b/tests/tests_network_state_nm.yml index bb6b3023..0e882823 100644 --- a/tests/tests_network_state_nm.yml +++ b/tests/tests_network_state_nm.yml @@ -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 diff --git a/tests/tests_provider_nm.yml b/tests/tests_provider_nm.yml index 3031e0d8..c8c5de1d 100644 --- a/tests/tests_provider_nm.yml +++ b/tests/tests_provider_nm.yml @@ -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 diff --git a/tests/tests_reapply_nm.yml b/tests/tests_reapply_nm.yml index 51fd51ea..015c8f4b 100644 --- a/tests/tests_reapply_nm.yml +++ b/tests/tests_reapply_nm.yml @@ -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 diff --git a/tests/tests_regression_nm.yml b/tests/tests_regression_nm.yml index 6910550a..5ff85509 100644 --- a/tests/tests_regression_nm.yml +++ b/tests/tests_regression_nm.yml @@ -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 diff --git a/tests/tests_route_device_initscripts.yml b/tests/tests_route_device_initscripts.yml index 9a7df396..2bcc50cf 100644 --- a/tests/tests_route_device_initscripts.yml +++ b/tests/tests_route_device_initscripts.yml @@ -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 diff --git a/tests/tests_route_device_nm.yml b/tests/tests_route_device_nm.yml index 029adfa8..46c37232 100644 --- a/tests/tests_route_device_nm.yml +++ b/tests/tests_route_device_nm.yml @@ -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 diff --git a/tests/tests_route_table_nm.yml b/tests/tests_route_table_nm.yml index 915ae1f1..239b0108 100644 --- a/tests/tests_route_table_nm.yml +++ b/tests/tests_route_table_nm.yml @@ -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 diff --git a/tests/tests_routing_rules_nm.yml b/tests/tests_routing_rules_nm.yml index 56639c36..b362207a 100644 --- a/tests/tests_routing_rules_nm.yml +++ b/tests/tests_routing_rules_nm.yml @@ -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 diff --git a/tests/tests_states_initscripts.yml b/tests/tests_states_initscripts.yml index 748d8d41..fd9da215 100644 --- a/tests/tests_states_initscripts.yml +++ b/tests/tests_states_initscripts.yml @@ -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 diff --git a/tests/tests_states_nm.yml b/tests/tests_states_nm.yml index 7ca84bcc..53729d1f 100644 --- a/tests/tests_states_nm.yml +++ b/tests/tests_states_nm.yml @@ -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 diff --git a/tests/tests_switch_provider.yml b/tests/tests_switch_provider.yml index fd2ad7eb..5e90786d 100644 --- a/tests/tests_switch_provider.yml +++ b/tests/tests_switch_provider.yml @@ -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 diff --git a/tests/tests_team_nm.yml b/tests/tests_team_nm.yml index e2e14b00..bc60498e 100644 --- a/tests/tests_team_nm.yml +++ b/tests/tests_team_nm.yml @@ -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 diff --git a/tests/tests_team_plugin_installation_nm.yml b/tests/tests_team_plugin_installation_nm.yml index a0c7eec4..46b3801d 100644 --- a/tests/tests_team_plugin_installation_nm.yml +++ b/tests/tests_team_plugin_installation_nm.yml @@ -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 diff --git a/tests/tests_unit.yml b/tests/tests_unit.yml index 1f29665b..44a4df30 100644 --- a/tests/tests_unit.yml +++ b/tests/tests_unit.yml @@ -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: diff --git a/tests/tests_vlan_mtu_initscripts.yml b/tests/tests_vlan_mtu_initscripts.yml index 5a4719e2..03f336e5 100644 --- a/tests/tests_vlan_mtu_initscripts.yml +++ b/tests/tests_vlan_mtu_initscripts.yml @@ -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 diff --git a/tests/tests_vlan_mtu_nm.yml b/tests/tests_vlan_mtu_nm.yml index 26251d1b..bd648f05 100644 --- a/tests/tests_vlan_mtu_nm.yml +++ b/tests/tests_vlan_mtu_nm.yml @@ -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 diff --git a/tests/tests_wireless_nm.yml b/tests/tests_wireless_nm.yml index 58cd8cd7..495eee84 100644 --- a/tests/tests_wireless_nm.yml +++ b/tests/tests_wireless_nm.yml @@ -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 diff --git a/tests/tests_wireless_plugin_installation_nm.yml b/tests/tests_wireless_plugin_installation_nm.yml index b9e0a2fb..b24dbcee 100644 --- a/tests/tests_wireless_plugin_installation_nm.yml +++ b/tests/tests_wireless_plugin_installation_nm.yml @@ -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 diff --git a/tests/tests_wireless_wpa3_owe_nm.yml b/tests/tests_wireless_wpa3_owe_nm.yml index a928cc6c..148f0928 100644 --- a/tests/tests_wireless_wpa3_owe_nm.yml +++ b/tests/tests_wireless_wpa3_owe_nm.yml @@ -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 diff --git a/tests/tests_wireless_wpa3_sae_nm.yml b/tests/tests_wireless_wpa3_sae_nm.yml index 68041276..1fd9bdbb 100644 --- a/tests/tests_wireless_wpa3_sae_nm.yml +++ b/tests/tests_wireless_wpa3_sae_nm.yml @@ -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