ansible-playbook [core 2.17.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-npB executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Friday 14 March 2025 10:27:45 -0400 (0:00:00.042) 0:00:00.042 ********** [WARNING]: Platform linux on host managed-node4 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node4] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Friday 14 March 2025 10:27:47 -0400 (0:00:02.337) 0:00:02.380 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node4 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 14 March 2025 10:27:47 -0400 (0:00:00.087) 0:00:02.468 ********** ok: [managed-node4] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 14 March 2025 10:27:48 -0400 (0:00:00.880) 0:00:03.348 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 14 March 2025 10:27:49 -0400 (0:00:00.996) 0:00:04.345 ********** ok: [managed-node4] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 14 March 2025 10:27:49 -0400 (0:00:00.103) 0:00:04.448 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 14 March 2025 10:27:49 -0400 (0:00:00.070) 0:00:04.519 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node4 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 14 March 2025 10:27:50 -0400 (0:00:00.160) 0:00:04.679 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 14 March 2025 10:27:50 -0400 (0:00:00.058) 0:00:04.737 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 14 March 2025 10:27:50 -0400 (0:00:00.077) 0:00:04.814 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 14 March 2025 10:27:50 -0400 (0:00:00.089) 0:00:04.904 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 14 March 2025 10:27:50 -0400 (0:00:00.090) 0:00:04.995 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Friday 14 March 2025 10:27:50 -0400 (0:00:00.078) 0:00:05.073 ********** ok: [managed-node4] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 14 March 2025 10:27:50 -0400 (0:00:00.123) 0:00:05.197 ********** ok: [managed-node4] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 14 March 2025 10:27:51 -0400 (0:00:01.222) 0:00:06.420 ********** ok: [managed-node4] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 14 March 2025 10:27:52 -0400 (0:00:00.132) 0:00:06.552 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:27:52 -0400 (0:00:00.181) 0:00:06.734 ********** ok: [managed-node4] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:27:52 -0400 (0:00:00.082) 0:00:06.817 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:27:52 -0400 (0:00:00.187) 0:00:07.004 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:27:52 -0400 (0:00:00.046) 0:00:07.051 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:27:52 -0400 (0:00:00.036) 0:00:07.087 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2025-03-14 10:27:53.279680", "rc": 0, "start": "2025-03-14 10:27:53.276276" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:27:53 -0400 (0:00:00.807) 0:00:07.894 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:27:53 -0400 (0:00:00.070) 0:00:07.965 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:27:53 -0400 (0:00:00.039) 0:00:08.005 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node4 => (item=tasks/delete_interface.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node4 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 14 March 2025 10:27:53 -0400 (0:00:00.091) 0:00:08.097 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007443", "end": "2025-03-14 10:27:53.930987", "rc": 1, "start": "2025-03-14 10:27:53.923544" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:27:54 -0400 (0:00:00.445) 0:00:08.542 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:27:54 -0400 (0:00:00.083) 0:00:08.625 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:27:54 -0400 (0:00:00.547) 0:00:09.173 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:27:54 -0400 (0:00:00.098) 0:00:09.271 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node4 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 14 March 2025 10:27:54 -0400 (0:00:00.094) 0:00:09.366 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:27:54 -0400 (0:00:00.150) 0:00:09.517 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:27:55 -0400 (0:00:00.117) 0:00:09.634 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:27:55 -0400 (0:00:00.136) 0:00:09.771 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:27:55 -0400 (0:00:00.073) 0:00:09.844 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:27:55 -0400 (0:00:00.078) 0:00:09.923 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:27:58 -0400 (0:00:02.609) 0:00:12.533 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:00 -0400 (0:00:02.273) 0:00:14.807 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:00 -0400 (0:00:00.248) 0:00:15.055 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:00 -0400 (0:00:00.229) 0:00:15.285 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:28:00 -0400 (0:00:00.183) 0:00:15.468 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:28:01 -0400 (0:00:00.305) 0:00:15.773 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:28:01 -0400 (0:00:00.343) 0:00:16.117 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:28:01 -0400 (0:00:00.320) 0:00:16.437 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:28:02 -0400 (0:00:00.452) 0:00:16.890 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:28:02 -0400 (0:00:00.492) 0:00:17.383 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:28:03 -0400 (0:00:00.177) 0:00:17.560 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:28:03 -0400 (0:00:00.106) 0:00:17.666 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:28:03 -0400 (0:00:00.161) 0:00:17.827 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:28:05 -0400 (0:00:02.517) 0:00:20.344 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:28:06 -0400 (0:00:00.347) 0:00:20.692 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:28:06 -0400 (0:00:00.234) 0:00:20.926 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:28:06 -0400 (0:00:00.088) 0:00:21.014 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:28:08 -0400 (0:00:01.786) 0:00:22.801 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:28:08 -0400 (0:00:00.152) 0:00:22.953 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:28:08 -0400 (0:00:00.214) 0:00:23.168 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:28:08 -0400 (0:00:00.238) 0:00:23.407 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:28:09 -0400 (0:00:00.129) 0:00:23.536 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 14 March 2025 10:28:10 -0400 (0:00:01.167) 0:00:24.704 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52c59fc6-3fbb-4466-a26f-fe04b7df02cc" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:28:10 -0400 (0:00:00.151) 0:00:24.855 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 14 March 2025 10:28:10 -0400 (0:00:00.301) 0:00:25.157 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:28:10 -0400 (0:00:00.338) 0:00:25.496 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:28:11 -0400 (0:00:00.305) 0:00:25.802 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:28:11 -0400 (0:00:00.514) 0:00:26.316 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:28:11 -0400 (0:00:00.106) 0:00:26.422 ********** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020241", "end": "2025-03-14 10:28:12.317418", "rc": 0, "start": "2025-03-14 10:28:12.297177" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:28:12 -0400 (0:00:00.560) 0:00:26.983 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:28:12 -0400 (0:00:00.124) 0:00:27.107 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:28:12 -0400 (0:00:00.104) 0:00:27.212 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:28:12 -0400 (0:00:00.104) 0:00:27.317 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:28:12 -0400 (0:00:00.076) 0:00:27.394 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 14 March 2025 10:28:12 -0400 (0:00:00.099) 0:00:27.493 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 14 March 2025 10:28:13 -0400 (0:00:00.111) 0:00:27.605 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 14 March 2025 10:28:13 -0400 (0:00:00.142) 0:00:27.747 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:28:13 -0400 (0:00:00.112) 0:00:27.860 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:28:13 -0400 (0:00:00.372) 0:00:28.233 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:28:13 -0400 (0:00:00.217) 0:00:28.451 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962488.060886, "block_size": 4096, "blocks": 0, "ctime": 1741962488.060886, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1741962488.060886, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:28:14 -0400 (0:00:00.623) 0:00:29.074 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:28:14 -0400 (0:00:00.136) 0:00:29.211 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:28:14 -0400 (0:00:00.200) 0:00:29.411 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:28:15 -0400 (0:00:00.585) 0:00:29.996 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051739", "end": "2025-03-14 10:28:15.987194", "rc": 1, "start": "2025-03-14 10:28:15.935455" } STDOUT: Connection 'statebr' (52c59fc6-3fbb-4466-a26f-fe04b7df02cc) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 14 March 2025 10:28:16 -0400 (0:00:00.674) 0:00:30.671 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:28:16 -0400 (0:00:00.344) 0:00:31.015 ********** ok: [managed-node4] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:28:16 -0400 (0:00:00.237) 0:00:31.253 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:28:17 -0400 (0:00:00.444) 0:00:31.697 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:28:17 -0400 (0:00:00.327) 0:00:32.025 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:28:17 -0400 (0:00:00.318) 0:00:32.344 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003222", "end": "2025-03-14 10:28:18.318435", "rc": 0, "start": "2025-03-14 10:28:18.315213" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:28:18 -0400 (0:00:00.735) 0:00:33.079 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:28:18 -0400 (0:00:00.239) 0:00:33.319 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:28:19 -0400 (0:00:00.221) 0:00:33.540 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node4 => (item=tasks/delete_interface.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node4 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 14 March 2025 10:28:19 -0400 (0:00:00.314) 0:00:33.855 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006335", "end": "2025-03-14 10:28:19.827172", "rc": 1, "start": "2025-03-14 10:28:19.820837" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:28:20 -0400 (0:00:00.738) 0:00:34.594 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:28:20 -0400 (0:00:00.377) 0:00:34.971 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:28:20 -0400 (0:00:00.547) 0:00:35.519 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:28:21 -0400 (0:00:00.173) 0:00:35.692 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node4 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 14 March 2025 10:28:21 -0400 (0:00:00.326) 0:00:36.019 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:28:21 -0400 (0:00:00.433) 0:00:36.453 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:28:22 -0400 (0:00:00.209) 0:00:36.663 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:28:22 -0400 (0:00:00.184) 0:00:36.847 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:28:22 -0400 (0:00:00.152) 0:00:36.999 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:28:22 -0400 (0:00:00.158) 0:00:37.158 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:28:24 -0400 (0:00:02.179) 0:00:39.338 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:25 -0400 (0:00:01.087) 0:00:40.425 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:25 -0400 (0:00:00.070) 0:00:40.495 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:26 -0400 (0:00:00.140) 0:00:40.635 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:28:26 -0400 (0:00:00.088) 0:00:40.724 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:28:26 -0400 (0:00:00.217) 0:00:40.941 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:28:26 -0400 (0:00:00.370) 0:00:41.313 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:28:27 -0400 (0:00:00.282) 0:00:41.596 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:28:27 -0400 (0:00:00.307) 0:00:41.903 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:28:27 -0400 (0:00:00.284) 0:00:42.188 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:28:27 -0400 (0:00:00.050) 0:00:42.238 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:28:27 -0400 (0:00:00.122) 0:00:42.361 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:28:27 -0400 (0:00:00.160) 0:00:42.521 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:28:28 -0400 (0:00:00.916) 0:00:43.437 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:28:29 -0400 (0:00:00.295) 0:00:43.733 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:28:29 -0400 (0:00:00.213) 0:00:43.947 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:28:29 -0400 (0:00:00.234) 0:00:44.181 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:28:30 -0400 (0:00:00.985) 0:00:45.167 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:28:30 -0400 (0:00:00.168) 0:00:45.335 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:28:31 -0400 (0:00:00.205) 0:00:45.540 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:28:31 -0400 (0:00:00.194) 0:00:45.735 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:28:31 -0400 (0:00:00.124) 0:00:45.860 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 14 March 2025 10:28:32 -0400 (0:00:00.944) 0:00:46.804 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1f9987d-4fe3-410c-8bdb-710bae674f29" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:28:32 -0400 (0:00:00.178) 0:00:46.982 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node4 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:28:32 -0400 (0:00:00.317) 0:00:47.299 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:28:33 -0400 (0:00:00.303) 0:00:47.603 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:28:33 -0400 (0:00:00.772) 0:00:48.375 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 14 March 2025 10:28:34 -0400 (0:00:00.197) 0:00:48.573 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:28:34 -0400 (0:00:00.318) 0:00:48.891 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:28:34 -0400 (0:00:00.107) 0:00:48.999 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:28:35 -0400 (0:00:00.788) 0:00:49.788 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:28:35 -0400 (0:00:00.221) 0:00:50.009 ********** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019183", "end": "2025-03-14 10:28:36.054551", "rc": 0, "start": "2025-03-14 10:28:36.035368" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:28:36 -0400 (0:00:00.770) 0:00:50.780 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:28:36 -0400 (0:00:00.266) 0:00:51.046 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:28:36 -0400 (0:00:00.212) 0:00:51.259 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:28:36 -0400 (0:00:00.166) 0:00:51.425 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:28:37 -0400 (0:00:00.121) 0:00:51.546 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 14 March 2025 10:28:37 -0400 (0:00:00.253) 0:00:51.800 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 14 March 2025 10:28:37 -0400 (0:00:00.183) 0:00:51.984 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 14 March 2025 10:28:37 -0400 (0:00:00.161) 0:00:52.145 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:28:37 -0400 (0:00:00.221) 0:00:52.367 ********** skipping: [managed-node4] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:28:38 -0400 (0:00:00.302) 0:00:52.669 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:28:38 -0400 (0:00:00.303) 0:00:52.973 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:28:38 -0400 (0:00:00.427) 0:00:53.400 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039459", "end": "2025-03-14 10:28:39.348896", "rc": 1, "start": "2025-03-14 10:28:39.309437" } STDOUT: Connection 'statebr' (e1f9987d-4fe3-410c-8bdb-710bae674f29) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 14 March 2025 10:28:39 -0400 (0:00:00.582) 0:00:53.982 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:28:39 -0400 (0:00:00.108) 0:00:54.091 ********** ok: [managed-node4] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:28:39 -0400 (0:00:00.064) 0:00:54.156 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:28:39 -0400 (0:00:00.169) 0:00:54.326 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:28:39 -0400 (0:00:00.114) 0:00:54.441 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:28:40 -0400 (0:00:00.238) 0:00:54.680 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2025-03-14 10:28:40.738976", "rc": 0, "start": "2025-03-14 10:28:40.735624" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:28:40 -0400 (0:00:00.731) 0:00:55.411 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:28:41 -0400 (0:00:00.187) 0:00:55.598 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:28:41 -0400 (0:00:00.417) 0:00:56.016 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node4 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 14 March 2025 10:28:41 -0400 (0:00:00.278) 0:00:56.295 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:28:42 -0400 (0:00:00.322) 0:00:56.617 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:28:42 -0400 (0:00:00.193) 0:00:56.810 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:28:42 -0400 (0:00:00.151) 0:00:56.961 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:28:42 -0400 (0:00:00.086) 0:00:57.048 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:28:42 -0400 (0:00:00.127) 0:00:57.175 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:28:44 -0400 (0:00:02.192) 0:00:59.368 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:46 -0400 (0:00:01.357) 0:01:00.726 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:46 -0400 (0:00:00.100) 0:01:00.826 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:46 -0400 (0:00:00.150) 0:01:00.977 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:28:46 -0400 (0:00:00.146) 0:01:01.124 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:28:47 -0400 (0:00:00.604) 0:01:01.728 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:28:47 -0400 (0:00:00.444) 0:01:02.172 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:28:47 -0400 (0:00:00.255) 0:01:02.427 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:28:48 -0400 (0:00:00.314) 0:01:02.742 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:28:48 -0400 (0:00:00.619) 0:01:03.361 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:28:49 -0400 (0:00:00.215) 0:01:03.577 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:28:49 -0400 (0:00:00.264) 0:01:03.842 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:28:49 -0400 (0:00:00.485) 0:01:04.327 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:28:51 -0400 (0:00:01.311) 0:01:05.639 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:28:51 -0400 (0:00:00.244) 0:01:05.884 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:28:51 -0400 (0:00:00.195) 0:01:06.079 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:28:51 -0400 (0:00:00.136) 0:01:06.216 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:28:52 -0400 (0:00:00.991) 0:01:07.207 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:28:52 -0400 (0:00:00.098) 0:01:07.305 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:28:52 -0400 (0:00:00.215) 0:01:07.521 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:28:53 -0400 (0:00:00.296) 0:01:07.818 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:28:53 -0400 (0:00:00.159) 0:01:07.977 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 14 March 2025 10:28:54 -0400 (0:00:00.691) 0:01:08.669 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:28:54 -0400 (0:00:00.284) 0:01:08.954 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node4 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 14 March 2025 10:28:54 -0400 (0:00:00.243) 0:01:09.197 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:28:54 -0400 (0:00:00.325) 0:01:09.523 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:28:55 -0400 (0:00:00.261) 0:01:09.784 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:28:55 -0400 (0:00:00.238) 0:01:10.023 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:28:55 -0400 (0:00:00.190) 0:01:10.214 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:28:55 -0400 (0:00:00.179) 0:01:10.393 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:28:58 -0400 (0:00:02.220) 0:01:12.613 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:59 -0400 (0:00:01.471) 0:01:14.085 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:59 -0400 (0:00:00.228) 0:01:14.313 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:59 -0400 (0:00:00.183) 0:01:14.497 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:00 -0400 (0:00:00.159) 0:01:14.657 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:00 -0400 (0:00:00.664) 0:01:15.321 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:01 -0400 (0:00:00.301) 0:01:15.622 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:01 -0400 (0:00:00.251) 0:01:15.874 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:01 -0400 (0:00:00.357) 0:01:16.233 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:02 -0400 (0:00:00.421) 0:01:16.654 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:02 -0400 (0:00:00.191) 0:01:16.846 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:02 -0400 (0:00:00.228) 0:01:17.075 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:03 -0400 (0:00:00.484) 0:01:17.559 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:04 -0400 (0:00:01.059) 0:01:18.619 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:04 -0400 (0:00:00.289) 0:01:18.909 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:04 -0400 (0:00:00.191) 0:01:19.101 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:04 -0400 (0:00:00.169) 0:01:19.270 ********** ok: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:05 -0400 (0:00:01.126) 0:01:20.396 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:05 -0400 (0:00:00.109) 0:01:20.505 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:06 -0400 (0:00:00.233) 0:01:20.739 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:06 -0400 (0:00:00.235) 0:01:20.975 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:06 -0400 (0:00:00.189) 0:01:21.164 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:29:07 -0400 (0:00:00.781) 0:01:21.946 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 => (item=tasks/assert_device_present.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:29:07 -0400 (0:00:00.572) 0:01:22.519 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:29:08 -0400 (0:00:00.310) 0:01:22.829 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962532.5370932, "block_size": 4096, "blocks": 0, "ctime": 1741962532.5370932, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27795, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1741962532.5370932, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:29:08 -0400 (0:00:00.606) 0:01:23.435 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 14 March 2025 10:29:09 -0400 (0:00:00.174) 0:01:23.610 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:29:09 -0400 (0:00:00.183) 0:01:23.793 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:29:09 -0400 (0:00:00.099) 0:01:23.893 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:29:09 -0400 (0:00:00.458) 0:01:24.351 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:29:09 -0400 (0:00:00.070) 0:01:24.421 ********** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020344", "end": "2025-03-14 10:29:10.235318", "rc": 0, "start": "2025-03-14 10:29:10.214974" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:29:10 -0400 (0:00:00.500) 0:01:24.921 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:29:10 -0400 (0:00:00.182) 0:01:25.105 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:29:10 -0400 (0:00:00.159) 0:01:25.265 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:29:10 -0400 (0:00:00.135) 0:01:25.400 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:29:10 -0400 (0:00:00.121) 0:01:25.522 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 14 March 2025 10:29:11 -0400 (0:00:00.103) 0:01:25.625 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 14 March 2025 10:29:11 -0400 (0:00:00.136) 0:01:25.761 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 14 March 2025 10:29:11 -0400 (0:00:00.136) 0:01:25.898 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:29:11 -0400 (0:00:00.291) 0:01:26.190 ********** skipping: [managed-node4] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:29:11 -0400 (0:00:00.105) 0:01:26.295 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:29:11 -0400 (0:00:00.145) 0:01:26.441 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:29:12 -0400 (0:00:00.256) 0:01:26.697 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.060183", "end": "2025-03-14 10:29:12.632462", "rc": 1, "start": "2025-03-14 10:29:12.572279" } STDOUT: Connection 'statebr' (b323ed2d-e18e-4b71-aa10-5b3f44ca1e1c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 14 March 2025 10:29:12 -0400 (0:00:00.610) 0:01:27.307 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:29:12 -0400 (0:00:00.190) 0:01:27.498 ********** ok: [managed-node4] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:29:13 -0400 (0:00:00.176) 0:01:27.674 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:29:13 -0400 (0:00:00.210) 0:01:27.885 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:29:13 -0400 (0:00:00.241) 0:01:28.127 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:29:13 -0400 (0:00:00.199) 0:01:28.326 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2025-03-14 10:29:14.250257", "rc": 0, "start": "2025-03-14 10:29:14.246953" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:29:14 -0400 (0:00:00.560) 0:01:28.887 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:29:14 -0400 (0:00:00.116) 0:01:29.003 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:29:14 -0400 (0:00:00.068) 0:01:29.072 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node4 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node4 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 14 March 2025 10:29:14 -0400 (0:00:00.210) 0:01:29.283 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:14 -0400 (0:00:00.227) 0:01:29.510 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:15 -0400 (0:00:00.203) 0:01:29.714 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:15 -0400 (0:00:00.169) 0:01:29.883 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:15 -0400 (0:00:00.115) 0:01:29.999 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:15 -0400 (0:00:00.139) 0:01:30.138 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:17 -0400 (0:00:02.132) 0:01:32.270 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:18 -0400 (0:00:00.858) 0:01:33.129 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:18 -0400 (0:00:00.038) 0:01:33.167 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:18 -0400 (0:00:00.033) 0:01:33.201 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:18 -0400 (0:00:00.034) 0:01:33.236 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:18 -0400 (0:00:00.065) 0:01:33.301 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:18 -0400 (0:00:00.074) 0:01:33.376 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:18 -0400 (0:00:00.074) 0:01:33.450 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:19 -0400 (0:00:00.276) 0:01:33.727 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:19 -0400 (0:00:00.149) 0:01:33.876 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:19 -0400 (0:00:00.071) 0:01:33.948 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:19 -0400 (0:00:00.065) 0:01:34.013 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:19 -0400 (0:00:00.161) 0:01:34.176 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:20 -0400 (0:00:00.852) 0:01:35.028 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:20 -0400 (0:00:00.181) 0:01:35.210 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:20 -0400 (0:00:00.095) 0:01:35.305 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:20 -0400 (0:00:00.060) 0:01:35.365 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:21 -0400 (0:00:00.828) 0:01:36.193 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:21 -0400 (0:00:00.074) 0:01:36.268 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:21 -0400 (0:00:00.153) 0:01:36.421 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:22 -0400 (0:00:00.173) 0:01:36.595 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:22 -0400 (0:00:00.126) 0:01:36.722 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 14 March 2025 10:29:22 -0400 (0:00:00.624) 0:01:37.346 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 14 March 2025 10:29:22 -0400 (0:00:00.101) 0:01:37.448 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:23 -0400 (0:00:00.198) 0:01:37.646 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:23 -0400 (0:00:00.110) 0:01:37.757 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:23 -0400 (0:00:00.124) 0:01:37.881 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:23 -0400 (0:00:00.161) 0:01:38.043 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:23 -0400 (0:00:00.102) 0:01:38.145 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:25 -0400 (0:00:01.967) 0:01:40.112 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:26 -0400 (0:00:01.053) 0:01:41.166 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:26 -0400 (0:00:00.070) 0:01:41.237 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:26 -0400 (0:00:00.046) 0:01:41.284 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:26 -0400 (0:00:00.049) 0:01:41.333 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:26 -0400 (0:00:00.137) 0:01:41.471 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:27 -0400 (0:00:00.269) 0:01:41.741 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:27 -0400 (0:00:00.150) 0:01:41.892 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:27 -0400 (0:00:00.116) 0:01:42.008 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:27 -0400 (0:00:00.110) 0:01:42.119 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:27 -0400 (0:00:00.108) 0:01:42.227 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:27 -0400 (0:00:00.055) 0:01:42.282 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:27 -0400 (0:00:00.174) 0:01:42.457 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:28 -0400 (0:00:00.810) 0:01:43.267 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:28 -0400 (0:00:00.201) 0:01:43.468 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:29 -0400 (0:00:00.067) 0:01:43.536 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:29 -0400 (0:00:00.072) 0:01:43.608 ********** ok: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:29 -0400 (0:00:00.644) 0:01:44.253 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:29 -0400 (0:00:00.043) 0:01:44.296 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:29 -0400 (0:00:00.063) 0:01:44.359 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 220c3eb0-1b26-4a70-9142-909b329f83e9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:29 -0400 (0:00:00.070) 0:01:44.430 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:29 -0400 (0:00:00.052) 0:01:44.482 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:29:30 -0400 (0:00:00.404) 0:01:44.886 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node4 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 14 March 2025 10:29:30 -0400 (0:00:00.058) 0:01:44.944 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:30 -0400 (0:00:00.093) 0:01:45.037 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:30 -0400 (0:00:00.249) 0:01:45.287 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:30 -0400 (0:00:00.098) 0:01:45.386 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:30 -0400 (0:00:00.049) 0:01:45.435 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:30 -0400 (0:00:00.037) 0:01:45.473 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:33 -0400 (0:00:02.858) 0:01:48.332 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:34 -0400 (0:00:00.814) 0:01:49.146 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:34 -0400 (0:00:00.040) 0:01:49.187 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:34 -0400 (0:00:00.032) 0:01:49.220 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:34 -0400 (0:00:00.038) 0:01:49.258 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:34 -0400 (0:00:00.094) 0:01:49.353 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:34 -0400 (0:00:00.114) 0:01:49.467 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:35 -0400 (0:00:00.087) 0:01:49.555 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:35 -0400 (0:00:00.109) 0:01:49.664 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:35 -0400 (0:00:00.140) 0:01:49.805 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:35 -0400 (0:00:00.051) 0:01:49.857 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:35 -0400 (0:00:00.102) 0:01:49.960 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:35 -0400 (0:00:00.069) 0:01:50.029 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:36 -0400 (0:00:00.584) 0:01:50.614 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:36 -0400 (0:00:00.064) 0:01:50.678 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:36 -0400 (0:00:00.033) 0:01:50.712 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:36 -0400 (0:00:00.034) 0:01:50.746 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:36 -0400 (0:00:00.566) 0:01:51.312 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:36 -0400 (0:00:00.043) 0:01:51.356 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:36 -0400 (0:00:00.056) 0:01:51.412 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:36 -0400 (0:00:00.037) 0:01:51.450 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:36 -0400 (0:00:00.034) 0:01:51.485 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:29:37 -0400 (0:00:00.381) 0:01:51.866 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 => (item=tasks/assert_device_present.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node4 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:29:37 -0400 (0:00:00.064) 0:01:51.930 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:29:37 -0400 (0:00:00.054) 0:01:51.984 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962561.4775004, "block_size": 4096, "blocks": 0, "ctime": 1741962561.4775004, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1741962561.4775004, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:29:37 -0400 (0:00:00.373) 0:01:52.358 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:29:37 -0400 (0:00:00.038) 0:01:52.396 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:29:38 -0400 (0:00:00.148) 0:01:52.544 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:29:38 -0400 (0:00:00.056) 0:01:52.601 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:29:38 -0400 (0:00:00.424) 0:01:53.026 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:29:38 -0400 (0:00:00.053) 0:01:53.079 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020400", "end": "2025-03-14 10:29:38.901749", "rc": 1, "start": "2025-03-14 10:29:38.881349" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:29:38 -0400 (0:00:00.420) 0:01:53.500 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:29:39 -0400 (0:00:00.042) 0:01:53.542 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:29:39 -0400 (0:00:00.039) 0:01:53.582 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:29:39 -0400 (0:00:00.038) 0:01:53.620 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:29:39 -0400 (0:00:00.034) 0:01:53.654 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:29:39 -0400 (0:00:00.034) 0:01:53.689 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:29:39 -0400 (0:00:00.036) 0:01:53.726 ********** skipping: [managed-node4] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:29:39 -0400 (0:00:00.053) 0:01:53.780 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:29:39 -0400 (0:00:00.037) 0:01:53.818 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:29:39 -0400 (0:00:00.061) 0:01:53.879 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057918", "end": "2025-03-14 10:29:39.715894", "rc": 1, "start": "2025-03-14 10:29:39.657976" } STDOUT: Connection 'statebr' (220c3eb0-1b26-4a70-9142-909b329f83e9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 14 March 2025 10:29:39 -0400 (0:00:00.437) 0:01:54.316 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:29:39 -0400 (0:00:00.105) 0:01:54.422 ********** ok: [managed-node4] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:29:39 -0400 (0:00:00.036) 0:01:54.458 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:29:40 -0400 (0:00:00.070) 0:01:54.529 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:29:40 -0400 (0:00:00.054) 0:01:54.584 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:29:40 -0400 (0:00:00.052) 0:01:54.636 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003802", "end": "2025-03-14 10:29:40.420870", "rc": 0, "start": "2025-03-14 10:29:40.417068" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:29:40 -0400 (0:00:00.388) 0:01:55.025 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:29:40 -0400 (0:00:00.052) 0:01:55.077 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:29:40 -0400 (0:00:00.040) 0:01:55.117 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node4 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node4 => (item=tasks/activate_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node4 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 14 March 2025 10:29:40 -0400 (0:00:00.066) 0:01:55.183 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:40 -0400 (0:00:00.073) 0:01:55.257 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:40 -0400 (0:00:00.088) 0:01:55.345 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:40 -0400 (0:00:00.092) 0:01:55.438 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:40 -0400 (0:00:00.066) 0:01:55.504 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:41 -0400 (0:00:00.064) 0:01:55.569 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:42 -0400 (0:00:01.935) 0:01:57.504 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:43 -0400 (0:00:00.796) 0:01:58.301 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:43 -0400 (0:00:00.036) 0:01:58.338 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:43 -0400 (0:00:00.032) 0:01:58.370 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:43 -0400 (0:00:00.034) 0:01:58.404 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:43 -0400 (0:00:00.063) 0:01:58.467 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:44 -0400 (0:00:00.063) 0:01:58.531 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:44 -0400 (0:00:00.054) 0:01:58.586 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:44 -0400 (0:00:00.061) 0:01:58.648 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:44 -0400 (0:00:00.091) 0:01:58.740 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:44 -0400 (0:00:00.034) 0:01:58.774 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:44 -0400 (0:00:00.032) 0:01:58.806 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:44 -0400 (0:00:00.062) 0:01:58.869 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:44 -0400 (0:00:00.586) 0:01:59.456 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:44 -0400 (0:00:00.064) 0:01:59.520 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:45 -0400 (0:00:00.033) 0:01:59.554 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:45 -0400 (0:00:00.081) 0:01:59.636 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:45 -0400 (0:00:00.603) 0:02:00.240 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:45 -0400 (0:00:00.052) 0:02:00.293 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:45 -0400 (0:00:00.061) 0:02:00.354 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:45 -0400 (0:00:00.061) 0:02:00.415 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:45 -0400 (0:00:00.056) 0:02:00.472 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 14 March 2025 10:29:46 -0400 (0:00:00.398) 0:02:00.871 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 14 March 2025 10:29:46 -0400 (0:00:00.038) 0:02:00.909 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:46 -0400 (0:00:00.070) 0:02:00.980 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:46 -0400 (0:00:00.066) 0:02:01.047 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:46 -0400 (0:00:00.060) 0:02:01.107 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:46 -0400 (0:00:00.043) 0:02:01.151 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:46 -0400 (0:00:00.069) 0:02:01.220 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:48 -0400 (0:00:01.839) 0:02:03.060 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:49 -0400 (0:00:00.959) 0:02:04.020 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:49 -0400 (0:00:00.055) 0:02:04.075 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:49 -0400 (0:00:00.054) 0:02:04.130 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:49 -0400 (0:00:00.050) 0:02:04.181 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:49 -0400 (0:00:00.071) 0:02:04.252 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:49 -0400 (0:00:00.071) 0:02:04.323 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:49 -0400 (0:00:00.052) 0:02:04.376 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:49 -0400 (0:00:00.064) 0:02:04.441 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:50 -0400 (0:00:00.108) 0:02:04.549 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:50 -0400 (0:00:00.032) 0:02:04.582 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:50 -0400 (0:00:00.038) 0:02:04.621 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:50 -0400 (0:00:00.060) 0:02:04.681 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:50 -0400 (0:00:00.583) 0:02:05.264 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:50 -0400 (0:00:00.062) 0:02:05.327 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:50 -0400 (0:00:00.032) 0:02:05.359 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:50 -0400 (0:00:00.034) 0:02:05.393 ********** ok: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:51 -0400 (0:00:00.590) 0:02:05.983 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:51 -0400 (0:00:00.085) 0:02:06.069 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:51 -0400 (0:00:00.037) 0:02:06.106 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 021e7017-25b8-4ef6-8f2d-123a37e1ba0a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:51 -0400 (0:00:00.038) 0:02:06.145 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:51 -0400 (0:00:00.034) 0:02:06.179 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 14 March 2025 10:29:52 -0400 (0:00:00.381) 0:02:06.561 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:52 -0400 (0:00:00.081) 0:02:06.642 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:52 -0400 (0:00:00.064) 0:02:06.707 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:52 -0400 (0:00:00.060) 0:02:06.768 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:52 -0400 (0:00:00.043) 0:02:06.811 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:52 -0400 (0:00:00.041) 0:02:06.853 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:54 -0400 (0:00:01.844) 0:02:08.697 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:54 -0400 (0:00:00.797) 0:02:09.495 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:55 -0400 (0:00:00.037) 0:02:09.532 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:55 -0400 (0:00:00.083) 0:02:09.616 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:55 -0400 (0:00:00.033) 0:02:09.649 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:55 -0400 (0:00:00.062) 0:02:09.711 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:55 -0400 (0:00:00.067) 0:02:09.779 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:55 -0400 (0:00:00.052) 0:02:09.832 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:55 -0400 (0:00:00.064) 0:02:09.897 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:55 -0400 (0:00:00.091) 0:02:09.988 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:55 -0400 (0:00:00.031) 0:02:10.020 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:55 -0400 (0:00:00.033) 0:02:10.054 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:55 -0400 (0:00:00.060) 0:02:10.114 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:56 -0400 (0:00:00.579) 0:02:10.694 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:56 -0400 (0:00:00.062) 0:02:10.756 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:56 -0400 (0:00:00.032) 0:02:10.789 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:56 -0400 (0:00:00.033) 0:02:10.822 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:56 -0400 (0:00:00.560) 0:02:11.383 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:56 -0400 (0:00:00.033) 0:02:11.416 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:56 -0400 (0:00:00.037) 0:02:11.454 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:56 -0400 (0:00:00.036) 0:02:11.490 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:57 -0400 (0:00:00.087) 0:02:11.578 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:29:57 -0400 (0:00:00.371) 0:02:11.950 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node4 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 14 March 2025 10:29:57 -0400 (0:00:00.059) 0:02:12.010 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:57 -0400 (0:00:00.070) 0:02:12.081 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:57 -0400 (0:00:00.064) 0:02:12.146 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:57 -0400 (0:00:00.058) 0:02:12.204 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:57 -0400 (0:00:00.038) 0:02:12.242 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:57 -0400 (0:00:00.037) 0:02:12.280 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:59 -0400 (0:00:01.894) 0:02:14.175 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:30:00 -0400 (0:00:00.806) 0:02:14.981 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:30:00 -0400 (0:00:00.036) 0:02:15.018 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:30:00 -0400 (0:00:00.032) 0:02:15.050 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:30:00 -0400 (0:00:00.085) 0:02:15.136 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:30:00 -0400 (0:00:00.065) 0:02:15.201 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:30:00 -0400 (0:00:00.064) 0:02:15.265 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:30:00 -0400 (0:00:00.054) 0:02:15.319 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:30:00 -0400 (0:00:00.068) 0:02:15.388 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:30:00 -0400 (0:00:00.093) 0:02:15.481 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:30:00 -0400 (0:00:00.032) 0:02:15.513 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:30:01 -0400 (0:00:00.033) 0:02:15.547 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:30:01 -0400 (0:00:00.062) 0:02:15.609 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:30:01 -0400 (0:00:00.575) 0:02:16.185 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:30:01 -0400 (0:00:00.066) 0:02:16.251 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:30:01 -0400 (0:00:00.034) 0:02:16.285 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:30:01 -0400 (0:00:00.032) 0:02:16.318 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:30:02 -0400 (0:00:00.637) 0:02:16.955 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:30:02 -0400 (0:00:00.033) 0:02:16.989 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:30:02 -0400 (0:00:00.038) 0:02:17.028 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:30:02 -0400 (0:00:00.037) 0:02:17.065 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:30:02 -0400 (0:00:00.033) 0:02:17.099 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:30:02 -0400 (0:00:00.422) 0:02:17.522 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node4 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:30:03 -0400 (0:00:00.061) 0:02:17.584 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:30:03 -0400 (0:00:00.059) 0:02:17.644 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:30:03 -0400 (0:00:00.035) 0:02:17.679 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:30:03 -0400 (0:00:00.359) 0:02:18.039 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:30:03 -0400 (0:00:00.032) 0:02:18.072 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019736", "end": "2025-03-14 10:30:03.856310", "rc": 1, "start": "2025-03-14 10:30:03.836574" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:30:03 -0400 (0:00:00.380) 0:02:18.452 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:30:03 -0400 (0:00:00.035) 0:02:18.488 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:30:03 -0400 (0:00:00.033) 0:02:18.521 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:30:04 -0400 (0:00:00.034) 0:02:18.556 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:30:04 -0400 (0:00:00.034) 0:02:18.590 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:30:04 -0400 (0:00:00.034) 0:02:18.625 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:30:04 -0400 (0:00:00.036) 0:02:18.661 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node4 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:30:04 -0400 (0:00:00.085) 0:02:18.747 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:30:04 -0400 (0:00:00.103) 0:02:18.850 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:30:04 -0400 (0:00:00.357) 0:02:19.207 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:30:04 -0400 (0:00:00.039) 0:02:19.247 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:30:04 -0400 (0:00:00.037) 0:02:19.284 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:30:04 -0400 (0:00:00.061) 0:02:19.345 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039861", "end": "2025-03-14 10:30:05.150585", "rc": 1, "start": "2025-03-14 10:30:05.110724" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 14 March 2025 10:30:05 -0400 (0:00:00.401) 0:02:19.747 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:30:05 -0400 (0:00:00.060) 0:02:19.807 ********** ok: [managed-node4] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:30:05 -0400 (0:00:00.036) 0:02:19.844 ********** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:30:05 -0400 (0:00:00.072) 0:02:19.916 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:30:05 -0400 (0:00:00.055) 0:02:19.971 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:30:05 -0400 (0:00:00.052) 0:02:20.024 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003955", "end": "2025-03-14 10:30:05.794219", "rc": 0, "start": "2025-03-14 10:30:05.790264" } STDOUT: eth0 eth1 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:30:05 -0400 (0:00:00.365) 0:02:20.389 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:30:05 -0400 (0:00:00.043) 0:02:20.433 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:30:05 -0400 (0:00:00.037) 0:02:20.470 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node4 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node4 => (item=tasks/activate_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node4 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 14 March 2025 10:30:06 -0400 (0:00:00.117) 0:02:20.588 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:30:06 -0400 (0:00:00.074) 0:02:20.662 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:30:06 -0400 (0:00:00.064) 0:02:20.727 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:30:06 -0400 (0:00:00.058) 0:02:20.785 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:30:06 -0400 (0:00:00.038) 0:02:20.824 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:30:06 -0400 (0:00:00.039) 0:02:20.864 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:30:08 -0400 (0:00:01.842) 0:02:22.707 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:30:08 -0400 (0:00:00.808) 0:02:23.515 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:30:09 -0400 (0:00:00.037) 0:02:23.552 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:30:09 -0400 (0:00:00.034) 0:02:23.587 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:30:09 -0400 (0:00:00.032) 0:02:23.620 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:30:09 -0400 (0:00:00.064) 0:02:23.684 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:30:09 -0400 (0:00:00.062) 0:02:23.746 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:30:09 -0400 (0:00:00.111) 0:02:23.858 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:30:09 -0400 (0:00:00.061) 0:02:23.920 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:30:09 -0400 (0:00:00.092) 0:02:24.013 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:30:09 -0400 (0:00:00.033) 0:02:24.047 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:30:09 -0400 (0:00:00.032) 0:02:24.079 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:30:09 -0400 (0:00:00.065) 0:02:24.145 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:30:10 -0400 (0:00:00.572) 0:02:24.717 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:30:10 -0400 (0:00:00.065) 0:02:24.783 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:30:10 -0400 (0:00:00.035) 0:02:24.818 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:30:10 -0400 (0:00:00.032) 0:02:24.851 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:30:10 -0400 (0:00:00.571) 0:02:25.422 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:30:10 -0400 (0:00:00.032) 0:02:25.455 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:30:10 -0400 (0:00:00.062) 0:02:25.517 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:30:11 -0400 (0:00:00.064) 0:02:25.582 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:30:11 -0400 (0:00:00.055) 0:02:25.638 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 14 March 2025 10:30:11 -0400 (0:00:00.387) 0:02:26.025 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 14 March 2025 10:30:11 -0400 (0:00:00.038) 0:02:26.063 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:30:11 -0400 (0:00:00.125) 0:02:26.188 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:30:11 -0400 (0:00:00.065) 0:02:26.254 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:30:11 -0400 (0:00:00.058) 0:02:26.312 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:30:11 -0400 (0:00:00.039) 0:02:26.351 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:30:11 -0400 (0:00:00.037) 0:02:26.389 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:30:13 -0400 (0:00:01.816) 0:02:28.206 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:30:14 -0400 (0:00:00.864) 0:02:29.071 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:30:14 -0400 (0:00:00.060) 0:02:29.131 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:30:14 -0400 (0:00:00.039) 0:02:29.171 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:30:14 -0400 (0:00:00.040) 0:02:29.211 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:30:14 -0400 (0:00:00.072) 0:02:29.283 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:30:14 -0400 (0:00:00.066) 0:02:29.350 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:30:14 -0400 (0:00:00.053) 0:02:29.403 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:30:14 -0400 (0:00:00.060) 0:02:29.463 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:30:15 -0400 (0:00:00.212) 0:02:29.676 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:30:15 -0400 (0:00:00.032) 0:02:29.709 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:30:15 -0400 (0:00:00.033) 0:02:29.743 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:30:15 -0400 (0:00:00.062) 0:02:29.806 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:30:15 -0400 (0:00:00.579) 0:02:30.385 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:30:15 -0400 (0:00:00.064) 0:02:30.449 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:30:15 -0400 (0:00:00.032) 0:02:30.482 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:30:15 -0400 (0:00:00.034) 0:02:30.516 ********** ok: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:30:16 -0400 (0:00:00.542) 0:02:31.059 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:30:16 -0400 (0:00:00.032) 0:02:31.092 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:30:16 -0400 (0:00:00.044) 0:02:31.137 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6054db3d-cceb-41bc-9268-3bfc9fa09a2d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:30:16 -0400 (0:00:00.060) 0:02:31.197 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:30:16 -0400 (0:00:00.054) 0:02:31.252 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 14 March 2025 10:30:17 -0400 (0:00:00.400) 0:02:31.653 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:30:17 -0400 (0:00:00.071) 0:02:31.725 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:30:17 -0400 (0:00:00.121) 0:02:31.846 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:30:17 -0400 (0:00:00.059) 0:02:31.905 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:30:17 -0400 (0:00:00.039) 0:02:31.945 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:30:17 -0400 (0:00:00.038) 0:02:31.983 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:30:19 -0400 (0:00:01.896) 0:02:33.880 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:30:20 -0400 (0:00:00.824) 0:02:34.704 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:30:20 -0400 (0:00:00.037) 0:02:34.742 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:30:20 -0400 (0:00:00.032) 0:02:34.774 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:30:20 -0400 (0:00:00.033) 0:02:34.808 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:30:20 -0400 (0:00:00.063) 0:02:34.871 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:30:20 -0400 (0:00:00.063) 0:02:34.935 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:30:20 -0400 (0:00:00.053) 0:02:34.989 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:30:20 -0400 (0:00:00.060) 0:02:35.050 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:30:20 -0400 (0:00:00.098) 0:02:35.148 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:30:20 -0400 (0:00:00.051) 0:02:35.199 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:30:20 -0400 (0:00:00.056) 0:02:35.256 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:30:20 -0400 (0:00:00.173) 0:02:35.430 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:30:21 -0400 (0:00:00.643) 0:02:36.073 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:30:21 -0400 (0:00:00.067) 0:02:36.141 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:30:21 -0400 (0:00:00.032) 0:02:36.173 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:30:21 -0400 (0:00:00.034) 0:02:36.207 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:30:22 -0400 (0:00:00.641) 0:02:36.849 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:30:22 -0400 (0:00:00.032) 0:02:36.882 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:30:22 -0400 (0:00:00.038) 0:02:36.921 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:30:22 -0400 (0:00:00.036) 0:02:36.958 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:30:22 -0400 (0:00:00.034) 0:02:36.992 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:30:22 -0400 (0:00:00.370) 0:02:37.363 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node4 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 14 March 2025 10:30:22 -0400 (0:00:00.059) 0:02:37.423 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:30:22 -0400 (0:00:00.072) 0:02:37.495 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:30:23 -0400 (0:00:00.064) 0:02:37.559 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:30:23 -0400 (0:00:00.115) 0:02:37.675 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:30:23 -0400 (0:00:00.037) 0:02:37.713 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:30:23 -0400 (0:00:00.039) 0:02:37.752 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:30:25 -0400 (0:00:01.888) 0:02:39.641 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:30:25 -0400 (0:00:00.835) 0:02:40.476 ********** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:30:25 -0400 (0:00:00.040) 0:02:40.516 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:30:26 -0400 (0:00:00.034) 0:02:40.551 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:30:26 -0400 (0:00:00.033) 0:02:40.584 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:30:26 -0400 (0:00:00.070) 0:02:40.654 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:30:26 -0400 (0:00:00.146) 0:02:40.801 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:30:26 -0400 (0:00:00.079) 0:02:40.880 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:30:26 -0400 (0:00:00.075) 0:02:40.956 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:30:26 -0400 (0:00:00.092) 0:02:41.048 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:30:26 -0400 (0:00:00.034) 0:02:41.083 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:30:26 -0400 (0:00:00.032) 0:02:41.115 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:30:26 -0400 (0:00:00.064) 0:02:41.180 ********** ok: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:30:27 -0400 (0:00:00.685) 0:02:41.866 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:30:27 -0400 (0:00:00.061) 0:02:41.928 ********** skipping: [managed-node4] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:30:27 -0400 (0:00:00.034) 0:02:41.962 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:30:27 -0400 (0:00:00.032) 0:02:41.995 ********** ok: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:30:28 -0400 (0:00:00.563) 0:02:42.558 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:30:28 -0400 (0:00:00.034) 0:02:42.593 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:30:28 -0400 (0:00:00.038) 0:02:42.631 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:30:28 -0400 (0:00:00.040) 0:02:42.672 ********** skipping: [managed-node4] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:30:28 -0400 (0:00:00.033) 0:02:42.706 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:30:28 -0400 (0:00:00.371) 0:02:43.077 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node4 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node4 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:30:28 -0400 (0:00:00.068) 0:02:43.145 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:30:28 -0400 (0:00:00.057) 0:02:43.203 ********** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:30:28 -0400 (0:00:00.034) 0:02:43.238 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:30:29 -0400 (0:00:00.376) 0:02:43.614 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:30:29 -0400 (0:00:00.049) 0:02:43.663 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019362", "end": "2025-03-14 10:30:29.467297", "rc": 1, "start": "2025-03-14 10:30:29.447935" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:30:29 -0400 (0:00:00.399) 0:02:44.062 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:30:29 -0400 (0:00:00.088) 0:02:44.151 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:30:29 -0400 (0:00:00.033) 0:02:44.184 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:30:29 -0400 (0:00:00.035) 0:02:44.219 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:30:29 -0400 (0:00:00.033) 0:02:44.253 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:30:29 -0400 (0:00:00.035) 0:02:44.288 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 14 March 2025 10:30:29 -0400 (0:00:00.039) 0:02:44.327 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.242869", "end": "2025-03-14 10:30:30.340658", "rc": 0, "start": "2025-03-14 10:30:30.097789" } STDOUT: NetworkManager-1.52.0-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 14 March 2025 10:30:30 -0400 (0:00:00.629) 0:02:44.956 ********** ok: [managed-node4] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.52.0-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 14 March 2025 10:30:30 -0400 (0:00:00.061) 0:02:45.018 ********** ok: [managed-node4] => { "networkmanager_nvr": "NetworkManager-1.52.0-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:30:30 -0400 (0:00:00.059) 0:02:45.077 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node4 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:30:30 -0400 (0:00:00.112) 0:02:45.190 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:30:30 -0400 (0:00:00.068) 0:02:45.259 ********** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:30:31 -0400 (0:00:00.365) 0:02:45.624 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:30:31 -0400 (0:00:00.047) 0:02:45.672 ********** ok: [managed-node4] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:30:31 -0400 (0:00:00.060) 0:02:45.732 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node4 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node4 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 14 March 2025 10:30:31 -0400 (0:00:00.134) 0:02:45.867 ********** fatal: [managed-node4]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039074", "end": "2025-03-14 10:30:31.697138", "rc": 1, "start": "2025-03-14 10:30:31.658064" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 14 March 2025 10:30:31 -0400 (0:00:00.424) 0:02:46.292 ********** ok: [managed-node4] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009723", "end": "2025-03-14 10:30:32.066667", "rc": 0, "start": "2025-03-14 10:30:32.056944" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:5f:2c:27:40:71 brd ff:ff:ff:ff:ff:ff altname enX0 altname enx125f2c274071 inet 10.31.11.175/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2801sec preferred_lft 2801sec inet6 fe80::105f:2cff:fe27:4071/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:28:15:a9:4a:73 brd ff:ff:ff:ff:ff:ff altname enX1 altname enx122815a94a73 inet 10.31.8.252/22 brd 10.31.11.255 scope global dynamic noprefixroute eth1 valid_lft 2802sec preferred_lft 2802sec inet6 fe80::1028:15ff:fea9:4a73/64 scope link noprefixroute valid_lft forever preferred_lft forever 13: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 92:99:9a:5c:07:73 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.175 metric 100 default via 10.31.8.1 dev eth1 proto dhcp src 10.31.8.252 metric 101 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.175 metric 100 10.31.8.0/22 dev eth1 proto kernel scope link src 10.31.8.252 metric 101 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev eth1 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 14 March 2025 10:30:32 -0400 (0:00:00.465) 0:02:46.758 ********** ok: [managed-node4] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.112826", "end": "2025-03-14 10:30:32.676842", "rc": 0, "start": "2025-03-14 10:30:32.564016" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 11888 0 --:--:-- --:--:-- --:--:-- 11730 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 4446 0 --:--:-- --:--:-- --:--:-- 4476 PLAY RECAP ********************************************************************* managed-node4 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 TASKS RECAP ******************************************************************** Friday 14 March 2025 10:30:32 -0400 (0:00:00.496) 0:02:47.254 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.86s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.61s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.52s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 2.34s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 2.27s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.79s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26