ansible-playbook [core 2.17.7] 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-cOK executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-cOK/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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Wednesday 22 January 2025 22:16:06 -0500 (0:00:00.010) 0:00:00.010 ***** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Wednesday 22 January 2025 22:16:07 -0500 (0:00:01.340) 0:00:01.351 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 22:16:07 -0500 (0:00:00.023) 0:00:01.374 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 22:16:08 -0500 (0:00:00.655) 0:00:02.030 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.552) 0:00:02.583 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.040) 0:00:02.624 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.022) 0:00:02.646 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.069) 0:00:02.716 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.022) 0:00:02.739 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.030) 0:00:02.770 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.036) 0:00:02.806 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.026) 0:00:02.833 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.021) 0:00:02.855 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 22 January 2025 22:16:09 -0500 (0:00:00.027) 0:00:02.882 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.835) 0:00:03.717 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.028) 0:00:03.746 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.044) 0:00:03.791 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.023) 0:00:03.815 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.082) 0:00:03.897 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.024) 0:00:03.922 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.023) 0:00:03.945 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2025-01-22 22:16:10.871579", "rc": 0, "start": "2025-01-22 22:16:10.868013" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.507) 0:00:04.453 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.018) 0:00:04.471 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.017) 0:00:04.489 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:16:10 -0500 (0:00:00.028) 0:00:04.518 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007634", "end": "2025-01-22 22:16:11.299338", "rc": 1, "start": "2025-01-22 22:16:11.291704" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.380) 0:00:04.898 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.031) 0:00:04.929 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.358) 0:00:05.288 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.021) 0:00:05.310 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.032) 0:00:05.343 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.069) 0:00:05.413 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.043) 0:00:05.456 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.044) 0:00:05.501 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:11 -0500 (0:00:00.025) 0:00:05.527 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:12 -0500 (0:00:00.031) 0:00:05.559 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:13 -0500 (0:00:01.765) 0:00:07.324 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:16:15 -0500 (0:00:01.322) 0:00:08.647 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.047) 0:00:08.695 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.037) 0:00:08.733 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.036) 0:00:08.769 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.080) 0:00:08.849 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.122) 0:00:08.971 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.089) 0:00:09.061 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.096) 0:00:09.158 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.107) 0:00:09.265 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.031) 0:00:09.297 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.064) 0:00:09.361 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:16:15 -0500 (0:00:00.061) 0:00:09.423 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:16:16 -0500 (0:00:00.851) 0:00:10.274 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:16:16 -0500 (0:00:00.085) 0:00:10.359 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:16:16 -0500 (0:00:00.051) 0:00:10.411 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:16:16 -0500 (0:00:00.044) 0:00:10.456 ***** changed: [managed-node2] => { "_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, 8bc610bb-466a-42f2-8b76-3f28d3a32093 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:16:17 -0500 (0:00:00.747) 0:00:11.203 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:16:17 -0500 (0:00:00.056) 0:00:11.260 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc610bb-466a-42f2-8b76-3f28d3a32093" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:16:17 -0500 (0:00:00.062) 0:00:11.322 ***** ok: [managed-node2] => { "__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, 8bc610bb-466a-42f2-8b76-3f28d3a32093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc610bb-466a-42f2-8b76-3f28d3a32093" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:16:17 -0500 (0:00:00.062) 0:00:11.385 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:16:17 -0500 (0:00:00.055) 0:00:11.441 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:16:18 -0500 (0:00:00.534) 0:00:11.975 ***** ok: [managed-node2] => { "__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, 8bc610bb-466a-42f2-8b76-3f28d3a32093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc610bb-466a-42f2-8b76-3f28d3a32093" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:16:18 -0500 (0:00:00.047) 0:00:12.023 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:16:18 -0500 (0:00:00.065) 0:00:12.088 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:16:18 -0500 (0:00:00.059) 0:00:12.147 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:16:18 -0500 (0:00:00.067) 0:00:12.215 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.349) 0:00:12.564 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.033) 0:00:12.598 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019758", "end": "2025-01-22 22:16:19.398696", "rc": 0, "start": "2025-01-22 22:16:19.378938" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.428) 0:00:13.026 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.074) 0:00:13.100 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.114) 0:00:13.214 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.092) 0:00:13.307 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.069) 0:00:13.376 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.072) 0:00:13.448 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:16:19 -0500 (0:00:00.072) 0:00:13.521 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.062) 0:00:13.583 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.060) 0:00:13.644 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.133) 0:00:13.777 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.088) 0:00:13.866 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602177.5352302, "block_size": 4096, "blocks": 0, "ctime": 1737602177.5352302, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31554, "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": 1737602177.5352302, "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.403) 0:00:14.270 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.064) 0:00:14.334 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:16:20 -0500 (0:00:00.064) 0:00:14.399 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:16:21 -0500 (0:00:00.311) 0:00:14.710 ***** fatal: [managed-node2]: 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.055134", "end": "2025-01-22 22:16:21.641301", "rc": 1, "start": "2025-01-22 22:16:21.586167" } STDOUT: Connection 'statebr' (8bc610bb-466a-42f2-8b76-3f28d3a32093) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 22 January 2025 22:16:21 -0500 (0:00:00.554) 0:00:15.264 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:16:21 -0500 (0:00:00.102) 0:00:15.367 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:16:21 -0500 (0:00:00.063) 0:00:15.430 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:16:21 -0500 (0:00:00.099) 0:00:15.530 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.084) 0:00:15.615 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.108) 0:00:15.723 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2025-01-22 22:16:22.515517", "rc": 0, "start": "2025-01-22 22:16:22.511983" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.429) 0:00:16.152 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.061) 0:00:16.214 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.061) 0:00:16.275 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:16:22 -0500 (0:00:00.131) 0:00:16.406 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006952", "end": "2025-01-22 22:16:23.200923", "rc": 1, "start": "2025-01-22 22:16:23.193971" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:16:23 -0500 (0:00:00.393) 0:00:16.799 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:23 -0500 (0:00:00.088) 0:00:16.887 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:16:23 -0500 (0:00:00.425) 0:00:17.313 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:16:23 -0500 (0:00:00.074) 0:00:17.388 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 22 January 2025 22:16:23 -0500 (0:00:00.089) 0:00:17.477 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:24 -0500 (0:00:00.088) 0:00:17.565 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:24 -0500 (0:00:00.077) 0:00:17.643 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:24 -0500 (0:00:00.098) 0:00:17.742 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:24 -0500 (0:00:00.071) 0:00:17.813 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:24 -0500 (0:00:00.067) 0:00:17.881 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:25 -0500 (0:00:01.586) 0:00:19.468 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:16:26 -0500 (0:00:00.876) 0:00:20.344 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:16:26 -0500 (0:00:00.062) 0:00:20.406 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.148) 0:00:20.555 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.084) 0:00:20.640 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.074) 0:00:20.714 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.095) 0:00:20.810 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.059) 0:00:20.870 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.061) 0:00:20.931 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.123) 0:00:21.055 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.045) 0:00:21.100 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.041) 0:00:21.142 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:16:27 -0500 (0:00:00.080) 0:00:21.223 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:16:28 -0500 (0:00:00.645) 0:00:21.868 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:16:28 -0500 (0:00:00.099) 0:00:21.968 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:16:28 -0500 (0:00:00.060) 0:00:22.028 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:16:28 -0500 (0:00:00.060) 0:00:22.089 ***** changed: [managed-node2] => { "_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, 1a6641d6-efc1-4322-a677-05c8952c672c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:16:29 -0500 (0:00:00.736) 0:00:22.826 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:16:29 -0500 (0:00:00.056) 0:00:22.882 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6641d6-efc1-4322-a677-05c8952c672c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:16:29 -0500 (0:00:00.073) 0:00:22.955 ***** ok: [managed-node2] => { "__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, 1a6641d6-efc1-4322-a677-05c8952c672c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6641d6-efc1-4322-a677-05c8952c672c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:16:29 -0500 (0:00:00.077) 0:00:23.032 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:16:29 -0500 (0:00:00.059) 0:00:23.092 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.549) 0:00:23.641 ***** ok: [managed-node2] => { "__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, 1a6641d6-efc1-4322-a677-05c8952c672c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6641d6-efc1-4322-a677-05c8952c672c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.070) 0:00:23.711 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.123) 0:00:23.835 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.092) 0:00:23.927 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.376) 0:00:24.304 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.062) 0:00:24.366 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:16:30 -0500 (0:00:00.121) 0:00:24.488 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:16:31 -0500 (0:00:00.057) 0:00:24.545 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:16:31 -0500 (0:00:00.446) 0:00:24.992 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:16:31 -0500 (0:00:00.038) 0:00:25.030 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018014", "end": "2025-01-22 22:16:31.814914", "rc": 0, "start": "2025-01-22 22:16:31.796900" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:16:31 -0500 (0:00:00.440) 0:00:25.471 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.071) 0:00:25.542 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.054) 0:00:25.596 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.051) 0:00:25.648 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.054) 0:00:25.703 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.108) 0:00:25.811 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.061) 0:00:25.872 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.056) 0:00:25.928 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.042) 0:00:25.971 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.053) 0:00:26.025 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.041) 0:00:26.066 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:16:32 -0500 (0:00:00.084) 0:00:26.151 ***** fatal: [managed-node2]: 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.037613", "end": "2025-01-22 22:16:32.979654", "rc": 1, "start": "2025-01-22 22:16:32.942041" } STDOUT: Connection 'statebr' (1a6641d6-efc1-4322-a677-05c8952c672c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.463) 0:00:26.615 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.119) 0:00:26.734 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.102) 0:00:26.837 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.174) 0:00:27.011 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.110) 0:00:27.122 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:33 -0500 (0:00:00.111) 0:00:27.233 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2025-01-22 22:16:34.012207", "rc": 0, "start": "2025-01-22 22:16:34.008991" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.429) 0:00:27.663 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.132) 0:00:27.795 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.065) 0:00:27.860 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.109) 0:00:27.970 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.122) 0:00:28.093 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.097) 0:00:28.190 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.070) 0:00:28.261 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.047) 0:00:28.308 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:34 -0500 (0:00:00.041) 0:00:28.350 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:36 -0500 (0:00:01.660) 0:00:30.010 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:16:37 -0500 (0:00:01.069) 0:00:31.080 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:16:37 -0500 (0:00:00.130) 0:00:31.211 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:16:37 -0500 (0:00:00.093) 0:00:31.304 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:16:37 -0500 (0:00:00.151) 0:00:31.456 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.115) 0:00:31.572 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.104) 0:00:31.677 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.084) 0:00:31.762 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.101) 0:00:31.863 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.179) 0:00:32.042 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.040) 0:00:32.082 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.034) 0:00:32.117 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.083) 0:00:32.200 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.711) 0:00:32.912 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.118) 0:00:33.030 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.047) 0:00:33.078 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.047) 0:00:33.125 ***** changed: [managed-node2] => { "_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, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.685) 0:00:33.811 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.065) 0:00:33.877 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.069) 0:00:33.946 ***** ok: [managed-node2] => { "__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, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.072) 0:00:34.019 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.055) 0:00:34.074 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.459) 0:00:34.533 ***** ok: [managed-node2] => { "__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, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.045) 0:00:34.579 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.072) 0:00:34.652 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.077) 0:00:34.729 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.067) 0:00:34.796 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.061) 0:00:34.857 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.038) 0:00:34.896 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.037) 0:00:34.934 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:43 -0500 (0:00:02.578) 0:00:37.512 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:16:44 -0500 (0:00:00.891) 0:00:38.404 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:16:44 -0500 (0:00:00.062) 0:00:38.467 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:16:44 -0500 (0:00:00.057) 0:00:38.524 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.121) 0:00:38.645 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.093) 0:00:38.738 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.119) 0:00:38.858 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.081) 0:00:38.939 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.089) 0:00:39.029 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.138) 0:00:39.167 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.042) 0:00:39.209 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.037) 0:00:39.247 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:16:45 -0500 (0:00:00.063) 0:00:39.310 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.584) 0:00:39.895 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.085) 0:00:39.981 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.056) 0:00:40.037 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.056) 0:00:40.094 ***** ok: [managed-node2] => { "_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, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.572) 0:00:40.667 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.050) 0:00:40.717 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.071) 0:00:40.789 ***** ok: [managed-node2] => { "__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, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.092) 0:00:40.881 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.081) 0:00:40.963 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.583) 0:00:41.547 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.111) 0:00:41.658 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.088) 0:00:41.746 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602200.084796, "block_size": 4096, "blocks": 0, "ctime": 1737602200.084796, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31685, "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": 1737602200.084796, "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.403) 0:00:42.150 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.037) 0:00:42.187 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.059) 0:00:42.247 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.036) 0:00:42.284 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.377) 0:00:42.661 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.058) 0:00:42.720 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019269", "end": "2025-01-22 22:16:49.539823", "rc": 0, "start": "2025-01-22 22:16:49.520554" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.424) 0:00:43.144 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.049) 0:00:43.194 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.038) 0:00:43.232 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.034) 0:00:43.267 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.035) 0:00:43.302 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.033) 0:00:43.336 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.084) 0:00:43.420 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.038) 0:00:43.459 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:16:49 -0500 (0:00:00.038) 0:00:43.497 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.057) 0:00:43.555 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.057) 0:00:43.613 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.114) 0:00:43.727 ***** fatal: [managed-node2]: 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.060156", "end": "2025-01-22 22:16:50.630843", "rc": 1, "start": "2025-01-22 22:16:50.570687" } STDOUT: Connection 'statebr' (0eaaecf1-c789-4bf9-a20c-01b6fde5ba1b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.561) 0:00:44.288 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.112) 0:00:44.401 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:16:50 -0500 (0:00:00.061) 0:00:44.462 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.080) 0:00:44.543 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.055) 0:00:44.598 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.053) 0:00:44.651 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003147", "end": "2025-01-22 22:16:51.436300", "rc": 0, "start": "2025-01-22 22:16:51.433153" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.411) 0:00:45.063 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.061) 0:00:45.125 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.119) 0:00:45.244 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.076) 0:00:45.320 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.088) 0:00:45.408 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:51 -0500 (0:00:00.067) 0:00:45.476 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:52 -0500 (0:00:00.061) 0:00:45.537 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:52 -0500 (0:00:00.058) 0:00:45.596 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:52 -0500 (0:00:00.067) 0:00:45.663 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:53 -0500 (0:00:01.598) 0:00:47.261 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.861) 0:00:48.123 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.036) 0:00:48.159 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.042) 0:00:48.201 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.039) 0:00:48.241 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.133) 0:00:48.375 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.078) 0:00:48.453 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.064) 0:00:48.518 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.065) 0:00:48.583 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.094) 0:00:48.678 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.033) 0:00:48.711 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.034) 0:00:48.746 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.064) 0:00:48.810 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.577) 0:00:49.388 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:16:55 -0500 (0:00:00.129) 0:00:49.517 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.054) 0:00:49.572 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.052) 0:00:49.625 ***** changed: [managed-node2] => { "_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, 84ec8b0b-99e0-482e-906b-31dc1507f9fe TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.662) 0:00:50.287 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.037) 0:00:50.325 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec8b0b-99e0-482e-906b-31dc1507f9fe" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.047) 0:00:50.372 ***** ok: [managed-node2] => { "__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, 84ec8b0b-99e0-482e-906b-31dc1507f9fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec8b0b-99e0-482e-906b-31dc1507f9fe" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.052) 0:00:50.425 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:16:56 -0500 (0:00:00.038) 0:00:50.464 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.364) 0:00:50.828 ***** ok: [managed-node2] => { "__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, 84ec8b0b-99e0-482e-906b-31dc1507f9fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec8b0b-99e0-482e-906b-31dc1507f9fe" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.083) 0:00:50.912 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.080) 0:00:50.992 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.106) 0:00:51.099 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.084) 0:00:51.183 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.053) 0:00:51.237 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.062) 0:00:51.299 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:16:59 -0500 (0:00:01.532) 0:00:52.832 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.878) 0:00:53.711 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.049) 0:00:53.760 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.042) 0:00:53.803 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.038) 0:00:53.842 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.053) 0:00:53.896 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.069) 0:00:53.965 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.104) 0:00:54.069 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.063) 0:00:54.132 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.120) 0:00:54.252 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.055) 0:00:54.308 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.063) 0:00:54.372 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.077) 0:00:54.450 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.606) 0:00:55.057 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.109) 0:00:55.167 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.040) 0:00:55.207 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.056) 0:00:55.263 ***** ok: [managed-node2] => { "_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, 84ec8b0b-99e0-482e-906b-31dc1507f9fe skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.594) 0:00:55.857 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.033) 0:00:55.890 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84ec8b0b-99e0-482e-906b-31dc1507f9fe skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.043) 0:00:55.934 ***** ok: [managed-node2] => { "__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, 84ec8b0b-99e0-482e-906b-31dc1507f9fe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84ec8b0b-99e0-482e-906b-31dc1507f9fe skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.055) 0:00:55.989 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.058) 0:00:56.048 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:17:02 -0500 (0:00:00.442) 0:00:56.490 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.075) 0:00:56.566 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.118) 0:00:56.685 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.085) 0:00:56.770 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.102) 0:00:56.873 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.064) 0:00:56.937 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:03 -0500 (0:00:00.065) 0:00:57.003 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:05 -0500 (0:00:01.571) 0:00:58.575 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.854) 0:00:59.429 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.055) 0:00:59.484 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.053) 0:00:59.538 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.071) 0:00:59.610 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.092) 0:00:59.702 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.109) 0:00:59.812 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.084) 0:00:59.896 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.155) 0:01:00.051 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.148) 0:01:00.200 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.060) 0:01:00.260 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.057) 0:01:00.318 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:06 -0500 (0:00:00.109) 0:01:00.427 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:07 -0500 (0:00:00.694) 0:01:01.122 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:07 -0500 (0:00:00.099) 0:01:01.221 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:07 -0500 (0:00:00.062) 0:01:01.283 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:07 -0500 (0:00:00.061) 0:01:01.345 ***** changed: [managed-node2] => { "_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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:08 -0500 (0:00:00.748) 0:01:02.094 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:08 -0500 (0:00:00.034) 0:01:02.128 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:08 -0500 (0:00:00.045) 0:01:02.174 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:08 -0500 (0:00:00.047) 0:01:02.221 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:08 -0500 (0:00:00.037) 0:01:02.258 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.400) 0:01:02.659 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.070) 0:01:02.730 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.147) 0:01:02.878 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602216.6293013, "block_size": 4096, "blocks": 0, "ctime": 1737602216.6293013, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31816, "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": 1737602216.6293013, "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.480) 0:01:03.358 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.115) 0:01:03.474 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.150) 0:01:03.624 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.063) 0:01:03.687 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.374) 0:01:04.062 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.070) 0:01:04.132 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019446", "end": "2025-01-22 22:17:10.924702", "rc": 1, "start": "2025-01-22 22:17:10.905256" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.404) 0:01:04.537 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.038) 0:01:04.575 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.041) 0:01:04.617 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.040) 0:01:04.657 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.038) 0:01:04.696 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.035) 0:01:04.732 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.043) 0:01:04.776 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.123) 0:01:04.900 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.058) 0:01:04.958 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.168) 0:01:05.127 ***** ok: [managed-node2] => { "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.060899", "end": "2025-01-22 22:17:11.946526", "rc": 0, "start": "2025-01-22 22:17:11.885627" } STDOUT: Connection 'statebr' (84ec8b0b-99e0-482e-906b-31dc1507f9fe) successfully deleted. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.440) 0:01:05.568 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.100) 0:01:05.669 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.067) 0:01:05.736 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.082) 0:01:05.819 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.090) 0:01:05.910 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.097) 0:01:06.008 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003044", "end": "2025-01-22 22:17:12.807017", "rc": 0, "start": "2025-01-22 22:17:12.803973" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.447) 0:01:06.455 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:12 -0500 (0:00:00.070) 0:01:06.525 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.061) 0:01:06.587 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.133) 0:01:06.720 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.170) 0:01:06.890 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.211) 0:01:07.101 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.102) 0:01:07.204 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.112) 0:01:07.316 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:13 -0500 (0:00:00.075) 0:01:07.392 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:15 -0500 (0:00:01.662) 0:01:09.054 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.991) 0:01:10.046 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.089) 0:01:10.135 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.066) 0:01:10.201 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.061) 0:01:10.263 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.100) 0:01:10.363 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.079) 0:01:10.442 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.068) 0:01:10.511 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:17 -0500 (0:00:00.068) 0:01:10.579 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:17 -0500 (0:00:00.108) 0:01:10.688 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:17 -0500 (0:00:00.058) 0:01:10.746 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:17 -0500 (0:00:00.053) 0:01:10.799 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:17 -0500 (0:00:00.211) 0:01:11.011 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:18 -0500 (0:00:00.743) 0:01:11.754 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:18 -0500 (0:00:00.119) 0:01:11.874 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:18 -0500 (0:00:00.101) 0:01:11.975 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:18 -0500 (0:00:00.112) 0:01:12.087 ***** changed: [managed-node2] => { "_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, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.691) 0:01:12.778 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.039) 0:01:12.818 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.038) 0:01:12.857 ***** ok: [managed-node2] => { "__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, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.038) 0:01:12.895 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.034) 0:01:12.930 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.392) 0:01:13.322 ***** ok: [managed-node2] => { "__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, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.044) 0:01:13.367 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:19 -0500 (0:00:00.126) 0:01:13.493 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:20 -0500 (0:00:00.101) 0:01:13.595 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:20 -0500 (0:00:00.106) 0:01:13.701 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:20 -0500 (0:00:00.162) 0:01:13.864 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:20 -0500 (0:00:00.070) 0:01:13.934 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:21 -0500 (0:00:01.561) 0:01:15.496 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:22 -0500 (0:00:00.898) 0:01:16.395 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:22 -0500 (0:00:00.044) 0:01:16.439 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:22 -0500 (0:00:00.054) 0:01:16.493 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.049) 0:01:16.543 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.068) 0:01:16.612 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.085) 0:01:16.697 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.083) 0:01:16.781 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.105) 0:01:16.886 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.174) 0:01:17.061 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.050) 0:01:17.111 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.046) 0:01:17.157 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:23 -0500 (0:00:00.079) 0:01:17.237 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:24 -0500 (0:00:00.715) 0:01:17.952 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:24 -0500 (0:00:00.067) 0:01:18.020 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:24 -0500 (0:00:00.035) 0:01:18.056 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:24 -0500 (0:00:00.033) 0:01:18.089 ***** ok: [managed-node2] => { "_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, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.613) 0:01:18.702 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.078) 0:01:18.781 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.053) 0:01:18.835 ***** ok: [managed-node2] => { "__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, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd63d4d1-80d0-4496-aabe-fcd0ef167a4a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.048) 0:01:18.883 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.037) 0:01:18.921 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.370) 0:01:19.291 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.088) 0:01:19.380 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.068) 0:01:19.449 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:25 -0500 (0:00:00.062) 0:01:19.511 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:26 -0500 (0:00:00.038) 0:01:19.549 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:26 -0500 (0:00:00.039) 0:01:19.589 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:27 -0500 (0:00:01.581) 0:01:21.170 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.955) 0:01:22.125 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.066) 0:01:22.191 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.059) 0:01:22.251 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.061) 0:01:22.313 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.091) 0:01:22.404 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:28 -0500 (0:00:00.107) 0:01:22.511 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.096) 0:01:22.608 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.109) 0:01:22.718 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.144) 0:01:22.862 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.042) 0:01:22.904 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.034) 0:01:22.939 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:29 -0500 (0:00:00.065) 0:01:23.005 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.582) 0:01:23.587 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.116) 0:01:23.703 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.043) 0:01:23.746 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.095) 0:01:23.842 ***** changed: [managed-node2] => { "_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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.558) 0:01:24.400 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.044) 0:01:24.445 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:30 -0500 (0:00:00.045) 0:01:24.491 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.078) 0:01:24.570 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.062) 0:01:24.633 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.417) 0:01:25.050 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.105) 0:01:25.156 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.092) 0:01:25.248 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.081) 0:01:25.330 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.062) 0:01:25.393 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.038) 0:01:25.431 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:31 -0500 (0:00:00.043) 0:01:25.475 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:33 -0500 (0:00:01.678) 0:01:27.153 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:34 -0500 (0:00:00.975) 0:01:28.129 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:34 -0500 (0:00:00.079) 0:01:28.208 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:34 -0500 (0:00:00.069) 0:01:28.277 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:34 -0500 (0:00:00.071) 0:01:28.349 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:34 -0500 (0:00:00.098) 0:01:28.447 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.112) 0:01:28.560 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.177) 0:01:28.737 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.190) 0:01:28.927 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.198) 0:01:29.125 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.070) 0:01:29.196 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.052) 0:01:29.249 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:35 -0500 (0:00:00.095) 0:01:29.344 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:36 -0500 (0:00:00.595) 0:01:29.940 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:36 -0500 (0:00:00.101) 0:01:30.041 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:36 -0500 (0:00:00.039) 0:01:30.081 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:36 -0500 (0:00:00.098) 0:01:30.180 ***** changed: [managed-node2] => { "_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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.619) 0:01:30.800 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.067) 0:01:30.867 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.066) 0:01:30.934 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.044) 0:01:30.978 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.043) 0:01:31.022 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:17:37 -0500 (0:00:00.408) 0:01:31.430 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:17:38 -0500 (0:00:00.111) 0:01:31.541 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:17:38 -0500 (0:00:00.107) 0:01:31.649 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:17:38 -0500 (0:00:00.071) 0:01:31.720 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:17:38 -0500 (0:00:00.510) 0:01:32.231 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:17:38 -0500 (0:00:00.054) 0:01:32.285 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017538", "end": "2025-01-22 22:17:39.087320", "rc": 1, "start": "2025-01-22 22:17:39.069782" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.414) 0:01:32.700 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.039) 0:01:32.739 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.043) 0:01:32.783 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.046) 0:01:32.829 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.091) 0:01:32.921 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.044) 0:01:32.966 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.042) 0:01:33.009 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.090) 0:01:33.099 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:17:39 -0500 (0:00:00.062) 0:01:33.161 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.424) 0:01:33.586 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.072) 0:01:33.659 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.070) 0:01:33.730 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.077) 0:01:33.807 ***** fatal: [managed-node2]: 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.035079", "end": "2025-01-22 22:17:40.606256", "rc": 1, "start": "2025-01-22 22:17:40.571177" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.425) 0:01:34.233 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.102) 0:01:34.336 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:17:40 -0500 (0:00:00.060) 0:01:34.397 ***** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.143) 0:01:34.540 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.173) 0:01:34.713 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.098) 0:01:34.812 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2025-01-22 22:17:41.675306", "rc": 0, "start": "2025-01-22 22:17:41.672356" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.484) 0:01:35.296 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.059) 0:01:35.356 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.042) 0:01:35.398 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:17:41 -0500 (0:00:00.084) 0:01:35.482 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:42 -0500 (0:00:00.081) 0:01:35.563 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:42 -0500 (0:00:00.067) 0:01:35.630 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:42 -0500 (0:00:00.071) 0:01:35.702 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:42 -0500 (0:00:00.062) 0:01:35.764 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:42 -0500 (0:00:00.066) 0:01:35.831 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:44 -0500 (0:00:02.574) 0:01:38.405 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:45 -0500 (0:00:01.065) 0:01:39.471 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.075) 0:01:39.546 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.060) 0:01:39.607 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.058) 0:01:39.665 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.096) 0:01:39.761 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.120) 0:01:39.882 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.104) 0:01:39.986 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.126) 0:01:40.112 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.129) 0:01:40.241 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.063) 0:01:40.305 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.061) 0:01:40.367 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:46 -0500 (0:00:00.114) 0:01:40.482 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:47 -0500 (0:00:00.598) 0:01:41.081 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:47 -0500 (0:00:00.064) 0:01:41.145 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:47 -0500 (0:00:00.035) 0:01:41.180 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:47 -0500 (0:00:00.048) 0:01:41.229 ***** changed: [managed-node2] => { "_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, 96d6922a-2805-4104-b62b-4bd690ac3c21 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:48 -0500 (0:00:00.727) 0:01:41.957 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:48 -0500 (0:00:00.134) 0:01:42.091 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96d6922a-2805-4104-b62b-4bd690ac3c21" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:48 -0500 (0:00:00.064) 0:01:42.156 ***** ok: [managed-node2] => { "__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, 96d6922a-2805-4104-b62b-4bd690ac3c21\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96d6922a-2805-4104-b62b-4bd690ac3c21" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:48 -0500 (0:00:00.079) 0:01:42.236 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:48 -0500 (0:00:00.118) 0:01:42.354 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:17:49 -0500 (0:00:00.573) 0:01:42.928 ***** ok: [managed-node2] => { "__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, 96d6922a-2805-4104-b62b-4bd690ac3c21\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96d6922a-2805-4104-b62b-4bd690ac3c21" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:17:49 -0500 (0:00:00.128) 0:01:43.057 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:49 -0500 (0:00:00.215) 0:01:43.273 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:49 -0500 (0:00:00.183) 0:01:43.456 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:50 -0500 (0:00:00.100) 0:01:43.556 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:50 -0500 (0:00:00.069) 0:01:43.625 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:50 -0500 (0:00:00.067) 0:01:43.693 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:51 -0500 (0:00:01.631) 0:01:45.324 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:52 -0500 (0:00:01.149) 0:01:46.474 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.178) 0:01:46.653 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.064) 0:01:46.717 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.059) 0:01:46.777 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.087) 0:01:46.864 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.072) 0:01:46.937 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.060) 0:01:46.997 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.070) 0:01:47.068 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.138) 0:01:47.207 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.056) 0:01:47.263 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.053) 0:01:47.317 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:17:53 -0500 (0:00:00.089) 0:01:47.406 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:17:54 -0500 (0:00:00.654) 0:01:48.061 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:17:54 -0500 (0:00:00.101) 0:01:48.162 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:17:54 -0500 (0:00:00.082) 0:01:48.244 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:17:54 -0500 (0:00:00.117) 0:01:48.362 ***** ok: [managed-node2] => { "_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, 96d6922a-2805-4104-b62b-4bd690ac3c21 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:17:55 -0500 (0:00:00.654) 0:01:49.017 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:17:55 -0500 (0:00:00.041) 0:01:49.059 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 96d6922a-2805-4104-b62b-4bd690ac3c21 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:17:55 -0500 (0:00:00.045) 0:01:49.104 ***** ok: [managed-node2] => { "__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, 96d6922a-2805-4104-b62b-4bd690ac3c21 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 96d6922a-2805-4104-b62b-4bd690ac3c21 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:17:55 -0500 (0:00:00.119) 0:01:49.224 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:17:55 -0500 (0:00:00.051) 0:01:49.276 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.421) 0:01:49.697 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.098) 0:01:49.796 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.115) 0:01:49.912 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.078) 0:01:49.990 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.063) 0:01:50.053 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:17:56 -0500 (0:00:00.064) 0:01:50.118 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:17:58 -0500 (0:00:01.592) 0:01:51.710 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.918) 0:01:52.628 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.074) 0:01:52.702 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.080) 0:01:52.783 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.061) 0:01:52.845 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.253) 0:01:53.099 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.085) 0:01:53.184 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.082) 0:01:53.267 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:17:59 -0500 (0:00:00.135) 0:01:53.402 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.136) 0:01:53.539 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.043) 0:01:53.582 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.049) 0:01:53.631 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.069) 0:01:53.700 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.589) 0:01:54.290 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.068) 0:01:54.358 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.044) 0:01:54.403 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:18:00 -0500 (0:00:00.055) 0:01:54.458 ***** changed: [managed-node2] => { "_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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:18:01 -0500 (0:00:00.674) 0:01:55.133 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:18:01 -0500 (0:00:00.035) 0:01:55.168 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:18:01 -0500 (0:00:00.038) 0:01:55.207 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:18:01 -0500 (0:00:00.040) 0:01:55.247 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:18:01 -0500 (0:00:00.035) 0:01:55.283 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.591) 0:01:55.874 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.109) 0:01:55.983 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.126) 0:01:56.110 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.118) 0:01:56.229 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.075) 0:01:56.304 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.047) 0:01:56.352 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:18:02 -0500 (0:00:00.048) 0:01:56.400 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:18:04 -0500 (0:00:01.552) 0:01:57.953 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.821) 0:01:58.774 ***** ok: [managed-node2] => {} 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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.038) 0:01:58.813 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.035) 0:01:58.849 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.034) 0:01:58.883 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.127) 0:01:59.010 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.067) 0:01:59.078 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.059) 0:01:59.138 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.062) 0:01:59.201 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.096) 0:01:59.297 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.035) 0:01:59.333 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.033) 0:01:59.367 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:18:05 -0500 (0:00:00.069) 0:01:59.436 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:18:06 -0500 (0:00:00.565) 0:02:00.001 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:18:06 -0500 (0:00:00.068) 0:02:00.070 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:18:06 -0500 (0:00:00.035) 0:02:00.105 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:18:06 -0500 (0:00:00.033) 0:02:00.139 ***** ok: [managed-node2] => { "_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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.529) 0:02:00.668 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.034) 0:02:00.703 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.039) 0:02:00.742 ***** ok: [managed-node2] => { "__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-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.040) 0:02:00.782 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.033) 0:02:00.815 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.405) 0:02:01.221 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.170) 0:02:01.392 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.080) 0:02:01.472 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:18:07 -0500 (0:00:00.042) 0:02:01.514 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.352) 0:02:01.867 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.036) 0:02:01.903 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018564", "end": "2025-01-22 22:18:08.681923", "rc": 1, "start": "2025-01-22 22:18:08.663359" } 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.377) 0:02:02.281 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.036) 0:02:02.317 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.035) 0:02:02.352 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.036) 0:02:02.388 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.034) 0:02:02.423 ***** skipping: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.037) 0:02:02.460 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 22 January 2025 22:18:08 -0500 (0:00:00.039) 0:02:02.499 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.282004", "end": "2025-01-22 22:18:09.532992", "rc": 0, "start": "2025-01-22 22:18:09.250988" } STDOUT: NetworkManager-1.51.6-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 22 January 2025 22:18:09 -0500 (0:00:00.635) 0:02:03.135 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.6-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 22 January 2025 22:18:09 -0500 (0:00:00.038) 0:02:03.173 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.6-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:18:09 -0500 (0:00:00.036) 0:02:03.209 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:18:09 -0500 (0:00:00.133) 0:02:03.343 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:18:09 -0500 (0:00:00.053) 0:02:03.397 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:18:10 -0500 (0:00:00.352) 0:02:03.750 ***** ok: [managed-node2] => { "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:18:10 -0500 (0:00:00.040) 0:02:03.790 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:18:10 -0500 (0:00:00.037) 0:02:03.827 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:18:10 -0500 (0:00:00.070) 0:02:03.898 ***** fatal: [managed-node2]: 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.036870", "end": "2025-01-22 22:18:10.688342", "rc": 1, "start": "2025-01-22 22:18:10.651472" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 22 January 2025 22:18:10 -0500 (0:00:00.390) 0:02:04.289 ***** ok: [managed-node2] => { "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.009280", "end": "2025-01-22 22:18:11.072912", "rc": 0, "start": "2025-01-22 22:18:11.063632" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:95:f3:18:70:49 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.177/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3000sec preferred_lft 3000sec inet6 fe80::c95:f3ff:fe18:7049/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.177 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.177 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 22 January 2025 22:18:11 -0500 (0:00:00.411) 0:02:04.700 ***** ok: [managed-node2] => { "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.133296", "end": "2025-01-22 22:18:11.620848", "rc": 0, "start": "2025-01-22 22:18:11.487552" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 100 305 100 305 0 0 3388 0 --:--:-- --:--:-- --:--:-- 3426 % 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 13857 0 --:--:-- --:--:-- --:--:-- 13857 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 22:18:11 -0500 (0:00:00.502) 0:02:05.203 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.58s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.57s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26