ansible-playbook [core 2.16.14] 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-3QU executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.007) 0:00:00.007 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Wednesday 22 January 2025 22:21:23 -0500 (0:00:01.252) 0:00:01.260 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.019) 0:00:01.279 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.520) 0:00:01.800 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.447) 0:00:02.248 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.031) 0:00:02.279 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.024) 0:00:02.303 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 22:21:25 -0500 (0:00:00.073) 0:00:02.377 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 22:21:25 -0500 (0:00:00.647) 0:00:03.025 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 22:21:25 -0500 (0:00:00.023) 0:00:03.048 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 22:21:25 -0500 (0:00:00.023) 0:00:03.071 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.223810", "end": "2025-01-22 22:21:26.291750", "rc": 0, "start": "2025-01-22 22:21:26.067940" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.583) 0:00:03.654 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.013) 0:00:03.668 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.016) 0:00:03.685 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.761) 0:00:04.446 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.031) 0:00:04.478 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.039) 0:00:04.518 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.026) 0:00:04.545 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.077) 0:00:04.623 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.031) 0:00:04.654 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.037) 0:00:04.691 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002796", "end": "2025-01-22 22:21:27.688736", "rc": 0, "start": "2025-01-22 22:21:27.685940" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.401) 0:00:05.093 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.065) 0:00:05.158 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.027) 0:00:05.186 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.042) 0:00:05.229 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007648", "end": "2025-01-22 22:21:28.241025", "rc": 1, "start": "2025-01-22 22:21:28.233377" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.372) 0:00:05.602 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.020) 0:00:05.622 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.414) 0:00:06.037 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.039) 0:00:06.076 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.083) 0:00:06.160 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.095) 0:00:06.255 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.050) 0:00:06.306 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:29 -0500 (0:00:00.075) 0:00:06.382 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:29 -0500 (0:00:00.029) 0:00:06.411 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:29 -0500 (0:00:00.032) 0:00:06.444 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:30 -0500 (0:00:01.731) 0:00:08.175 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:32 -0500 (0:00:01.888) 0:00:10.063 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.056) 0:00:10.120 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.049) 0:00:10.169 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.049) 0:00:10.218 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.079) 0:00:10.297 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.126) 0:00:10.424 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.165) 0:00:10.589 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.119) 0:00:10.709 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.142) 0:00:10.851 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.129) 0:00:10.981 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.053) 0:00:11.034 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.090) 0:00:11.125 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:34 -0500 (0:00:01.040) 0:00:12.165 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:34 -0500 (0:00:00.095) 0:00:12.261 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:34 -0500 (0:00:00.050) 0:00:12.312 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.045) 0:00:12.357 ***** 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, 5263c9ed-1a5e-4010-bbb9-419592598a8c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.794) 0:00:13.152 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.051) 0:00:13.203 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5263c9ed-1a5e-4010-bbb9-419592598a8c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.057) 0:00:13.261 ***** 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, 5263c9ed-1a5e-4010-bbb9-419592598a8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5263c9ed-1a5e-4010-bbb9-419592598a8c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.059) 0:00:13.321 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.052) 0:00:13.373 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.737) 0:00:14.111 ***** 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, 5263c9ed-1a5e-4010-bbb9-419592598a8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5263c9ed-1a5e-4010-bbb9-419592598a8c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.044) 0:00:14.155 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.116) 0:00:14.271 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.061) 0:00:14.333 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.033) 0:00:14.366 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602495.7343507, "block_size": 4096, "blocks": 8, "ctime": 1737602495.6923504, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602495.6923504, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.368) 0:00:14.735 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.041) 0:00:14.776 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018555", "end": "2025-01-22 22:21:37.755819", "rc": 0, "start": "2025-01-22 22:21:37.737264" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.387) 0:00:15.164 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.067) 0:00:15.231 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.055) 0:00:15.287 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.056) 0:00:15.343 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.056) 0:00:15.400 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.043) 0:00:15.443 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.059) 0:00:15.503 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.042) 0:00:15.545 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.052) 0:00:15.597 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.141) 0:00:15.739 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.124) 0:00:15.864 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602495.6946533, "block_size": 4096, "blocks": 0, "ctime": 1737602495.6946533, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37210, "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": 1737602495.6946533, "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.389) 0:00:16.253 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.052) 0:00:16.305 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.043) 0:00:16.349 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.217) 0:00:16.566 ***** 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.051749", "end": "2025-01-22 22:21:39.605398", "rc": 1, "start": "2025-01-22 22:21:39.553649" } STDOUT: Connection 'statebr' (5263c9ed-1a5e-4010-bbb9-419592598a8c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.426) 0:00:16.992 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.070) 0:00:17.063 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.046) 0:00:17.110 ***** 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. '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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.068) 0:00:17.178 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.055) 0:00:17.234 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.051) 0:00:17.286 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002645", "end": "2025-01-22 22:21:40.249094", "rc": 0, "start": "2025-01-22 22:21:40.246449" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.388) 0:00:17.674 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.037) 0:00:17.711 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.037) 0:00:17.749 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.061) 0:00:17.810 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005283", "end": "2025-01-22 22:21:40.778434", "rc": 1, "start": "2025-01-22 22:21:40.773151" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.356) 0:00:18.167 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.061) 0:00:18.229 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.380) 0:00:18.609 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.059) 0:00:18.669 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.071) 0:00:18.741 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.075) 0:00:18.816 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.064) 0:00:18.881 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.098) 0:00:18.979 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.036) 0:00:19.016 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.037) 0:00:19.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 : Check which packages are installed] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:43 -0500 (0:00:01.702) 0:00:20.756 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:45 -0500 (0:00:01.599) 0:00:22.355 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.059) 0:00:22.415 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.054) 0:00:22.470 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.050) 0:00:22.521 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.084) 0:00:22.605 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.095) 0:00:22.701 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.081) 0:00:22.782 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.098) 0:00:22.881 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.138) 0:00:23.019 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.051) 0:00:23.070 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.108) 0:00:23.179 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.111) 0:00:23.290 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:46 -0500 (0:00:00.629) 0:00:23.920 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:46 -0500 (0:00:00.067) 0:00:23.987 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:46 -0500 (0:00:00.032) 0:00:24.019 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:46 -0500 (0:00:00.033) 0:00:24.053 ***** 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, 4c323893-a2a0-4c18-838a-aef89d3fd5c5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.529) 0:00:24.582 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.042) 0:00:24.625 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c323893-a2a0-4c18-838a-aef89d3fd5c5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.060) 0:00:24.686 ***** 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, 4c323893-a2a0-4c18-838a-aef89d3fd5c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c323893-a2a0-4c18-838a-aef89d3fd5c5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.062) 0:00:24.748 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.039) 0:00:24.788 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.401) 0:00:25.189 ***** 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, 4c323893-a2a0-4c18-838a-aef89d3fd5c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c323893-a2a0-4c18-838a-aef89d3fd5c5" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:21:47 -0500 (0:00:00.059) 0:00:25.248 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.103) 0:00:25.351 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.150) 0:00:25.502 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.500) 0:00:26.003 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.079) 0:00:26.083 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.135) 0:00:26.219 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.056) 0:00:26.276 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602507.1864464, "block_size": 4096, "blocks": 8, "ctime": 1737602507.1864464, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602507.1864464, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.507) 0:00:26.783 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.065) 0:00:26.849 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018236", "end": "2025-01-22 22:21:49.840968", "rc": 0, "start": "2025-01-22 22:21:49.822732" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.395) 0:00:27.244 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.066) 0:00:27.311 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.055) 0:00:27.366 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.104) 0:00:27.471 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.093) 0:00:27.565 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.074) 0:00:27.639 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.067) 0:00:27.707 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.075) 0:00:27.782 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.116) 0:00:27.898 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.082) 0:00:27.980 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.044) 0:00:28.025 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.075) 0:00:28.100 ***** 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.035614", "end": "2025-01-22 22:21:51.100009", "rc": 1, "start": "2025-01-22 22:21:51.064395" } STDOUT: Connection 'statebr' (4c323893-a2a0-4c18-838a-aef89d3fd5c5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.386) 0:00:28.487 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.061) 0:00:28.548 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.047) 0:00:28.596 ***** 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. '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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.067) 0:00:28.664 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.053) 0:00:28.718 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.062) 0:00:28.780 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002670", "end": "2025-01-22 22:21:51.769428", "rc": 0, "start": "2025-01-22 22:21:51.766758" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.371) 0:00:29.151 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.042) 0:00:29.194 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.041) 0:00:29.236 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.100) 0:00:29.336 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.071) 0:00:29.407 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.086) 0:00:29.493 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.092) 0:00:29.586 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.068) 0:00:29.654 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.069) 0:00:29.724 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:54 -0500 (0:00:01.707) 0:00:31.431 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:55 -0500 (0:00:01.468) 0:00:32.899 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.038) 0:00:32.938 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.030) 0:00:32.968 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.066) 0:00:33.035 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.052) 0:00:33.087 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.092) 0:00:33.179 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.083) 0:00:33.263 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:56 -0500 (0:00:00.069) 0:00:33.332 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:56 -0500 (0:00:00.105) 0:00:33.437 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:56 -0500 (0:00:00.048) 0:00:33.486 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:56 -0500 (0:00:00.041) 0:00:33.528 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:56 -0500 (0:00:00.099) 0:00:33.627 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.923) 0:00:34.551 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.175) 0:00:34.726 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.090) 0:00:34.816 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.118) 0:00:34.934 ***** 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, 07b4b6d4-1194-43c0-8702-59278dd371c7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.648) 0:00:35.583 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.052) 0:00:35.636 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07b4b6d4-1194-43c0-8702-59278dd371c7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.076) 0:00:35.713 ***** 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, 07b4b6d4-1194-43c0-8702-59278dd371c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07b4b6d4-1194-43c0-8702-59278dd371c7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.068) 0:00:35.781 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.121) 0:00:35.903 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.433) 0:00:36.336 ***** 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, 07b4b6d4-1194-43c0-8702-59278dd371c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07b4b6d4-1194-43c0-8702-59278dd371c7" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.042) 0:00:36.379 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.069) 0:00:36.448 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.074) 0:00:36.522 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.063) 0:00:36.586 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.058) 0:00:36.645 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.037) 0:00:36.682 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.036) 0:00:36.719 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:00 -0500 (0:00:01.562) 0:00:38.281 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:02 -0500 (0:00:01.602) 0:00:39.884 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.070) 0:00:39.954 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.079) 0:00:40.033 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.068) 0:00:40.101 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.074) 0:00:40.176 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.092) 0:00:40.269 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.054) 0:00:40.323 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.063) 0:00:40.387 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.090) 0:00:40.477 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.031) 0:00:40.509 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.032) 0:00:40.541 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.066) 0:00:40.607 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.598) 0:00:41.206 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.063) 0:00:41.270 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:03 -0500 (0:00:00.032) 0:00:41.303 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:04 -0500 (0:00:00.033) 0:00:41.336 ***** 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, 07b4b6d4-1194-43c0-8702-59278dd371c7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:04 -0500 (0:00:00.889) 0:00:42.225 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:04 -0500 (0:00:00.064) 0:00:42.290 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 07b4b6d4-1194-43c0-8702-59278dd371c7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.065) 0:00:42.355 ***** 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, 07b4b6d4-1194-43c0-8702-59278dd371c7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 07b4b6d4-1194-43c0-8702-59278dd371c7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.067) 0:00:42.422 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.056) 0:00:42.479 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.464) 0:00:42.943 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.119) 0:00:43.063 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.111) 0:00:43.174 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602518.1301963, "block_size": 4096, "blocks": 0, "ctime": 1737602518.1301963, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37341, "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": 1737602518.1301963, "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.490) 0:00:43.664 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.039) 0:00:43.703 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.058) 0:00:43.762 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.036) 0:00:43.798 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602518.1795413, "block_size": 4096, "blocks": 8, "ctime": 1737602518.1285408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602518.1285408, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.389) 0:00:44.187 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.039) 0:00:44.227 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019373", "end": "2025-01-22 22:22:07.248332", "rc": 0, "start": "2025-01-22 22:22:07.228959" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.401) 0:00:44.629 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.037) 0:00:44.666 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.032) 0:00:44.699 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.034) 0:00:44.733 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.040) 0:00:44.774 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.054) 0:00:44.828 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.061) 0:00:44.890 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.063) 0:00:44.954 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.060) 0:00:45.014 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.084) 0:00:45.098 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.064) 0:00:45.163 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.119) 0:00:45.282 ***** 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.062929", "end": "2025-01-22 22:22:08.328941", "rc": 1, "start": "2025-01-22 22:22:08.266012" } STDOUT: Connection 'statebr' (07b4b6d4-1194-43c0-8702-59278dd371c7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.444) 0:00:45.726 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.145) 0:00:45.871 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.057) 0:00:45.929 ***** 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. '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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.077) 0:00:46.007 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.064) 0:00:46.072 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.053) 0:00:46.125 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002683", "end": "2025-01-22 22:22:09.086796", "rc": 0, "start": "2025-01-22 22:22:09.084113" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.360) 0:00:46.486 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.057) 0:00:46.543 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.058) 0:00:46.601 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.085) 0:00:46.687 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.118) 0:00:46.805 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.117) 0:00:46.922 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.213) 0:00:47.136 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.092) 0:00:47.228 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:10 -0500 (0:00:00.103) 0:00:47.331 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:11 -0500 (0:00:01.628) 0:00:48.960 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:13 -0500 (0:00:01.605) 0:00:50.565 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.109) 0:00:50.675 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.071) 0:00:50.747 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.060) 0:00:50.807 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.087) 0:00:50.894 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.118) 0:00:51.013 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.071) 0:00:51.085 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.073) 0:00:51.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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.102) 0:00:51.261 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.043) 0:00:51.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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.113) 0:00:51.419 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.097) 0:00:51.517 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.581) 0:00:52.098 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.081) 0:00:52.179 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.036) 0:00:52.216 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.031) 0:00:52.247 ***** 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, b291bab7-8db8-4288-8855-60b020fa7351 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.581) 0:00:52.829 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.037) 0:00:52.867 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b291bab7-8db8-4288-8855-60b020fa7351" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.043) 0:00:52.910 ***** 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, b291bab7-8db8-4288-8855-60b020fa7351\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b291bab7-8db8-4288-8855-60b020fa7351" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.052) 0:00:52.962 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.036) 0:00:52.999 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.352) 0:00:53.351 ***** 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, b291bab7-8db8-4288-8855-60b020fa7351\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b291bab7-8db8-4288-8855-60b020fa7351" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.038) 0:00:53.390 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.069) 0:00:53.459 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.109) 0:00:53.568 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.059) 0:00:53.627 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.037) 0:00:53.665 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.038) 0:00:53.703 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:17 -0500 (0:00:01.584) 0:00:55.288 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:19 -0500 (0:00:01.571) 0:00:56.860 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.060) 0:00:56.920 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.053) 0:00:56.974 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.041) 0:00:57.015 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.060) 0:00:57.076 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.088) 0:00:57.164 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.089) 0:00:57.253 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:20 -0500 (0:00:00.098) 0:00:57.352 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:20 -0500 (0:00:00.295) 0:00:57.647 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:20 -0500 (0:00:00.050) 0:00:57.698 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:20 -0500 (0:00:00.044) 0:00:57.742 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:20 -0500 (0:00:00.087) 0:00:57.829 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.590) 0:00:58.420 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.095) 0:00:58.515 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.053) 0:00:58.568 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.053) 0:00:58.622 ***** 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, b291bab7-8db8-4288-8855-60b020fa7351 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.579) 0:00:59.202 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.054) 0:00:59.256 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b291bab7-8db8-4288-8855-60b020fa7351 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.060) 0:00:59.317 ***** 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, b291bab7-8db8-4288-8855-60b020fa7351 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b291bab7-8db8-4288-8855-60b020fa7351 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.062) 0:00:59.379 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.052) 0:00:59.431 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.381) 0:00:59.813 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.160) 0:00:59.973 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.114) 0:01:00.088 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.089) 0:01:00.177 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.071) 0:01:00.249 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.040) 0:01:00.290 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:23 -0500 (0:00:00.039) 0:01:00.329 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:24 -0500 (0:00:01.555) 0:01:01.884 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:26 -0500 (0:00:01.504) 0:01:03.389 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.041) 0:01:03.430 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.031) 0:01:03.462 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.032) 0:01:03.494 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.061) 0:01:03.555 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.193) 0:01:03.748 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.058) 0:01:03.807 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.060) 0:01:03.868 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.090) 0:01:03.959 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.036) 0:01:03.995 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.049) 0:01:04.044 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.125) 0:01:04.169 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.582) 0:01:04.752 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.106) 0:01:04.858 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.064) 0:01:04.923 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.085) 0:01:05.008 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:28 -0500 (0:00:00.696) 0:01:05.705 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:28 -0500 (0:00:00.032) 0:01:05.738 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:28 -0500 (0:00:00.041) 0:01:05.779 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:28 -0500 (0:00:00.051) 0:01:05.831 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:28 -0500 (0:00:00.053) 0:01:05.884 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.487) 0:01:06.372 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.075) 0:01:06.448 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.065) 0:01:06.514 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737602535.384872, "block_size": 4096, "blocks": 0, "ctime": 1737602535.384872, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37472, "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": 1737602535.384872, "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.341) 0:01:06.856 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.036) 0:01:06.893 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.060) 0:01:06.953 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:22:29 -0500 (0:00:00.036) 0:01:06.990 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.337) 0:01:07.328 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.031) 0:01:07.359 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017871", "end": "2025-01-22 22:22:30.334506", "rc": 1, "start": "2025-01-22 22:22:30.316635" } 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.352) 0:01:07.712 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.033) 0:01:07.746 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.032) 0:01:07.778 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.032) 0:01:07.811 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.073) 0:01:07.885 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.034) 0:01:07.919 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.035) 0:01:07.955 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.059) 0:01:08.015 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.048) 0:01:08.063 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.095) 0:01:08.159 ***** 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.065000", "end": "2025-01-22 22:22:31.193716", "rc": 1, "start": "2025-01-22 22:22:31.128716" } STDOUT: Connection 'statebr' (b291bab7-8db8-4288-8855-60b020fa7351) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.416) 0:01:08.575 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.056) 0:01:08.632 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.036) 0:01:08.669 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.068) 0:01:08.737 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.054) 0:01:08.792 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.051) 0:01:08.843 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002685", "end": "2025-01-22 22:22:31.805557", "rc": 0, "start": "2025-01-22 22:22:31.802872" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.381) 0:01:09.225 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.035) 0:01:09.261 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.044) 0:01:09.305 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.068) 0:01:09.374 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.069) 0:01:09.443 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.079) 0:01:09.522 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.084) 0:01:09.607 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.060) 0:01:09.668 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.059) 0:01:09.727 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:33 -0500 (0:00:01.579) 0:01:11.307 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:35 -0500 (0:00:01.559) 0:01:12.866 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.058) 0:01:12.925 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.099) 0:01:13.024 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.100) 0:01:13.125 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.173) 0:01:13.298 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.105) 0:01:13.404 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.087) 0:01:13.491 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.140) 0:01:13.632 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.229) 0:01:13.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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.051) 0:01:13.913 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.071) 0:01:13.985 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.095) 0:01:14.080 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:37 -0500 (0:00:00.570) 0:01:14.650 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:37 -0500 (0:00:00.085) 0:01:14.736 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:37 -0500 (0:00:00.035) 0:01:14.772 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:37 -0500 (0:00:00.053) 0:01:14.825 ***** 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, a46e2631-f74d-4c03-85a0-dabc7ac25709 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.650) 0:01:15.475 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.126) 0:01:15.602 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a46e2631-f74d-4c03-85a0-dabc7ac25709" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.074) 0:01:15.676 ***** 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, a46e2631-f74d-4c03-85a0-dabc7ac25709\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a46e2631-f74d-4c03-85a0-dabc7ac25709" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.100) 0:01:15.777 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.055) 0:01:15.832 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.399) 0:01:16.232 ***** 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, a46e2631-f74d-4c03-85a0-dabc7ac25709\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a46e2631-f74d-4c03-85a0-dabc7ac25709" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.048) 0:01:16.280 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.086) 0:01:16.367 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.067) 0:01:16.434 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.057) 0:01:16.492 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.037) 0:01:16.529 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.037) 0:01:16.567 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:40 -0500 (0:00:01.610) 0:01:18.177 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:42 -0500 (0:00:01.682) 0:01:19.860 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.056) 0:01:19.916 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.038) 0:01:19.955 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.038) 0:01:19.994 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.054) 0:01:20.048 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.067) 0:01:20.116 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.074) 0:01:20.190 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.106) 0:01:20.297 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.164) 0:01:20.462 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.055) 0:01:20.517 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.051) 0:01:20.569 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.096) 0:01:20.665 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:44 -0500 (0:00:00.689) 0:01:21.355 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:44 -0500 (0:00:00.130) 0:01:21.486 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:44 -0500 (0:00:00.050) 0:01:21.537 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:44 -0500 (0:00:00.177) 0:01:21.714 ***** 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, a46e2631-f74d-4c03-85a0-dabc7ac25709 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:44 -0500 (0:00:00.578) 0:01:22.292 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.038) 0:01:22.331 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a46e2631-f74d-4c03-85a0-dabc7ac25709 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.045) 0:01:22.377 ***** 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, a46e2631-f74d-4c03-85a0-dabc7ac25709 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a46e2631-f74d-4c03-85a0-dabc7ac25709 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.039) 0:01:22.416 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.033) 0:01:22.450 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.442) 0:01:22.892 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.192) 0:01:23.084 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.109) 0:01:23.194 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:45 -0500 (0:00:00.118) 0:01:23.312 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:46 -0500 (0:00:00.074) 0:01:23.386 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:46 -0500 (0:00:00.068) 0:01:23.455 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:47 -0500 (0:00:01.700) 0:01:25.156 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:49 -0500 (0:00:01.549) 0:01:26.705 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.035) 0:01:26.741 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.034) 0:01:26.775 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.031) 0:01:26.807 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.056) 0:01:26.863 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.065) 0:01:26.929 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.053) 0:01:26.982 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.075) 0:01:27.057 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.090) 0:01:27.148 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.031) 0:01:27.180 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.032) 0:01:27.212 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.061) 0:01:27.274 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.566) 0:01:27.840 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.064) 0:01:27.905 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.078) 0:01:27.984 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.032) 0:01:28.016 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.531) 0:01:28.548 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.033) 0:01:28.581 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.035) 0:01:28.617 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.037) 0:01:28.654 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.032) 0:01:28.687 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.393) 0:01:29.081 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.118) 0:01:29.199 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.116) 0:01:29.316 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.106) 0:01:29.422 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.093) 0:01:29.516 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.122) 0:01:29.638 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.060) 0:01:29.699 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:53 -0500 (0:00:01.616) 0:01:31.316 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:55 -0500 (0:00:01.562) 0:01:32.878 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.115) 0:01:32.994 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.091) 0:01:33.086 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.076) 0:01:33.162 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.115) 0:01:33.278 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.120) 0:01:33.399 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.060) 0:01:33.459 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.076) 0:01:33.535 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.119) 0:01:33.654 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.051) 0:01:33.706 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.047) 0:01:33.754 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.119) 0:01:33.874 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.569) 0:01:34.443 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.086) 0:01:34.530 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.041) 0:01:34.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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.052) 0:01:34.624 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.613) 0:01:35.238 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.037) 0:01:35.275 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.042) 0:01:35.317 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.052) 0:01:35.370 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.049) 0:01:35.419 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.351) 0:01:35.770 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.060) 0:01:35.831 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.058) 0:01:35.890 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.035) 0:01:35.925 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.402) 0:01:36.327 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.047) 0:01:36.375 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017106", "end": "2025-01-22 22:22:59.360730", "rc": 1, "start": "2025-01-22 22:22:59.343624" } 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.383) 0:01:36.758 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.054) 0:01:36.813 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.056) 0:01:36.869 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.054) 0:01:36.924 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.056) 0:01:36.981 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.056) 0:01:37.037 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.060) 0:01:37.097 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:22:59 -0500 (0:00:00.139) 0:01:37.236 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:23:00 -0500 (0:00:00.090) 0:01:37.327 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:23:00 -0500 (0:00:00.433) 0:01:37.760 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:23:00 -0500 (0:00:00.059) 0:01:37.820 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:23:00 -0500 (0:00:00.103) 0:01:37.923 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:23:00 -0500 (0:00:00.237) 0:01:38.160 ***** 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.034592", "end": "2025-01-22 22:23:01.236648", "rc": 1, "start": "2025-01-22 22:23:01.202056" } 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.454) 0:01:38.615 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.057) 0:01:38.673 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.036) 0:01:38.709 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.083) 0:01:38.793 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.091) 0:01:38.884 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.074) 0:01:38.959 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002939", "end": "2025-01-22 22:23:01.933103", "rc": 0, "start": "2025-01-22 22:23:01.930164" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.372) 0:01:39.332 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.063) 0:01:39.395 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.056) 0:01:39.452 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.090) 0:01:39.542 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.132) 0:01:39.675 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.067) 0:01:39.742 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.059) 0:01:39.801 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.037) 0:01:39.839 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.039) 0:01:39.878 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:04 -0500 (0:00:01.543) 0:01:41.421 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:05 -0500 (0:00:01.434) 0:01:42.856 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.064) 0:01:42.920 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.052) 0:01:42.972 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.054) 0:01:43.026 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.069) 0:01:43.096 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.070) 0:01:43.166 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.114) 0:01:43.281 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.064) 0:01:43.345 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.093) 0:01:43.439 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.033) 0:01:43.472 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.033) 0:01:43.506 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.066) 0:01:43.572 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.545) 0:01:44.118 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.063) 0:01:44.181 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.033) 0:01:44.215 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.034) 0:01:44.250 ***** 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, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.635) 0:01:44.885 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.069) 0:01:44.955 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.064) 0:01:45.019 ***** 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, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.072) 0:01:45.092 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.055) 0:01:45.147 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.421) 0:01:45.568 ***** 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, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.132) 0:01:45.701 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.139) 0:01:45.841 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.112) 0:01:45.953 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.067) 0:01:46.021 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.041) 0:01:46.063 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.049) 0:01:46.112 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:10 -0500 (0:00:01.570) 0:01:47.683 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:11 -0500 (0:00:01.454) 0:01:49.137 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.039) 0:01:49.177 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.033) 0:01:49.210 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.032) 0:01:49.242 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.097) 0:01:49.340 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.066) 0:01:49.407 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.057) 0:01:49.464 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.063) 0:01:49.527 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.122) 0:01:49.650 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.055) 0:01:49.705 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.037) 0:01:49.742 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.080) 0:01:49.823 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.621) 0:01:50.444 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.116) 0:01:50.560 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.058) 0:01:50.618 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.048) 0:01:50.667 ***** 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, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.572) 0:01:51.239 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.031) 0:01:51.271 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.036) 0:01:51.307 ***** 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, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02df2ed2-53ac-46bf-a8c2-9904ad2c28f7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.040) 0:01:51.348 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.044) 0:01:51.393 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.476) 0:01:51.869 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.081) 0:01:51.950 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.091) 0:01:52.042 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.098) 0:01:52.140 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.082) 0:01:52.223 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:15 -0500 (0:00:00.113) 0:01:52.336 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:16 -0500 (0:00:01.791) 0:01:54.127 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:18 -0500 (0:00:01.469) 0:01:55.597 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.064) 0:01:55.662 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.053) 0:01:55.715 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.147) 0:01:55.863 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.104) 0:01:55.967 ***** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.116) 0:01:56.083 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.084) 0:01:56.168 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.082) 0:01:56.250 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.125) 0:01:56.376 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.051) 0:01:56.427 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.035) 0:01:56.463 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.080) 0:01:56.544 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.609) 0:01:57.153 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.096) 0:01:57.250 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.054) 0:01:57.304 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.054) 0:01:57.358 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.652) 0:01:58.011 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.053) 0:01:58.065 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.059) 0:01:58.124 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.064) 0:01:58.189 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.121) 0:01:58.311 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.398) 0:01:58.709 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.117) 0:01:58.826 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.134) 0:01:58.961 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.112) 0:01:59.074 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.173) 0:01:59.248 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.085) 0:01:59.333 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.078) 0:01:59.412 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:23 -0500 (0:00:01.591) 0:02:01.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 : Print network provider] ************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:25 -0500 (0:00:01.562) 0:02:02.566 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.041) 0:02:02.607 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.052) 0:02:02.660 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.055) 0:02:02.716 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.083) 0:02:02.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.082) 0:02:02.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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.061) 0:02:02.944 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.088) 0:02:03.033 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.109) 0:02:03.142 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.040) 0:02:03.183 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.036) 0:02:03.219 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.077) 0:02:03.297 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.545) 0:02:03.843 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.062) 0:02:03.905 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.031) 0:02:03.937 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.033) 0:02:03.970 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.620) 0:02:04.591 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.113) 0:02:04.704 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.043) 0:02:04.747 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.043) 0:02:04.791 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.041) 0:02:04.833 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.350) 0:02:05.183 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.068) 0:02:05.251 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.078) 0:02:05.330 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.064) 0:02:05.394 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.361) 0:02:05.756 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.032) 0:02:05.788 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018015", "end": "2025-01-22 22:23:28.764272", "rc": 1, "start": "2025-01-22 22:23:28.746257" } 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.364) 0:02:06.153 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.062) 0:02:06.216 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.053) 0:02:06.270 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.121) 0:02:06.391 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.041) 0:02:06.432 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.039) 0:02:06.472 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.045) 0:02:06.517 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.864228", "end": "2025-01-22 22:23:30.339819", "rc": 0, "start": "2025-01-22 22:23:29.475591" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 22 January 2025 22:23:30 -0500 (0:00:01.207) 0:02:07.725 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.045) 0:02:07.771 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.041) 0:02:07.812 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.085) 0:02:07.897 ***** included: /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.054) 0:02:07.952 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.333) 0:02:08.285 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.038) 0:02:08.324 ***** 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.034) 0:02:08.359 ***** included: /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.068) 0:02:08.427 ***** 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.034919", "end": "2025-01-22 22:23:31.426974", "rc": 1, "start": "2025-01-22 22:23:31.392055" } 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.377) 0:02:08.805 ***** 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.007835", "end": "2025-01-22 22:23:31.768656", "rc": 0, "start": "2025-01-22 22:23:31.760821" } 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 12:ae:2e:58:8e:57 brd ff:ff:ff:ff:ff:ff inet 10.31.11.57/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2665sec preferred_lft 2665sec inet6 fe80::10ae:2eff:fe58:8e57/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.57 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.57 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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.387) 0:02:09.192 ***** 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.270308", "end": "2025-01-22 22:23:32.424164", "rc": 0, "start": "2025-01-22 22:23:32.153856" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe: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 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 2276 0 --:--:-- --:--:-- --:--:-- 2276 % 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 2552 0 --:--:-- --:--:-- --:--:-- 2552 PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 22:23:32 -0500 (0:00:00.592) 0:02:09.785 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.89s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-3QU/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-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21