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-08t 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_initscripts.yml ***************************************** 2 plays in /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.011) 0:00:00.011 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 25 January 2025 07:50:00 -0500 (0:00:01.144) 0:00:01.155 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.040) 0:00:01.196 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.500) 0:00:01.696 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.443) 0:00:02.140 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.033) 0:00:02.173 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.023) 0:00:02.196 ****** included: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.064) 0:00:02.261 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.554) 0:00:02.815 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.021) 0:00:02.837 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.025) 0:00:02.862 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.230484", "end": "2025-01-25 07:50:03.025646", "rc": 0, "start": "2025-01-25 07:50:02.795162" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 25 January 2025 07:50:03 -0500 (0:00:00.620) 0:00:03.482 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 25 January 2025 07:50:03 -0500 (0:00:00.017) 0:00:03.500 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 25 January 2025 07:50:03 -0500 (0:00:00.027) 0:00:03.527 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 25 January 2025 07:50:03 -0500 (0:00:00.804) 0:00:04.332 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 25 January 2025 07:50:03 -0500 (0:00:00.057) 0:00:04.389 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.079) 0:00:04.468 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.067) 0:00:04.536 ****** 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": false, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.112) 0:00:04.648 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.050) 0:00:04.699 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.047) 0:00:04.746 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003126", "end": "2025-01-25 07:50:04.664935", "rc": 0, "start": "2025-01-25 07:50:04.661809" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.380) 0:00:05.127 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.059) 0:00:05.186 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.067) 0:00:05.253 ****** included: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:50:04 -0500 (0:00:00.114) 0:00:05.368 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007509", "end": "2025-01-25 07:50:05.328902", "rc": 1, "start": "2025-01-25 07:50:05.321393" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.410) 0:00:05.779 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.074) 0:00:05.854 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.428) 0:00:06.283 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.059) 0:00:06.343 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.073) 0:00:06.416 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.094) 0:00:06.510 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.081) 0:00:06.592 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.061) 0:00:06.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 : Set flag to indicate system is ostree] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.087) 0:00:06.741 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.050) 0:00:06.792 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:08 -0500 (0:00:01.977) 0:00:08.770 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:10 -0500 (0:00:01.939) 0:00:10.709 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.116) 0:00:10.826 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.119) 0:00:10.945 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.163) 0:00:11.109 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.146) 0:00:11.255 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.131) 0:00:11.386 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.178) 0:00:11.564 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.156) 0:00:11.721 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.247) 0:00:11.969 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.136) 0:00:12.105 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.178) 0:00:12.284 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.136) 0:00:12.421 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.123) 0:00:12.544 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.097) 0:00:12.641 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.981) 0:00:13.623 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmp4igsjyjm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.449) 0:00:14.073 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.849) 0:00:14.923 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.078) 0:00:15.001 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.073) 0:00:15.075 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.066) 0:00:15.141 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.060) 0:00:15.201 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.559) 0:00:15.761 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.096) 0:00:15.858 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.179) 0:00:16.038 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.113) 0:00:16.151 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.080) 0:00:16.232 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809414.4176042, "block_size": 4096, "blocks": 8, "ctime": 1737809414.4176042, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809414.4176042, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.417) 0:00:16.649 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.066) 0:00:16.716 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016558", "end": "2025-01-25 07:50:16.677585", "rc": 1, "start": "2025-01-25 07:50:16.661027" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.455) 0:00:17.171 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.071) 0:00:17.243 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002676", "end": "2025-01-25 07:50:17.159169", "rc": 0, "start": "2025-01-25 07:50:17.156493" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.383) 0:00:17.626 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.063) 0:00:17.690 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003837", "end": "2025-01-25 07:50:18.614139", "rc": 0, "start": "2025-01-25 07:50:17.610302" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:18 -0500 (0:00:01.391) 0:00:19.081 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.060) 0:00:19.142 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.072) 0:00:19.214 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.058) 0:00:19.272 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.063) 0:00:19.335 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.088) 0:00:19.424 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.085) 0:00:19.509 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.246) 0:00:19.756 ****** 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.037943", "end": "2025-01-25 07:50:19.726544", "rc": 1, "start": "2025-01-25 07:50:19.688601" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.458) 0:00:20.214 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.145) 0:00:20.359 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.084) 0:00:20.444 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.150) 0:00:20.594 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.119) 0:00:20.714 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.118) 0:00:20.832 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003671", "end": "2025-01-25 07:50:20.797606", "rc": 0, "start": "2025-01-25 07:50:20.793935" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.465) 0:00:21.298 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.107) 0:00:21.405 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.078) 0:00:21.483 ****** included: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.099) 0:00:21.582 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005863", "end": "2025-01-25 07:50:21.505891", "rc": 1, "start": "2025-01-25 07:50:21.500028" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.457) 0:00:22.040 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.120) 0:00:22.160 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.407) 0:00:22.568 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.057) 0:00:22.625 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.115) 0:00:22.741 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.252) 0:00:22.994 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.161) 0:00:23.155 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.105) 0:00:23.260 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.096) 0:00:23.357 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.107) 0:00:23.464 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:24 -0500 (0:00:01.758) 0:00:25.223 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:26 -0500 (0:00:01.637) 0:00:26.860 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.063) 0:00:26.923 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.066) 0:00:26.989 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.054) 0:00:27.044 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.053) 0:00:27.098 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.071) 0:00:27.169 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.073) 0:00:27.243 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.075) 0:00:27.318 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.113) 0:00:27.432 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.054) 0:00:27.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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.067) 0:00:27.553 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.066) 0:00:27.620 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.060) 0:00:27.680 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.082) 0:00:27.762 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.628) 0:00:28.391 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpc48zed3_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.447) 0:00:28.839 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.515) 0:00:29.355 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.087) 0:00:29.442 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.088) 0:00:29.531 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.096) 0:00:29.627 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.086) 0:00:29.713 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.533) 0:00:30.247 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.096) 0:00:30.344 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.104) 0:00:30.448 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.092) 0:00:30.541 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.403) 0:00:30.945 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.092) 0:00:31.037 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.127) 0:00:31.165 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.230) 0:00:31.395 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809428.8616796, "block_size": 4096, "blocks": 8, "ctime": 1737809428.8616796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809428.8616796, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.474) 0:00:31.869 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.145) 0:00:32.015 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018444", "end": "2025-01-25 07:50:32.187222", "rc": 1, "start": "2025-01-25 07:50:32.168778" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.636) 0:00:32.651 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.059) 0:00:32.711 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002713", "end": "2025-01-25 07:50:32.658102", "rc": 0, "start": "2025-01-25 07:50:32.655389" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.430) 0:00:33.142 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.088) 0:00:33.230 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004078", "end": "2025-01-25 07:50:34.152185", "rc": 0, "start": "2025-01-25 07:50:33.148107" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:34 -0500 (0:00:01.394) 0:00:34.624 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.093) 0:00:34.717 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.092) 0:00:34.810 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.102) 0:00:34.913 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.094) 0:00:35.007 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.083) 0:00:35.091 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.109) 0:00:35.201 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.149) 0:00:35.350 ****** 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.035828", "end": "2025-01-25 07:50:35.388281", "rc": 1, "start": "2025-01-25 07:50:35.352453" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.587) 0:00:35.938 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.174) 0:00:36.113 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.084) 0:00:36.197 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.129) 0:00:36.327 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.082) 0:00:36.410 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.078) 0:00:36.488 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002979", "end": "2025-01-25 07:50:36.517110", "rc": 0, "start": "2025-01-25 07:50:36.514131" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.513) 0:00:37.001 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.071) 0:00:37.073 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.077) 0:00:37.151 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.089) 0:00:37.240 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:36 -0500 (0:00:00.094) 0:00:37.334 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.238) 0:00:37.573 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.102) 0:00:37.675 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.094) 0:00:37.770 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.069) 0:00:37.839 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:39 -0500 (0:00:01.603) 0:00:39.443 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:40 -0500 (0:00:01.557) 0:00:41.000 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.127) 0:00:41.127 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.095) 0:00:41.222 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.063) 0:00:41.286 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.098) 0:00:41.384 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.108) 0:00:41.492 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.060) 0:00:41.552 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.066) 0:00:41.619 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.222) 0:00:41.842 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.060) 0:00:41.902 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.067) 0:00:41.969 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.069) 0:00:42.039 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.077) 0:00:42.116 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.088) 0:00:42.205 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.613) 0:00:42.819 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpnwzk418m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.435) 0:00:43.255 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.661) 0:00:43.916 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.063) 0:00:43.980 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.066) 0:00:44.046 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.063) 0:00:44.110 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.055) 0:00:44.166 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.434) 0:00:44.600 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.072) 0:00:44.672 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.134) 0:00:44.807 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.137) 0:00:44.944 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.103) 0:00:45.047 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.064) 0:00:45.111 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.056) 0:00:45.168 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.068) 0:00:45.237 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:46 -0500 (0:00:01.776) 0:00:47.014 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:48 -0500 (0:00:01.504) 0:00:48.518 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.058) 0:00:48.577 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.055) 0:00:48.632 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.054) 0:00:48.687 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.113) 0:00:48.801 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.094) 0:00:48.895 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.090) 0:00:48.986 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.099) 0:00:49.085 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.207) 0:00:49.293 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.160) 0:00:49.453 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.159) 0:00:49.613 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.129) 0:00:49.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.099) 0:00:49.842 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.098) 0:00:49.940 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.920) 0:00:50.861 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmp9d15iw42" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.450) 0:00:51.312 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.822) 0:00:52.135 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.086) 0:00:52.221 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.076) 0:00:52.297 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.062) 0:00:52.360 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.053) 0:00:52.413 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.629) 0:00:53.042 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.141) 0:00:53.183 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.105) 0:00:53.289 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809451.538319, "block_size": 4096, "blocks": 0, "ctime": 1737809451.538319, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34928, "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": 1737809451.538319, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.523) 0:00:53.813 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.090) 0:00:53.903 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.117) 0:00:54.021 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.066) 0:00:54.088 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809451.3787968, "block_size": 4096, "blocks": 8, "ctime": 1737809443.4217553, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809443.4217553, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.410) 0:00:54.498 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.088) 0:00:54.587 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018655", "end": "2025-01-25 07:50:54.738526", "rc": 1, "start": "2025-01-25 07:50:54.719871" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.641) 0:00:55.229 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.088) 0:00:55.317 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002698", "end": "2025-01-25 07:50:55.262303", "rc": 0, "start": "2025-01-25 07:50:55.259605" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.435) 0:00:55.753 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.157) 0:00:55.910 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002713", "end": "2025-01-25 07:50:55.862921", "rc": 0, "start": "2025-01-25 07:50:55.860208" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.416) 0:00:56.327 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.085) 0:00:56.413 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.128) 0:00:56.542 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.129) 0:00:56.671 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.093) 0:00:56.765 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.113) 0:00:56.879 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.087) 0:00:56.966 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.101) 0:00:57.068 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044153", "end": "2025-01-25 07:50:57.026044", "rc": 0, "start": "2025-01-25 07:50:56.981891" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.431) 0:00:57.499 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.094) 0:00:57.593 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.058) 0:00:57.652 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.100) 0:00:57.752 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.102) 0:00:57.854 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.212) 0:00:58.067 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003531", "end": "2025-01-25 07:50:58.002383", "rc": 0, "start": "2025-01-25 07:50:57.998852" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.456) 0:00:58.523 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.129) 0:00:58.653 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.118) 0:00:58.771 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.248) 0:00:59.019 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.236) 0:00:59.256 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.182) 0:00:59.438 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.108) 0:00:59.547 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.096) 0:00:59.644 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.077) 0:00:59.721 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:00 -0500 (0:00:01.627) 0:01:01.349 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:02 -0500 (0:00:01.642) 0:01:02.992 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.088) 0:01:03.080 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.084) 0:01:03.165 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.096) 0:01:03.261 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.089) 0:01:03.351 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.102) 0:01:03.454 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.092) 0:01:03.546 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.102) 0:01:03.648 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.111) 0:01:03.760 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.073) 0:01:03.833 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.058) 0:01:03.891 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.064) 0:01:03.956 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.065) 0:01:04.022 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.084) 0:01:04.106 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.641) 0:01:04.748 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpbvfcm2sx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.519) 0:01:05.267 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.590) 0:01:05.857 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.110) 0:01:05.968 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.105) 0:01:06.074 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.095) 0:01:06.169 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.085) 0:01:06.255 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.629) 0:01:06.884 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.058) 0:01:06.943 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.132) 0:01:07.075 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.114) 0:01:07.190 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.120) 0:01:07.311 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.103) 0:01:07.415 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.087) 0:01:07.502 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:09 -0500 (0:00:01.955) 0:01:09.458 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:10 -0500 (0:00:01.788) 0:01:11.247 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.060) 0:01:11.307 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.056) 0:01:11.364 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.055) 0:01:11.419 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.059) 0:01:11.478 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.070) 0:01:11.549 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.081) 0:01:11.631 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.109) 0:01:11.740 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.144) 0:01:11.884 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.063) 0:01:11.948 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.069) 0:01:12.017 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.068) 0:01:12.086 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.054) 0:01:12.140 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.160) 0:01:12.301 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.558) 0:01:12.860 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpxkp9vk8q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.417) 0:01:13.277 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:13 -0500 (0:00:01.073) 0:01:14.351 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.103) 0:01:14.454 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.107) 0:01:14.562 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.120) 0:01:14.683 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.069) 0:01:14.752 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.441) 0:01:15.194 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.237) 0:01:15.431 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.170) 0:01:15.601 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.130) 0:01:15.732 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.191) 0:01:15.924 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.059) 0:01:15.983 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.058) 0:01:16.042 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:17 -0500 (0:00:01.779) 0:01:17.822 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:18 -0500 (0:00:01.503) 0:01:19.325 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.058) 0:01:19.384 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.059) 0:01:19.443 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.055) 0:01:19.498 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.058) 0:01:19.557 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.070) 0:01:19.628 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.073) 0:01:19.701 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.105) 0:01:19.806 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.128) 0:01:19.935 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.055) 0:01:19.991 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.210) 0:01:20.202 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.125) 0:01:20.327 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.154) 0:01:20.482 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.199) 0:01:20.681 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.888) 0:01:21.570 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmp_u0sy3kx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.426) 0:01:21.996 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.532) 0:01:22.529 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.087) 0:01:22.616 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.070) 0:01:22.687 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.072) 0:01:22.760 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.055) 0:01:22.815 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.491) 0:01:23.307 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.163) 0:01:23.470 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.142) 0:01:23.612 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809473.7270362, "block_size": 4096, "blocks": 0, "ctime": 1737809473.7270362, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35059, "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": 1737809473.7270362, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.489) 0:01:24.102 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.104) 0:01:24.206 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.111) 0:01:24.317 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.060) 0:01:24.378 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.420) 0:01:24.798 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.063) 0:01:24.862 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017883", "end": "2025-01-25 07:51:24.805889", "rc": 1, "start": "2025-01-25 07:51:24.788006" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.433) 0:01:25.296 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.066) 0:01:25.362 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.058) 0:01:25.421 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.059) 0:01:25.480 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.056) 0:01:25.537 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.060) 0:01:25.597 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.095) 0:01:25.693 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.080) 0:01:25.774 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.092) 0:01:25.866 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.436) 0:01:26.302 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047565", "end": "2025-01-25 07:51:26.463794", "rc": 0, "start": "2025-01-25 07:51:26.416229" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.648) 0:01:26.951 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.170) 0:01:27.121 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.104) 0:01:27.225 ****** 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": false, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.176) 0:01:27.402 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.145) 0:01:27.548 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.130) 0:01:27.679 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002996", "end": "2025-01-25 07:51:27.660663", "rc": 0, "start": "2025-01-25 07:51:27.657667" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.462) 0:01:28.142 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.100) 0:01:28.242 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.118) 0:01:28.361 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.198) 0:01:28.559 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.396) 0:01:28.955 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.207) 0:01:29.163 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.098) 0:01:29.261 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.098) 0:01:29.360 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.086) 0:01:29.446 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:30 -0500 (0:00:01.748) 0:01:31.194 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:32 -0500 (0:00:01.672) 0:01:32.867 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.197) 0:01:33.064 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.142) 0:01:33.207 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.094) 0:01:33.301 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.133) 0:01:33.434 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.169) 0:01:33.604 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.308) 0:01:33.912 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.098) 0:01:34.011 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.099) 0:01:34.111 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.059) 0:01:34.170 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.055) 0:01:34.225 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.064) 0:01:34.290 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.063) 0:01:34.353 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.079) 0:01:34.433 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.640) 0:01:35.074 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpcqo838t3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.421) 0:01:35.495 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.530) 0:01:36.026 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.088) 0:01:36.115 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.090) 0:01:36.206 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.072) 0:01:36.278 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.066) 0:01:36.345 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.452) 0:01:36.798 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.068) 0:01:36.866 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.098) 0:01:36.964 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.090) 0:01:37.055 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.064) 0:01:37.119 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.059) 0:01:37.179 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.059) 0:01:37.238 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:38 -0500 (0:00:01.660) 0:01:38.899 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:40 -0500 (0:00:01.527) 0:01:40.427 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.090) 0:01:40.517 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.071) 0:01:40.589 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.113) 0:01:40.702 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.431) 0:01:41.134 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.091) 0:01:41.225 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.062) 0:01:41.288 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.079) 0:01:41.367 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.094) 0:01:41.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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.059) 0:01:41.522 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.083) 0:01:41.606 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.142) 0:01:41.749 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.179) 0:01:41.928 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.132) 0:01:42.061 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.691) 0:01:42.752 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmphzv49u69" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.610) 0:01:43.362 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.792) 0:01:44.155 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.082) 0:01:44.238 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.067) 0:01:44.306 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.070) 0:01:44.376 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.106) 0:01:44.482 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.425) 0:01:44.907 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.096) 0:01:45.004 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.136) 0:01:45.140 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.101) 0:01:45.242 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.103) 0:01:45.345 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.100) 0:01:45.445 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:46 -0500 (0:00:01.691) 0:01:47.137 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:48 -0500 (0:00:01.626) 0:01:48.763 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.078) 0:01:48.841 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.059) 0:01:48.900 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.197) 0:01:49.098 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.085) 0:01:49.184 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.102) 0:01:49.287 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.091) 0:01:49.378 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.128) 0:01:49.507 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.154) 0:01:49.661 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.100) 0:01:49.761 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.091) 0:01:49.853 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.101) 0:01:49.955 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.098) 0:01:50.053 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.157) 0:01:50.211 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.717) 0:01:50.929 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmp1nrvvf9r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.421) 0:01:51.350 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.719) 0:01:52.070 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.059) 0:01:52.129 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.099) 0:01:52.228 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.203) 0:01:52.432 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.181) 0:01:52.613 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.495) 0:01:53.109 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.220) 0:01:53.330 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.201) 0:01:53.531 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.143) 0:01:53.674 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.109) 0:01:53.783 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.093) 0:01:53.877 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.145) 0:01:54.022 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:55 -0500 (0:00:01.691) 0:01:55.713 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:57 -0500 (0:00:01.688) 0:01:57.402 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.092) 0:01:57.495 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.083) 0:01:57.579 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.089) 0:01:57.668 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.085) 0:01:57.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.100) 0:01:57.855 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.119) 0:01:57.974 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.104) 0:01:58.079 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.140) 0:01:58.219 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.094) 0:01:58.314 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.071) 0:01:58.385 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.079) 0:01:58.465 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.063) 0:01:58.529 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.056) 0:01:58.585 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.565) 0:01:59.151 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpitwu3yk8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.406) 0:01:59.557 ****** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.953) 0:02:00.510 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.084) 0:02:00.595 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.098) 0:02:00.693 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.093) 0:02:00.787 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.084) 0:02:00.871 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.403) 0:02:01.274 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.084) 0:02:01.359 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.115) 0:02:01.475 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.088) 0:02:01.563 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.433) 0:02:01.996 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.063) 0:02:02.060 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017879", "end": "2025-01-25 07:52:02.011560", "rc": 1, "start": "2025-01-25 07:52:01.993681" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.459) 0:02:02.520 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.089) 0:02:02.610 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.079) 0:02:02.689 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.178) 0:02:02.868 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.062) 0:02:02.930 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.085) 0:02:03.016 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.090) 0:02:03.106 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.079) 0:02:03.185 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.067) 0:02:03.252 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.091) 0:02:03.343 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046832", "end": "2025-01-25 07:52:03.326738", "rc": 0, "start": "2025-01-25 07:52:03.279906" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.479) 0:02:03.822 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.115) 0:02:03.938 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.148) 0:02:04.086 ****** 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": false, "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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.192) 0:02:04.279 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.126) 0:02:04.405 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.190) 0:02:04.596 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2025-01-25 07:52:04.552471", "rc": 0, "start": "2025-01-25 07:52:04.549387" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.447) 0:02:05.043 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.096) 0:02:05.139 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.082) 0:02:05.222 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.125) 0:02:05.347 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.101) 0:02:05.449 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.088) 0:02:05.537 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.064) 0:02:05.602 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.057) 0:02:05.660 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.094) 0:02:05.754 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:07 -0500 (0:00:01.762) 0:02:07.516 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:08 -0500 (0:00:01.676) 0:02:09.193 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.086) 0:02:09.280 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.068) 0:02:09.348 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.068) 0:02:09.416 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.074) 0:02:09.490 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.067) 0:02:09.557 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.060) 0:02:09.618 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.068) 0:02:09.686 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.093) 0:02:09.779 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.059) 0:02:09.838 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.056) 0:02:09.895 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.065) 0:02:09.960 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.059) 0:02:10.020 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.055) 0:02:10.076 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.559) 0:02:10.635 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpxqgfbqbc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.437) 0:02:11.072 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.709) 0:02:11.782 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.058) 0:02:11.841 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.062) 0:02:11.904 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.061) 0:02:11.965 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.054) 0:02:12.020 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.445) 0:02:12.465 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.082) 0:02:12.548 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.107) 0:02:12.656 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.089) 0:02:12.745 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.064) 0:02:12.810 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.059) 0:02:12.869 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.068) 0:02:12.937 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:14 -0500 (0:00:01.665) 0:02:14.603 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:15 -0500 (0:00:01.568) 0:02:16.171 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.059) 0:02:16.230 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.060) 0:02:16.291 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.056) 0:02:16.347 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.060) 0:02:16.408 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.070) 0:02:16.478 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.056) 0:02:16.534 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.068) 0:02:16.603 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.107) 0:02:16.710 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.056) 0:02:16.767 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.060) 0:02:16.827 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.068) 0:02:16.896 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.057) 0:02:16.954 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.070) 0:02:17.024 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.843) 0:02:17.867 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmp7hlhnvji" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.586) 0:02:18.454 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.721) 0:02:19.175 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.058) 0:02:19.234 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.059) 0:02:19.294 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.068) 0:02:19.362 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.084) 0:02:19.447 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.624) 0:02:20.071 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.108) 0:02:20.180 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.120) 0:02:20.300 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.099) 0:02:20.400 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:20 -0500 (0:00:00.092) 0:02:20.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 : Check which services are running] **** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:20 -0500 (0:00:00.127) 0:02:20.620 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:22 -0500 (0:00:01.858) 0:02:22.479 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:23 -0500 (0:00:01.802) 0:02:24.282 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.106) 0:02:24.388 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.091) 0:02:24.480 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.097) 0:02:24.577 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.099) 0:02:24.677 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.082) 0:02:24.759 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.068) 0:02:24.828 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.097) 0:02:24.925 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.127) 0:02:25.053 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.063) 0:02:25.116 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.059) 0:02:25.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 : Enable and start NetworkManager] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.066) 0:02:25.242 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.054) 0:02:25.297 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.169) 0:02:25.466 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.602) 0:02:26.069 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpwaqryvvt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.386) 0:02:26.456 ****** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.509) 0:02:26.966 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.096) 0:02:27.062 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.101) 0:02:27.164 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.098) 0:02:27.262 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.085) 0:02:27.347 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.440) 0:02:27.788 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.134) 0:02:27.923 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.168) 0:02:28.091 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.173) 0:02:28.264 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.343) 0:02:28.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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.094) 0:02:28.702 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.124) 0:02:28.827 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:30 -0500 (0:00:01.868) 0:02:30.695 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:31 -0500 (0:00:01.469) 0:02:32.164 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.073) 0:02:32.237 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.058) 0:02:32.296 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.056) 0:02:32.352 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.060) 0:02:32.413 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.070) 0:02:32.484 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.056) 0:02:32.540 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.070) 0:02:32.611 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.096) 0:02:32.708 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.055) 0:02:32.763 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.183) 0:02:32.947 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.085) 0:02:33.032 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.071) 0:02:33.104 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.070) 0:02:33.174 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:33 -0500 (0:00:00.584) 0:02:33.758 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42108s8s3_3s7/tmpzefn9vb9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:33 -0500 (0:00:00.386) 0:02:34.144 ****** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.509) 0:02:34.654 ****** 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-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.093) 0:02:34.747 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.090) 0:02:34.838 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.095) 0:02:34.934 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.086) 0:02:35.020 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.468) 0:02:35.489 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.122) 0:02:35.612 ****** included: /tmp/collections-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.158) 0:02:35.770 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.058) 0:02:35.829 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.396) 0:02:36.226 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.095) 0:02:36.321 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017905", "end": "2025-01-25 07:52:36.273738", "rc": 1, "start": "2025-01-25 07:52:36.255833" } 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.420) 0:02:36.741 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.069) 0:02:36.810 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.089) 0:02:36.899 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.082) 0:02:36.982 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.095) 0:02:37.077 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.071) 0:02:37.148 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.067) 0:02:37.215 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.868967", "end": "2025-01-25 07:52:38.004471", "rc": 0, "start": "2025-01-25 07:52:37.135504" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 25 January 2025 07:52:38 -0500 (0:00:01.255) 0:02:38.471 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.058) 0:02:38.530 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.057) 0:02:38.588 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.062) 0:02:38.651 ****** 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.058) 0:02:38.709 ****** included: /tmp/collections-08t/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-08t/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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.148) 0:02:38.858 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045506", "end": "2025-01-25 07:52:38.811741", "rc": 0, "start": "2025-01-25 07:52:38.766235" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 25 January 2025 07:52:38 -0500 (0:00:00.420) 0:02:39.279 ****** 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.007692", "end": "2025-01-25 07:52:39.235580", "rc": 0, "start": "2025-01-25 07:52:39.227888" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:be:bd:04:c1:bf brd ff:ff:ff:ff:ff:ff inet 10.31.40.61/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2674sec preferred_lft 2674sec inet6 fe80::cbe:bdff:fe04:c1bf/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ce:ff:7f:3e:2f:6b brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.61 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.61 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-08t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.419) 0:02:39.698 ****** 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.365922", "end": "2025-01-25 07:52:39.982679", "rc": 0, "start": "2025-01-25 07:52:39.616757" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 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:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2194 0 --:--:-- --:--:-- --:--:-- 2194 % 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 1419 0 --:--:-- --:--:-- --:--:-- 1419 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 25 January 2025 07:52:40 -0500 (0:00:00.731) 0:02:40.429 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.94s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-08t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26