network/tests
Rich Megginson b94f3d0993 feat: add role fingerprints to syslog
Feature: Add a fingerprint string to the system log to indicate when the role began
successfully, and when the role finished successfully.  The fingerprint string indicates
the role name, a timestamp, and the platform.

Reason: Users can see when the role was used and if it was used successfully.  This
information from the system log can be collected by log scanners and aggregators
for further analysis.

Result: The role logs fingerprints to the system log.

This also adds a test to check if the fingerprints were written upon a successful
role invocation.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-27 08:55:57 -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
library test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
playbooks test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06: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 ci: update header for run_role_with_clear_facts [citest_skip] 2026-04-08 07:39:36 -06:00
unit test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
vars refactor: handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead 2026-01-07 18:43:15 -05:00
.gitignore Move tests to /tests directory and rename to new naming scheme 2018-05-16 19:48:23 +02:00
ansible.cfg bump timeout to 8 minutes for mac80211_hwsim kernel modules 2025-04-22 07:04:49 -06:00
covstats refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
ensure_provider_tests.py test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
get_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
get_coverage.yml refactor: support Ansible 2.19 2025-07-02 14:42:43 -06:00
get_total_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
git-post-commit.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
git-pre-commit.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
merge_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07: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
provision.fmf test: add another network interface device for qemu tests 2025-04-10 14:03:36 -06:00
setup-snapshot.yml style: ansible-lint - fix missing YAML document start 2023-04-28 09:15:50 -06:00
tests_802_1x_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_802_1x_updated_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_auto_gateway_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_auto_gateway_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_cloned_mac_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_cloned_mac_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_deprecated_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_deprecated_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_options_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_port_match_by_mac_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_removal_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bond_removal_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bridge_cloned_mac_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bridge_cloned_mac_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bridge_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_bridge_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_change_indication_on_repeat_run.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_default.yml feat: add role fingerprints to syslog 2026-04-27 08:55:57 -06:00
tests_default_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_default_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_dummy_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_eth_dns_support_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_eth_pci_address_match_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethernet_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethernet_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_coalesce_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_coalesce_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_features_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_features_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_ring_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ethtool_ring_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_helpers_and_asserts.yml refactor: handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead 2026-01-07 18:43:15 -05:00
tests_ignore_auto_dns_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_infiniband_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_integration_pytest.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ipv6_disabled_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ipv6_dns_search_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ipv6_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_ipv6_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_mac_address_match_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_network_state_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_provider_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_reapply_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_regression_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_route_device_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_route_device_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_route_table_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_route_type_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_routing_rules_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_states_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_states_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_switch_provider.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_team_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_team_plugin_installation_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_unit.yml refactor: handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead 2026-01-07 18:43:15 -05:00
tests_vlan_mtu_initscripts.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_vlan_mtu_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_wireless_and_network_restart_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_wireless_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_wireless_plugin_installation_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00
tests_wireless_wpa3_owe_nm.yml tests: Remove installing custom hostapd build for OWE 2026-03-30 10:17:23 -06:00
tests_wireless_wpa3_sae_nm.yml test: ensure role gathers the facts it uses by having test clear_facts before include_role 2026-03-19 10:47:09 -06:00