network/tests/tasks
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
..
provider add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
activate_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
assert_device_absent.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
assert_device_present.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
assert_output_in_stderr_without_warnings.yml library: Separate debug and info logs from warnings 2020-05-06 21:57:34 +02:00
assert_profile_absent.yml test: Fix profile assertion on Fedora 33 2020-12-16 10:39:13 +08:00
assert_profile_present.yml test: Fix profile assertion on Fedora 33 2020-12-16 10:39:13 +08:00
cleanup_802_1x_server.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
cleanup_mock_wifi.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
cleanup_profile+device.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
create_and_remove_interface.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
create_bridge_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
create_bridge_profile_no_autoconnect.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
create_dummy_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
create_team_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
create_test_interfaces_with_dhcp.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
delete_interface.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
el_repo_setup.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
enable_epel.yml On RHEL 7, enable epel using yum-config-manager 2021-10-06 20:02:12 +02:00
get_current_interfaces.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_interface_stat.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
get_modules_and_utils_paths.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_NetworkManager_NVR.yml tests: Do not check arch for NM version 2020-08-21 08:43:10 +02:00
get_profile_stat.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
manage_test_interface.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
remove+down_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
remove_profile.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
remove_test_interfaces_with_dhcp.yml test: Fix the bond test on DHCP 2021-07-28 19:50:09 +08:00
run_test.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
setup_802.1x.yml Add ca_path option for 802.1x connections 2020-06-15 18:26:34 +02:00
setup_802_1x_server.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
setup_mock_wifi.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
setup_mock_wifi_wpa3_owe.yml wifi: Add Opportunistic Wireless Encryption (OWE) support 2021-05-24 10:51:01 +08:00
setup_mock_wifi_wpa3_sae.yml wifi: Add Simultaneous Authentication of Equals(SAE) support 2021-08-09 09:59:22 +08:00
setup_test_interface.yml Forget unmanaged state in NetworkManager 2020-07-11 16:17:06 +02:00
show_interfaces.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
start_mock_wifi.yml wifi: Add Opportunistic Wireless Encryption (OWE) support 2021-05-24 10:51:01 +08:00
test_802.1x_capath.yml add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00