network/tests
Rich Megginson db10fc2035 add support for ansible-core 2.11 ansible-lint, ansible-test
Add support for using latest ansible-lint and ansible-test with
ansible-core 2.11.  There are a few new warnings that need to
be addressed or suppressed.

One of the changes is to add `# noqa ignore-errors` to the places in
the role where `ignore_errors: true` is used.  In general, it is not
a good idea to use `ignore_errors: true` - instead, it is better to
capture the result of the command using a `register`, then use
`failed_when`.  Or, if that is not possible, use a `block`/`rescue`
for more complex error handling.  However, in the case where the network
role is using `ignore_errors: true` in test code, it is acceptable.
see https://ansible-lint.readthedocs.io/en/latest/default_rules.html#ignore-errors

Another change is to have all tasks have a valid `name:`.  This
is explained at https://ansible-lint.readthedocs.io/en/latest/default_rules.html#unnamed-task

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2021-10-11 12:03:00 -06:00
..
files Add support for domain-suffix-match 802.1x option 2020-05-04 13:01:41 +02:00
integration fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
playbooks add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
roles/linux-system-roles.network Modularize role 2018-08-15 10:04:47 +02:00
tasks add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
unit Allow configuring network connection via matching path 2021-10-06 18:22:42 +08:00
.gitignore Move tests to /tests directory and rename to new naming scheme 2018-05-16 19:48:23 +02:00
covstats fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
ensure_provider_tests.py Allow configuring network connection via matching path 2021-10-06 18:22:42 +08:00
get_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
get_coverage.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_total_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
merge_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
module_utils Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
modules Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
tests_802_1x_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_802_1x_updated_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_auto_gateway_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_auto_gateway_nm.yml Add 'auto_gateway' option 2021-06-04 07:07:13 +08:00
tests_bond_deprecated_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_deprecated_nm.yml inclusive language: use "controller" instead of "master" 2021-02-03 12:57:03 +01:00
tests_bond_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_bridge_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bridge_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_change_indication_on_repeat_run.yml nm: Fix the incorrect change indication for dns option 2021-07-05 20:15:57 +08:00
tests_default.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_default_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_default_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_dummy_nm.yml RFE: Support dummy interfaces 2020-12-16 14:28:41 +08:00
tests_eth_dns_support_nm.yml Support dns-options in network role 2021-01-28 09:57:45 +08:00
tests_eth_pci_address_match_nm.yml Allow configuring network connection via matching path 2021-10-06 18:22:42 +08:00
tests_ethernet_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethernet_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_ethtool_coalesce_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_coalesce_nm.yml Enable comment support for "NM_ONLY_TESTS" 2021-05-04 08:09:04 +02:00
tests_ethtool_features_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_features_nm.yml Enable comment support for "NM_ONLY_TESTS" 2021-05-04 08:09:04 +02:00
tests_ethtool_ring_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_ring_nm.yml Add support for ETHTOOL Ring option 2021-05-11 18:19:16 +02:00
tests_helpers_and_asserts.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_integration_pytest.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_ipv6_disabled_nm.yml Support ipv6.method disabled in network role 2021-02-19 18:12:52 +01:00
tests_ipv6_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ipv6_nm.yml Fix static IPv6 support for initscripts provider 2021-04-08 16:49:20 +02:00
tests_provider_nm.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_reapply_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_regression_nm.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_team_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_team_plugin_installation_nm.yml Test installation of NetworkManager plugins 2021-03-05 11:57:16 +08:00
tests_unit.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
tests_vlan_mtu_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_vlan_mtu_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_wireless_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_wireless_plugin_installation_nm.yml Test installation of NetworkManager plugins 2021-03-05 11:57:16 +08:00
tests_wireless_wpa3_owe_nm.yml wifi: Add Opportunistic Wireless Encryption (OWE) support 2021-05-24 10:51:01 +08:00
tests_wireless_wpa3_sae_nm.yml wifi: Add Simultaneous Authentication of Equals(SAE) support 2021-08-09 09:59:22 +08:00