network/tests
Wen Liang b02e58db76 Fix the failure of running ANSIBLE_GATHERING=explicit on tests_switch_provider.yml
The test `tests_switch_provider.yml` fails to run with
`ANSIBLE_GATHERING=explicit` with the error described below. Therefore,
include the task 'el_repo_setup.yml' before running the test which
supports gathering the minimum subset of facts required.

```
TASK [set fact to use initscripts network_provider]
task path: /tmp/tmp.Q6nP8W4iPS/rhel_system_roles/tests/network/playbooks/tests_switch_provider.yml:8
fatal: [/tmp/tmp.Q6nP8W4iPS/RHEL_8_8_TESTING.qcow2]: FAILED! => {}
MSG:
The conditional check 'ansible_distribution in ['CentOS', 'RedHat'] and
ansible_distribution_major_version in ['7', '8']' failed. The error
was: error while evaluating conditional (ansible_distribution in
['CentOS', 'RedHat'] and ansible_distribution_major_version in
['7', '8']): 'ansible_distribution' is undefined.
```

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2023-04-27 15:14:49 -06:00
..
files Add support for domain-suffix-match 802.1x option 2020-05-04 13:01:41 +02:00
integration Clean up connection profile after running pytest 2022-03-14 18:27:02 +01:00
playbooks ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
roles/linux-system-roles.network System Roles should consistently use ansible_managed in configuration files it manages 2022-02-25 06:10:42 +08:00
tasks ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
unit initscripts: Configure output device in routes 2023-02-20 06:36:00 +01: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 ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
get_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
get_coverage.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
get_total_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
git-post-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
git-pre-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +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
setup-snapshot.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_802_1x_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_802_1x_updated_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_auto_gateway_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_auto_gateway_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_cloned_mac_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_cloned_mac_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_deprecated_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_deprecated_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_options_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_removal_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bond_removal_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bridge_cloned_mac_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bridge_cloned_mac_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bridge_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_bridge_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_change_indication_on_repeat_run.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_default.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_default_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_default_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_dummy_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_eth_dns_support_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_eth_pci_address_match_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethernet_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethernet_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_coalesce_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_coalesce_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_features_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_features_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_ring_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ethtool_ring_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_helpers_and_asserts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_infiniband_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_integration_pytest.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ipv6_disabled_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ipv6_dns_search_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ipv6_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ipv6_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_network_state_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_provider_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_reapply_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_regression_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_route_device_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_route_device_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_route_table_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_routing_rules_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_states_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_states_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_switch_provider.yml Fix the failure of running ANSIBLE_GATHERING=explicit on tests_switch_provider.yml 2023-04-27 15:14:49 -06:00
tests_team_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_team_plugin_installation_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_unit.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_vlan_mtu_initscripts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_vlan_mtu_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_wireless_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_wireless_plugin_installation_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_wireless_wpa3_owe_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_wireless_wpa3_sae_nm.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00