ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-2en executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 06 January 2025 10:05:49 -0500 (0:00:00.006) 0:00:00.006 ******** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 06 January 2025 10:05:50 -0500 (0:00:01.292) 0:00:01.298 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 06 January 2025 10:05:50 -0500 (0:00:00.063) 0:00:01.362 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 06 January 2025 10:05:51 -0500 (0:00:00.570) 0:00:01.932 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 06 January 2025 10:05:51 -0500 (0:00:00.477) 0:00:02.410 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 06 January 2025 10:05:51 -0500 (0:00:00.061) 0:00:02.471 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 06 January 2025 10:05:51 -0500 (0:00:00.033) 0:00:02.504 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 06 January 2025 10:05:51 -0500 (0:00:00.083) 0:00:02.588 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 06 January 2025 10:05:51 -0500 (0:00:00.050) 0:00:02.638 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 06 January 2025 10:05:51 -0500 (0:00:00.021) 0:00:02.660 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 06 January 2025 10:05:51 -0500 (0:00:00.019) 0:00:02.680 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 06 January 2025 10:05:51 -0500 (0:00:00.020) 0:00:02.700 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 06 January 2025 10:05:51 -0500 (0:00:00.020) 0:00:02.721 ******** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 06 January 2025 10:05:51 -0500 (0:00:00.027) 0:00:02.748 ******** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 06 January 2025 10:05:52 -0500 (0:00:00.925) 0:00:03.673 ******** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 06 January 2025 10:05:52 -0500 (0:00:00.017) 0:00:03.690 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:05:52 -0500 (0:00:00.023) 0:00:03.714 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:05:52 -0500 (0:00:00.015) 0:00:03.730 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:05:52 -0500 (0:00:00.052) 0:00:03.783 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:05:52 -0500 (0:00:00.023) 0:00:03.806 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:05:52 -0500 (0:00:00.027) 0:00:03.833 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2025-01-06 10:05:53.334647", "rc": 0, "start": "2025-01-06 10:05:53.331106" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:05:53 -0500 (0:00:00.490) 0:00:04.323 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:05:53 -0500 (0:00:00.020) 0:00:04.343 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:05:53 -0500 (0:00:00.019) 0:00:04.362 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 06 January 2025 10:05:53 -0500 (0:00:00.027) 0:00:04.390 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009071", "end": "2025-01-06 10:05:53.769199", "rc": 1, "start": "2025-01-06 10:05:53.760128" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:05:53 -0500 (0:00:00.372) 0:00:04.763 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:05:53 -0500 (0:00:00.030) 0:00:04.794 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:05:54 -0500 (0:00:00.378) 0:00:05.173 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:05:54 -0500 (0:00:00.018) 0:00:05.191 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:05:54 -0500 (0:00:00.028) 0:00:05.220 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:05:54 -0500 (0:00:00.062) 0:00:05.282 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:05:54 -0500 (0:00:00.041) 0:00:05.324 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:05:54 -0500 (0:00:00.041) 0:00:05.365 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:05:54 -0500 (0:00:00.019) 0:00:05.385 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:05:54 -0500 (0:00:00.025) 0:00:05.410 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:05:56 -0500 (0:00:02.050) 0:00:07.461 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:05:57 -0500 (0:00:00.934) 0:00:08.395 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:05:57 -0500 (0:00:00.033) 0:00:08.428 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:05:57 -0500 (0:00:00.028) 0:00:08.456 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:05:57 -0500 (0:00:00.028) 0:00:08.485 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:05:57 -0500 (0:00:00.075) 0:00:08.561 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:05:57 -0500 (0:00:00.096) 0:00:08.657 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:05:57 -0500 (0:00:00.079) 0:00:08.737 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:05:57 -0500 (0:00:00.135) 0:00:08.872 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:05:58 -0500 (0:00:00.149) 0:00:09.021 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:05:58 -0500 (0:00:00.058) 0:00:09.080 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:05:58 -0500 (0:00:00.084) 0:00:09.165 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:05:58 -0500 (0:00:00.092) 0:00:09.258 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:05:59 -0500 (0:00:01.032) 0:00:10.290 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:05:59 -0500 (0:00:00.075) 0:00:10.366 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:05:59 -0500 (0:00:00.049) 0:00:10.416 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:05:59 -0500 (0:00:00.050) 0:00:10.466 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:00 -0500 (0:00:00.922) 0:00:11.389 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:00 -0500 (0:00:00.035) 0:00:11.425 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:00 -0500 (0:00:00.052) 0:00:11.477 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:00 -0500 (0:00:00.053) 0:00:11.530 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:00 -0500 (0:00:00.048) 0:00:11.579 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:06:01 -0500 (0:00:00.574) 0:00:12.153 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 954befb1-06a3-4889-8964-a3a662412e89" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:06:01 -0500 (0:00:00.050) 0:00:12.204 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:06:01 -0500 (0:00:00.073) 0:00:12.277 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:06:01 -0500 (0:00:00.055) 0:00:12.333 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:06:01 -0500 (0:00:00.059) 0:00:12.392 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:06:01 -0500 (0:00:00.361) 0:00:12.754 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:06:01 -0500 (0:00:00.030) 0:00:12.785 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020062", "end": "2025-01-06 10:06:02.178205", "rc": 0, "start": "2025-01-06 10:06:02.158143" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:06:02 -0500 (0:00:00.412) 0:00:13.198 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:06:02 -0500 (0:00:00.051) 0:00:13.249 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:06:02 -0500 (0:00:00.034) 0:00:13.284 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:06:02 -0500 (0:00:00.036) 0:00:13.321 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:06:02 -0500 (0:00:00.037) 0:00:13.358 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:06:02 -0500 (0:00:00.031) 0:00:13.390 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:06:02 -0500 (0:00:00.035) 0:00:13.425 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:06:02 -0500 (0:00:00.034) 0:00:13.460 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:06:02 -0500 (0:00:00.034) 0:00:13.494 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:06:02 -0500 (0:00:00.097) 0:00:13.592 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:06:02 -0500 (0:00:00.084) 0:00:13.676 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736175960.336757, "block_size": 4096, "blocks": 0, "ctime": 1736175960.336757, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31536, "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": 1736175960.336757, "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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:06:03 -0500 (0:00:00.409) 0:00:14.086 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:06:03 -0500 (0:00:00.062) 0:00:14.149 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:06:03 -0500 (0:00:00.059) 0:00:14.209 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:06:03 -0500 (0:00:00.136) 0:00:14.345 ******** 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.066407", "end": "2025-01-06 10:06:03.833754", "rc": 1, "start": "2025-01-06 10:06:03.767347" } STDOUT: Connection 'statebr' (954befb1-06a3-4889-8964-a3a662412e89) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 06 January 2025 10:06:03 -0500 (0:00:00.517) 0:00:14.862 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:06:04 -0500 (0:00:00.088) 0:00:14.951 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:06:04 -0500 (0:00:00.052) 0:00:15.004 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:06:04 -0500 (0:00:00.145) 0:00:15.149 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:06:04 -0500 (0:00:00.136) 0:00:15.286 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:06:04 -0500 (0:00:00.129) 0:00:15.418 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004535", "end": "2025-01-06 10:06:05.846149", "rc": 0, "start": "2025-01-06 10:06:04.841614" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:06:05 -0500 (0:00:01.444) 0:00:16.863 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:06:05 -0500 (0:00:00.058) 0:00:16.922 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:06:06 -0500 (0:00:00.052) 0:00:16.975 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 06 January 2025 10:06:06 -0500 (0:00:00.120) 0:00:17.095 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007639", "end": "2025-01-06 10:06:06.502492", "rc": 1, "start": "2025-01-06 10:06:06.494853" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:06:06 -0500 (0:00:00.466) 0:00:17.562 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:06:06 -0500 (0:00:00.118) 0:00:17.680 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:06:07 -0500 (0:00:00.456) 0:00:18.137 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:06:07 -0500 (0:00:00.056) 0:00:18.193 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 06 January 2025 10:06:07 -0500 (0:00:00.073) 0:00:18.267 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:07 -0500 (0:00:00.077) 0:00:18.345 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:07 -0500 (0:00:00.064) 0:00:18.409 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:07 -0500 (0:00:00.059) 0:00:18.468 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:07 -0500 (0:00:00.047) 0:00:18.516 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:07 -0500 (0:00:00.053) 0:00:18.570 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:09 -0500 (0:00:02.000) 0:00:20.571 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:10 -0500 (0:00:00.821) 0:00:21.393 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:10 -0500 (0:00:00.054) 0:00:21.448 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:10 -0500 (0:00:00.052) 0:00:21.500 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:10 -0500 (0:00:00.085) 0:00:21.586 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:10 -0500 (0:00:00.113) 0:00:21.699 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:10 -0500 (0:00:00.101) 0:00:21.800 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:10 -0500 (0:00:00.077) 0:00:21.878 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:11 -0500 (0:00:00.094) 0:00:21.973 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:11 -0500 (0:00:00.167) 0:00:22.141 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:11 -0500 (0:00:00.047) 0:00:22.188 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:11 -0500 (0:00:00.035) 0:00:22.224 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:11 -0500 (0:00:00.074) 0:00:22.298 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:12 -0500 (0:00:00.654) 0:00:22.952 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:12 -0500 (0:00:00.055) 0:00:23.008 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:12 -0500 (0:00:00.028) 0:00:23.037 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:12 -0500 (0:00:00.028) 0:00:23.065 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:12 -0500 (0:00:00.617) 0:00:23.683 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:12 -0500 (0:00:00.065) 0:00:23.748 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:12 -0500 (0:00:00.075) 0:00:23.824 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:12 -0500 (0:00:00.055) 0:00:23.879 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:12 -0500 (0:00:00.050) 0:00:23.930 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 06 January 2025 10:06:13 -0500 (0:00:00.622) 0:00:24.552 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:06:13 -0500 (0:00:00.081) 0:00:24.634 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:06:13 -0500 (0:00:00.090) 0:00:24.724 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:06:13 -0500 (0:00:00.050) 0:00:24.775 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:06:14 -0500 (0:00:00.377) 0:00:25.152 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:06:14 -0500 (0:00:00.039) 0:00:25.192 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:06:14 -0500 (0:00:00.073) 0:00:25.265 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:06:14 -0500 (0:00:00.030) 0:00:25.296 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:06:14 -0500 (0:00:00.417) 0:00:25.713 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:06:14 -0500 (0:00:00.053) 0:00:25.767 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018762", "end": "2025-01-06 10:06:15.195361", "rc": 0, "start": "2025-01-06 10:06:15.176599" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:06:15 -0500 (0:00:00.452) 0:00:26.220 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:06:15 -0500 (0:00:00.070) 0:00:26.290 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:06:15 -0500 (0:00:00.068) 0:00:26.359 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:06:15 -0500 (0:00:00.075) 0:00:26.434 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:06:15 -0500 (0:00:00.091) 0:00:26.526 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:06:15 -0500 (0:00:00.055) 0:00:26.582 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:06:15 -0500 (0:00:00.090) 0:00:26.672 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:06:15 -0500 (0:00:00.037) 0:00:26.710 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:06:15 -0500 (0:00:00.031) 0:00:26.742 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:06:15 -0500 (0:00:00.044) 0:00:26.787 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:06:15 -0500 (0:00:00.031) 0:00:26.818 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:06:15 -0500 (0:00:00.072) 0:00:26.891 ******** 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.038316", "end": "2025-01-06 10:06:16.318637", "rc": 1, "start": "2025-01-06 10:06:16.280321" } STDOUT: Connection 'statebr' (4f5c857f-96e0-4a63-aa1f-ba6de0e54e5a) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 06 January 2025 10:06:16 -0500 (0:00:00.443) 0:00:27.335 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:06:16 -0500 (0:00:00.091) 0:00:27.426 ******** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:06:16 -0500 (0:00:00.056) 0:00:27.482 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:06:16 -0500 (0:00:00.142) 0:00:27.625 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:06:16 -0500 (0:00:00.113) 0:00:27.739 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:06:16 -0500 (0:00:00.103) 0:00:27.843 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003835", "end": "2025-01-06 10:06:17.231878", "rc": 0, "start": "2025-01-06 10:06:17.228043" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:06:17 -0500 (0:00:00.442) 0:00:28.285 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:06:17 -0500 (0:00:00.066) 0:00:28.351 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:06:17 -0500 (0:00:00.104) 0:00:28.456 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:06:17 -0500 (0:00:00.175) 0:00:28.631 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:17 -0500 (0:00:00.120) 0:00:28.752 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:17 -0500 (0:00:00.097) 0:00:28.849 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:17 -0500 (0:00:00.074) 0:00:28.923 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:18 -0500 (0:00:00.073) 0:00:28.997 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:18 -0500 (0:00:00.058) 0:00:29.056 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:20 -0500 (0:00:01.962) 0:00:31.018 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:20 -0500 (0:00:00.879) 0:00:31.898 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:21 -0500 (0:00:00.064) 0:00:31.962 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:21 -0500 (0:00:00.048) 0:00:32.010 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:21 -0500 (0:00:00.050) 0:00:32.061 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:21 -0500 (0:00:00.093) 0:00:32.154 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:21 -0500 (0:00:00.145) 0:00:32.300 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:21 -0500 (0:00:00.079) 0:00:32.380 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:21 -0500 (0:00:00.117) 0:00:32.498 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:21 -0500 (0:00:00.166) 0:00:32.665 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:21 -0500 (0:00:00.046) 0:00:32.711 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:21 -0500 (0:00:00.046) 0:00:32.758 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:21 -0500 (0:00:00.111) 0:00:32.870 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:22 -0500 (0:00:00.671) 0:00:33.541 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:22 -0500 (0:00:00.068) 0:00:33.610 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:22 -0500 (0:00:00.028) 0:00:33.639 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:22 -0500 (0:00:00.030) 0:00:33.670 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:23 -0500 (0:00:00.701) 0:00:34.371 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:23 -0500 (0:00:00.098) 0:00:34.470 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:23 -0500 (0:00:00.096) 0:00:34.567 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:23 -0500 (0:00:00.057) 0:00:34.625 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:23 -0500 (0:00:00.052) 0:00:34.677 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:06:24 -0500 (0:00:00.546) 0:00:35.223 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:06:24 -0500 (0:00:00.105) 0:00:35.328 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:06:24 -0500 (0:00:00.181) 0:00:35.510 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:24 -0500 (0:00:00.116) 0:00:35.626 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:24 -0500 (0:00:00.085) 0:00:35.711 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:24 -0500 (0:00:00.065) 0:00:35.777 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:24 -0500 (0:00:00.037) 0:00:35.814 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:24 -0500 (0:00:00.033) 0:00:35.848 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:26 -0500 (0:00:01.950) 0:00:37.798 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:27 -0500 (0:00:00.752) 0:00:38.550 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:27 -0500 (0:00:00.044) 0:00:38.595 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:27 -0500 (0:00:00.037) 0:00:38.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:27 -0500 (0:00:00.063) 0:00:38.696 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:27 -0500 (0:00:00.097) 0:00:38.793 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:28 -0500 (0:00:00.144) 0:00:38.938 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:28 -0500 (0:00:00.077) 0:00:39.015 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:28 -0500 (0:00:00.102) 0:00:39.118 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:28 -0500 (0:00:00.082) 0:00:39.201 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:28 -0500 (0:00:00.030) 0:00:39.231 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:28 -0500 (0:00:00.036) 0:00:39.268 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:28 -0500 (0:00:00.107) 0:00:39.375 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:29 -0500 (0:00:00.628) 0:00:40.004 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:29 -0500 (0:00:00.061) 0:00:40.065 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:29 -0500 (0:00:00.047) 0:00:40.113 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:29 -0500 (0:00:00.034) 0:00:40.148 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:29 -0500 (0:00:00.601) 0:00:40.749 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:29 -0500 (0:00:00.034) 0:00:40.784 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:29 -0500 (0:00:00.033) 0:00:40.817 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48182a75-91e6-4cb6-b977-ab00b3323159 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:29 -0500 (0:00:00.032) 0:00:40.850 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:29 -0500 (0:00:00.031) 0:00:40.882 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:06:30 -0500 (0:00:00.417) 0:00:41.299 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:06:30 -0500 (0:00:00.104) 0:00:41.404 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:06:30 -0500 (0:00:00.048) 0:00:41.452 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736175983.2596333, "block_size": 4096, "blocks": 0, "ctime": 1736175983.2596333, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31661, "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": 1736175983.2596333, "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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:06:30 -0500 (0:00:00.399) 0:00:41.852 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:06:30 -0500 (0:00:00.078) 0:00:41.930 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:06:31 -0500 (0:00:00.106) 0:00:42.036 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:06:31 -0500 (0:00:00.058) 0:00:42.095 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:06:31 -0500 (0:00:00.411) 0:00:42.506 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:06:31 -0500 (0:00:00.062) 0:00:42.569 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019272", "end": "2025-01-06 10:06:31.971287", "rc": 0, "start": "2025-01-06 10:06:31.952015" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:06:32 -0500 (0:00:00.406) 0:00:42.975 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:06:32 -0500 (0:00:00.034) 0:00:43.010 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:06:32 -0500 (0:00:00.030) 0:00:43.040 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:06:32 -0500 (0:00:00.029) 0:00:43.070 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:06:32 -0500 (0:00:00.029) 0:00:43.099 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:06:32 -0500 (0:00:00.029) 0:00:43.129 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:06:32 -0500 (0:00:00.032) 0:00:43.161 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:06:32 -0500 (0:00:00.032) 0:00:43.193 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:06:32 -0500 (0:00:00.050) 0:00:43.244 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:06:32 -0500 (0:00:00.159) 0:00:43.404 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:06:32 -0500 (0:00:00.054) 0:00:43.459 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:06:32 -0500 (0:00:00.068) 0:00:43.528 ******** 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.062539", "end": "2025-01-06 10:06:32.950103", "rc": 1, "start": "2025-01-06 10:06:32.887564" } STDOUT: Connection 'statebr' (48182a75-91e6-4cb6-b977-ab00b3323159) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 06 January 2025 10:06:33 -0500 (0:00:00.420) 0:00:43.948 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:06:33 -0500 (0:00:00.055) 0:00:44.003 ******** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:06:33 -0500 (0:00:00.035) 0:00:44.038 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:06:33 -0500 (0:00:00.085) 0:00:44.124 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:06:33 -0500 (0:00:00.045) 0:00:44.169 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:06:33 -0500 (0:00:00.049) 0:00:44.219 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003503", "end": "2025-01-06 10:06:33.634392", "rc": 0, "start": "2025-01-06 10:06:33.630889" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:06:33 -0500 (0:00:00.477) 0:00:44.696 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:06:33 -0500 (0:00:00.084) 0:00:44.781 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:06:33 -0500 (0:00:00.061) 0:00:44.842 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:06:34 -0500 (0:00:00.090) 0:00:44.933 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:34 -0500 (0:00:00.134) 0:00:45.067 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:34 -0500 (0:00:00.100) 0:00:45.168 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:34 -0500 (0:00:00.084) 0:00:45.252 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:34 -0500 (0:00:00.056) 0:00:45.309 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:34 -0500 (0:00:00.078) 0:00:45.388 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:36 -0500 (0:00:02.056) 0:00:47.444 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:37 -0500 (0:00:00.782) 0:00:48.227 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:37 -0500 (0:00:00.033) 0:00:48.260 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:37 -0500 (0:00:00.027) 0:00:48.288 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:37 -0500 (0:00:00.028) 0:00:48.317 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:37 -0500 (0:00:00.061) 0:00:48.378 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:37 -0500 (0:00:00.156) 0:00:48.535 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:37 -0500 (0:00:00.139) 0:00:48.674 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:37 -0500 (0:00:00.141) 0:00:48.816 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:38 -0500 (0:00:00.250) 0:00:49.066 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:38 -0500 (0:00:00.052) 0:00:49.118 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:38 -0500 (0:00:00.050) 0:00:49.168 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:38 -0500 (0:00:00.101) 0:00:49.270 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:39 -0500 (0:00:00.739) 0:00:50.009 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:39 -0500 (0:00:00.097) 0:00:50.107 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:39 -0500 (0:00:00.038) 0:00:50.145 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:39 -0500 (0:00:00.034) 0:00:50.180 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:39 -0500 (0:00:00.615) 0:00:50.796 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:39 -0500 (0:00:00.051) 0:00:50.847 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:39 -0500 (0:00:00.057) 0:00:50.905 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:40 -0500 (0:00:00.060) 0:00:50.965 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:40 -0500 (0:00:00.046) 0:00:51.012 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:06:40 -0500 (0:00:00.415) 0:00:51.427 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:06:40 -0500 (0:00:00.075) 0:00:51.503 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:40 -0500 (0:00:00.116) 0:00:51.619 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:40 -0500 (0:00:00.126) 0:00:51.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:40 -0500 (0:00:00.056) 0:00:51.801 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:40 -0500 (0:00:00.035) 0:00:51.836 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:40 -0500 (0:00:00.040) 0:00:51.877 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:42 -0500 (0:00:01.947) 0:00:53.825 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:43 -0500 (0:00:00.758) 0:00:54.584 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:43 -0500 (0:00:00.032) 0:00:54.616 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:43 -0500 (0:00:00.028) 0:00:54.645 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:43 -0500 (0:00:00.029) 0:00:54.675 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:43 -0500 (0:00:00.055) 0:00:54.730 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:43 -0500 (0:00:00.078) 0:00:54.809 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:43 -0500 (0:00:00.049) 0:00:54.858 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:44 -0500 (0:00:00.085) 0:00:54.944 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:44 -0500 (0:00:00.136) 0:00:55.080 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:44 -0500 (0:00:00.047) 0:00:55.127 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:44 -0500 (0:00:00.095) 0:00:55.223 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:44 -0500 (0:00:00.092) 0:00:55.315 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:45 -0500 (0:00:00.743) 0:00:56.059 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:45 -0500 (0:00:00.111) 0:00:56.171 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:45 -0500 (0:00:00.045) 0:00:56.216 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:45 -0500 (0:00:00.033) 0:00:56.249 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:45 -0500 (0:00:00.589) 0:00:56.839 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:45 -0500 (0:00:00.046) 0:00:56.885 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:46 -0500 (0:00:00.050) 0:00:56.936 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f7b51f3-d453-4c09-8259-58004a33662c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:46 -0500 (0:00:00.041) 0:00:56.977 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:46 -0500 (0:00:00.032) 0:00:57.010 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:06:46 -0500 (0:00:00.426) 0:00:57.437 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 06 January 2025 10:06:46 -0500 (0:00:00.096) 0:00:57.533 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:46 -0500 (0:00:00.127) 0:00:57.660 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:46 -0500 (0:00:00.134) 0:00:57.795 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:46 -0500 (0:00:00.093) 0:00:57.888 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:47 -0500 (0:00:00.061) 0:00:57.950 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:47 -0500 (0:00:00.074) 0:00:58.025 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:49 -0500 (0:00:01.999) 0:01:00.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 : Print network provider] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:06:49 -0500 (0:00:00.794) 0:01:00.819 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:06:49 -0500 (0:00:00.033) 0:01:00.853 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:06:49 -0500 (0:00:00.028) 0:01:00.882 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:06:49 -0500 (0:00:00.029) 0:01:00.912 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:06:50 -0500 (0:00:00.057) 0:01:00.969 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:06:50 -0500 (0:00:00.057) 0:01:01.027 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:06:50 -0500 (0:00:00.048) 0:01:01.075 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:06:50 -0500 (0:00:00.093) 0:01:01.168 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:06:50 -0500 (0:00:00.139) 0:01:01.308 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:06:50 -0500 (0:00:00.037) 0:01:01.345 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:06:50 -0500 (0:00:00.031) 0:01:01.377 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:06:50 -0500 (0:00:00.095) 0:01:01.473 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:06:51 -0500 (0:00:00.577) 0:01:02.051 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:06:51 -0500 (0:00:00.060) 0:01:02.111 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:06:51 -0500 (0:00:00.037) 0:01:02.148 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:06:51 -0500 (0:00:00.073) 0:01:02.221 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:06:52 -0500 (0:00:00.724) 0:01:02.946 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:06:52 -0500 (0:00:00.051) 0:01:02.997 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:06:52 -0500 (0:00:00.060) 0:01:03.058 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:06:52 -0500 (0:00:00.038) 0:01:03.097 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:06:52 -0500 (0:00:00.043) 0:01:03.140 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:06:52 -0500 (0:00:00.403) 0:01:03.543 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:06:52 -0500 (0:00:00.059) 0:01:03.603 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:06:52 -0500 (0:00:00.046) 0:01:03.650 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736175999.7260053, "block_size": 4096, "blocks": 0, "ctime": 1736175999.7260053, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31786, "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": 1736175999.7260053, "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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:06:53 -0500 (0:00:00.389) 0:01:04.039 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:06:53 -0500 (0:00:00.057) 0:01:04.096 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:06:53 -0500 (0:00:00.165) 0:01:04.261 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:06:53 -0500 (0:00:00.062) 0:01:04.324 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:06:53 -0500 (0:00:00.370) 0:01:04.695 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:06:53 -0500 (0:00:00.032) 0:01:04.727 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020250", "end": "2025-01-06 10:06:54.131430", "rc": 1, "start": "2025-01-06 10:06:54.111180" } 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:06:54 -0500 (0:00:00.400) 0:01:05.128 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:06:54 -0500 (0:00:00.032) 0:01:05.161 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:06:54 -0500 (0:00:00.033) 0:01:05.194 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:06:54 -0500 (0:00:00.049) 0:01:05.243 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:06:54 -0500 (0:00:00.084) 0:01:05.327 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:06:54 -0500 (0:00:00.056) 0:01:05.384 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:06:54 -0500 (0:00:00.054) 0:01:05.438 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:06:54 -0500 (0:00:00.073) 0:01:05.512 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:06:54 -0500 (0:00:00.054) 0:01:05.566 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:06:54 -0500 (0:00:00.091) 0:01:05.657 ******** 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.056550", "end": "2025-01-06 10:06:55.112341", "rc": 0, "start": "2025-01-06 10:06:55.055791" } STDOUT: Connection 'statebr' (5f7b51f3-d453-4c09-8259-58004a33662c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 06 January 2025 10:06:55 -0500 (0:00:00.489) 0:01:06.147 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:06:55 -0500 (0:00:00.089) 0:01:06.237 ******** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:06:55 -0500 (0:00:00.056) 0:01:06.293 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:06:55 -0500 (0:00:00.241) 0:01:06.534 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:06:55 -0500 (0:00:00.086) 0:01:06.621 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:06:55 -0500 (0:00:00.083) 0:01:06.704 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003875", "end": "2025-01-06 10:06:56.096221", "rc": 0, "start": "2025-01-06 10:06:56.092346" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:06:56 -0500 (0:00:00.412) 0:01:07.116 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:06:56 -0500 (0:00:00.057) 0:01:07.174 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:06:56 -0500 (0:00:00.050) 0:01:07.225 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:06:56 -0500 (0:00:00.101) 0:01:07.326 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:06:56 -0500 (0:00:00.071) 0:01:07.398 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:06:56 -0500 (0:00:00.081) 0:01:07.479 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:06:56 -0500 (0:00:00.091) 0:01:07.571 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:06:56 -0500 (0:00:00.057) 0:01:07.628 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:06:56 -0500 (0:00:00.059) 0:01:07.687 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:06:59 -0500 (0:00:03.041) 0:01:10.729 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:00 -0500 (0:00:00.766) 0:01:11.496 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:00 -0500 (0:00:00.051) 0:01:11.547 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:00 -0500 (0:00:00.106) 0:01:11.654 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:00 -0500 (0:00:00.081) 0:01:11.735 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:00 -0500 (0:00:00.093) 0:01:11.830 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:01 -0500 (0:00:00.127) 0:01:11.958 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:01 -0500 (0:00:00.064) 0:01:12.022 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:01 -0500 (0:00:00.064) 0:01:12.087 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:01 -0500 (0:00:00.085) 0:01:12.172 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:01 -0500 (0:00:00.029) 0:01:12.202 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:01 -0500 (0:00:00.029) 0:01:12.231 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:01 -0500 (0:00:00.055) 0:01:12.287 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:01 -0500 (0:00:00.622) 0:01:12.910 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:02 -0500 (0:00:00.119) 0:01:13.029 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:02 -0500 (0:00:00.039) 0:01:13.069 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:02 -0500 (0:00:00.072) 0:01:13.141 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:02 -0500 (0:00:00.622) 0:01:13.763 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:02 -0500 (0:00:00.083) 0:01:13.847 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:02 -0500 (0:00:00.068) 0:01:13.915 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:03 -0500 (0:00:00.058) 0:01:13.973 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:03 -0500 (0:00:00.050) 0:01:14.024 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:07:03 -0500 (0:00:00.429) 0:01:14.453 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:07:03 -0500 (0:00:00.035) 0:01:14.488 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:03 -0500 (0:00:00.066) 0:01:14.555 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:03 -0500 (0:00:00.061) 0:01:14.616 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:03 -0500 (0:00:00.053) 0:01:14.670 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:03 -0500 (0:00:00.033) 0:01:14.704 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:03 -0500 (0:00:00.047) 0:01:14.751 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:05 -0500 (0:00:01.912) 0:01:16.664 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:06 -0500 (0:00:00.926) 0:01:17.590 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:06 -0500 (0:00:00.059) 0:01:17.650 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:06 -0500 (0:00:00.050) 0:01:17.700 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:06 -0500 (0:00:00.049) 0:01:17.749 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:06 -0500 (0:00:00.100) 0:01:17.849 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:07 -0500 (0:00:00.130) 0:01:17.980 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:07 -0500 (0:00:00.093) 0:01:18.073 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:07 -0500 (0:00:00.100) 0:01:18.174 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:07 -0500 (0:00:00.227) 0:01:18.402 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:07 -0500 (0:00:00.089) 0:01:18.492 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:07 -0500 (0:00:00.098) 0:01:18.590 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:07 -0500 (0:00:00.127) 0:01:18.718 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:08 -0500 (0:00:00.717) 0:01:19.435 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:08 -0500 (0:00:00.108) 0:01:19.543 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:08 -0500 (0:00:00.052) 0:01:19.596 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:08 -0500 (0:00:00.038) 0:01:19.635 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:09 -0500 (0:00:00.699) 0:01:20.335 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:09 -0500 (0:00:00.029) 0:01:20.365 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:09 -0500 (0:00:00.071) 0:01:20.436 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f3d2ec2a-73fb-4b6e-9e63-95246f053c0f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:09 -0500 (0:00:00.035) 0:01:20.472 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:09 -0500 (0:00:00.029) 0:01:20.501 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 06 January 2025 10:07:09 -0500 (0:00:00.382) 0:01:20.884 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:10 -0500 (0:00:00.083) 0:01:20.967 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:10 -0500 (0:00:00.066) 0:01:21.033 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:10 -0500 (0:00:00.054) 0:01:21.088 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:10 -0500 (0:00:00.033) 0:01:21.122 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:10 -0500 (0:00:00.034) 0:01:21.156 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:12 -0500 (0:00:01.879) 0:01:23.036 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:12 -0500 (0:00:00.792) 0:01:23.829 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:12 -0500 (0:00:00.036) 0:01:23.865 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:13 -0500 (0:00:00.067) 0:01:23.933 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:13 -0500 (0:00:00.030) 0:01:23.963 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:13 -0500 (0:00:00.061) 0:01:24.025 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:13 -0500 (0:00:00.067) 0:01:24.092 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:13 -0500 (0:00:00.050) 0:01:24.143 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:13 -0500 (0:00:00.056) 0:01:24.200 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:13 -0500 (0:00:00.083) 0:01:24.283 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:13 -0500 (0:00:00.030) 0:01:24.313 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:13 -0500 (0:00:00.029) 0:01:24.343 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:13 -0500 (0:00:00.059) 0:01:24.402 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:14 -0500 (0:00:00.619) 0:01:25.021 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:14 -0500 (0:00:00.056) 0:01:25.078 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:14 -0500 (0:00:00.036) 0:01:25.115 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:14 -0500 (0:00:00.029) 0:01:25.144 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:14 -0500 (0:00:00.600) 0:01:25.744 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:14 -0500 (0:00:00.031) 0:01:25.775 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:14 -0500 (0:00:00.032) 0:01:25.808 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:14 -0500 (0:00:00.045) 0:01:25.854 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:14 -0500 (0:00:00.049) 0:01:25.903 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:07:15 -0500 (0:00:00.433) 0:01:26.336 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:07:15 -0500 (0:00:00.056) 0:01:26.393 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:15 -0500 (0:00:00.063) 0:01:26.456 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:15 -0500 (0:00:00.059) 0:01:26.515 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:15 -0500 (0:00:00.070) 0:01:26.586 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:15 -0500 (0:00:00.052) 0:01:26.638 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:15 -0500 (0:00:00.057) 0:01:26.696 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:17 -0500 (0:00:01.896) 0:01:28.593 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:18 -0500 (0:00:00.751) 0:01:29.344 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:18 -0500 (0:00:00.032) 0:01:29.377 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:18 -0500 (0:00:00.029) 0:01:29.407 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:18 -0500 (0:00:00.063) 0:01:29.471 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:18 -0500 (0:00:00.057) 0:01:29.528 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:18 -0500 (0:00:00.062) 0:01:29.591 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:18 -0500 (0:00:00.047) 0:01:29.639 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:18 -0500 (0:00:00.058) 0:01:29.697 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:18 -0500 (0:00:00.081) 0:01:29.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:18 -0500 (0:00:00.029) 0:01:29.809 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:18 -0500 (0:00:00.029) 0:01:29.838 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:18 -0500 (0:00:00.054) 0:01:29.893 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:19 -0500 (0:00:00.588) 0:01:30.481 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:19 -0500 (0:00:00.059) 0:01:30.540 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:19 -0500 (0:00:00.029) 0:01:30.570 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:19 -0500 (0:00:00.029) 0:01:30.599 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:20 -0500 (0:00:00.633) 0:01:31.233 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:20 -0500 (0:00:00.030) 0:01:31.264 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:20 -0500 (0:00:00.032) 0:01:31.296 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:20 -0500 (0:00:00.034) 0:01:31.331 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:20 -0500 (0:00:00.029) 0:01:31.361 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:07:20 -0500 (0:00:00.407) 0:01:31.768 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:07:20 -0500 (0:00:00.056) 0:01:31.824 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:07:20 -0500 (0:00:00.052) 0:01:31.876 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:07:20 -0500 (0:00:00.031) 0:01:31.908 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:07:21 -0500 (0:00:00.350) 0:01:32.258 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:07:21 -0500 (0:00:00.030) 0:01:32.289 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017972", "end": "2025-01-06 10:07:21.661813", "rc": 1, "start": "2025-01-06 10:07:21.643841" } 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:07:21 -0500 (0:00:00.368) 0:01:32.657 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:07:21 -0500 (0:00:00.030) 0:01:32.688 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:07:21 -0500 (0:00:00.030) 0:01:32.718 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:07:21 -0500 (0:00:00.028) 0:01:32.747 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:07:21 -0500 (0:00:00.029) 0:01:32.777 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:07:21 -0500 (0:00:00.028) 0:01:32.805 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:07:21 -0500 (0:00:00.032) 0:01:32.838 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:07:21 -0500 (0:00:00.073) 0:01:32.911 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:07:22 -0500 (0:00:00.046) 0:01:32.958 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:07:22 -0500 (0:00:00.391) 0:01:33.349 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:07:22 -0500 (0:00:00.035) 0:01:33.385 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:07:22 -0500 (0:00:00.031) 0:01:33.417 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:07:22 -0500 (0:00:00.054) 0:01:33.472 ******** 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.036255", "end": "2025-01-06 10:07:22.863094", "rc": 1, "start": "2025-01-06 10:07:22.826839" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 06 January 2025 10:07:22 -0500 (0:00:00.388) 0:01:33.860 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:07:22 -0500 (0:00:00.052) 0:01:33.912 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:07:23 -0500 (0:00:00.034) 0:01:33.946 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:07:23 -0500 (0:00:00.063) 0:01:34.010 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:07:23 -0500 (0:00:00.048) 0:01:34.058 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:07:23 -0500 (0:00:00.046) 0:01:34.105 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003990", "end": "2025-01-06 10:07:23.470068", "rc": 0, "start": "2025-01-06 10:07:23.466078" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:07:23 -0500 (0:00:00.361) 0:01:34.467 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:07:23 -0500 (0:00:00.034) 0:01:34.502 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:07:23 -0500 (0:00:00.031) 0:01:34.533 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:07:23 -0500 (0:00:00.096) 0:01:34.630 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:23 -0500 (0:00:00.066) 0:01:34.697 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:23 -0500 (0:00:00.060) 0:01:34.757 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:23 -0500 (0:00:00.054) 0:01:34.812 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:23 -0500 (0:00:00.033) 0:01:34.845 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:23 -0500 (0:00:00.033) 0:01:34.879 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:25 -0500 (0:00:01.851) 0:01:36.731 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:26 -0500 (0:00:00.735) 0:01:37.466 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:26 -0500 (0:00:00.032) 0:01:37.499 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:26 -0500 (0:00:00.029) 0:01:37.528 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:26 -0500 (0:00:00.029) 0:01:37.557 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:26 -0500 (0:00:00.057) 0:01:37.615 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:26 -0500 (0:00:00.060) 0:01:37.676 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:26 -0500 (0:00:00.047) 0:01:37.723 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:26 -0500 (0:00:00.142) 0:01:37.865 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:27 -0500 (0:00:00.084) 0:01:37.950 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:27 -0500 (0:00:00.030) 0:01:37.980 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:27 -0500 (0:00:00.030) 0:01:38.011 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:27 -0500 (0:00:00.056) 0:01:38.068 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:27 -0500 (0:00:00.584) 0:01:38.652 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:27 -0500 (0:00:00.058) 0:01:38.710 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:27 -0500 (0:00:00.029) 0:01:38.740 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:27 -0500 (0:00:00.029) 0:01:38.769 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:28 -0500 (0:00:00.581) 0:01:39.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:28 -0500 (0:00:00.031) 0:01:39.383 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:28 -0500 (0:00:00.032) 0:01:39.415 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:28 -0500 (0:00:00.034) 0:01:39.449 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:28 -0500 (0:00:00.029) 0:01:39.479 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:07:28 -0500 (0:00:00.366) 0:01:39.845 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:07:28 -0500 (0:00:00.033) 0:01:39.879 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:29 -0500 (0:00:00.101) 0:01:39.981 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:29 -0500 (0:00:00.059) 0:01:40.040 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:29 -0500 (0:00:00.055) 0:01:40.095 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:29 -0500 (0:00:00.033) 0:01:40.129 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:29 -0500 (0:00:00.033) 0:01:40.163 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:31 -0500 (0:00:01.839) 0:01:42.002 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:31 -0500 (0:00:00.738) 0:01:42.741 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:31 -0500 (0:00:00.033) 0:01:42.774 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:31 -0500 (0:00:00.030) 0:01:42.805 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:31 -0500 (0:00:00.028) 0:01:42.833 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:31 -0500 (0:00:00.059) 0:01:42.893 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:32 -0500 (0:00:00.057) 0:01:42.951 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:32 -0500 (0:00:00.050) 0:01:43.001 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:32 -0500 (0:00:00.056) 0:01:43.058 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:32 -0500 (0:00:00.082) 0:01:43.140 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:32 -0500 (0:00:00.068) 0:01:43.208 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:32 -0500 (0:00:00.030) 0:01:43.239 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:32 -0500 (0:00:00.066) 0:01:43.305 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:32 -0500 (0:00:00.582) 0:01:43.888 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:33 -0500 (0:00:00.057) 0:01:43.945 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:33 -0500 (0:00:00.031) 0:01:43.976 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:33 -0500 (0:00:00.028) 0:01:44.005 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:33 -0500 (0:00:00.549) 0:01:44.554 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:33 -0500 (0:00:00.031) 0:01:44.585 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:33 -0500 (0:00:00.032) 0:01:44.618 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01aa6fac-2f93-4233-9f6e-26ca5ecaf502 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:33 -0500 (0:00:00.033) 0:01:44.652 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:33 -0500 (0:00:00.028) 0:01:44.680 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:07:34 -0500 (0:00:00.378) 0:01:45.058 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:34 -0500 (0:00:00.065) 0:01:45.124 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:34 -0500 (0:00:00.058) 0:01:45.182 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:34 -0500 (0:00:00.090) 0:01:45.273 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:34 -0500 (0:00:00.035) 0:01:45.308 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:34 -0500 (0:00:00.041) 0:01:45.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 : Check which packages are installed] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:36 -0500 (0:00:01.895) 0:01:47.245 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:37 -0500 (0:00:00.741) 0:01:47.986 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:37 -0500 (0:00:00.033) 0:01:48.020 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:37 -0500 (0:00:00.029) 0:01:48.050 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:37 -0500 (0:00:00.028) 0:01:48.078 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:37 -0500 (0:00:00.060) 0:01:48.138 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:37 -0500 (0:00:00.058) 0:01:48.197 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:37 -0500 (0:00:00.046) 0:01:48.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:37 -0500 (0:00:00.057) 0:01:48.300 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:37 -0500 (0:00:00.087) 0:01:48.387 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:37 -0500 (0:00:00.030) 0:01:48.418 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:37 -0500 (0:00:00.028) 0:01:48.447 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:37 -0500 (0:00:00.059) 0:01:48.506 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:38 -0500 (0:00:00.662) 0:01:49.169 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:38 -0500 (0:00:00.058) 0:01:49.228 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:38 -0500 (0:00:00.031) 0:01:49.259 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:38 -0500 (0:00:00.029) 0:01:49.288 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:38 -0500 (0:00:00.627) 0:01:49.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:39 -0500 (0:00:00.031) 0:01:49.948 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:39 -0500 (0:00:00.033) 0:01:49.982 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:39 -0500 (0:00:00.035) 0:01:50.018 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:39 -0500 (0:00:00.028) 0:01:50.047 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:07:39 -0500 (0:00:00.370) 0:01:50.417 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:07:39 -0500 (0:00:00.053) 0:01:50.470 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:07:39 -0500 (0:00:00.064) 0:01:50.534 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:07:39 -0500 (0:00:00.058) 0:01:50.593 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:07:39 -0500 (0:00:00.053) 0:01:50.647 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:07:39 -0500 (0:00:00.035) 0:01:50.682 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:07:39 -0500 (0:00:00.071) 0:01:50.753 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:07:41 -0500 (0:00:01.914) 0:01:52.668 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:07:42 -0500 (0:00:00.745) 0:01:53.413 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:07:42 -0500 (0:00:00.039) 0:01:53.453 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:07:42 -0500 (0:00:00.030) 0:01:53.484 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:07:42 -0500 (0:00:00.029) 0:01:53.514 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:07:42 -0500 (0:00:00.058) 0:01:53.572 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:07:42 -0500 (0:00:00.061) 0:01:53.633 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:07:42 -0500 (0:00:00.047) 0:01:53.680 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:07:42 -0500 (0:00:00.059) 0:01:53.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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:07:42 -0500 (0:00:00.083) 0:01:53.824 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:07:42 -0500 (0:00:00.033) 0:01:53.857 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:07:42 -0500 (0:00:00.046) 0:01:53.903 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:07:43 -0500 (0:00:00.075) 0:01:53.979 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:07:43 -0500 (0:00:00.583) 0:01:54.563 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:07:43 -0500 (0:00:00.061) 0:01:54.625 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:07:43 -0500 (0:00:00.094) 0:01:54.720 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:07:43 -0500 (0:00:00.034) 0:01:54.754 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:07:44 -0500 (0:00:00.611) 0:01:55.366 ******** 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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:07:44 -0500 (0:00:00.035) 0:01:55.402 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:07:44 -0500 (0:00:00.055) 0:01:55.458 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:07:44 -0500 (0:00:00.041) 0:01:55.499 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:07:44 -0500 (0:00:00.035) 0:01:55.535 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:07:44 -0500 (0:00:00.373) 0:01:55.909 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:07:45 -0500 (0:00:00.062) 0:01:55.971 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:07:45 -0500 (0:00:00.053) 0:01:56.025 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:07:45 -0500 (0:00:00.030) 0:01:56.056 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:07:45 -0500 (0:00:00.356) 0:01:56.413 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:07:45 -0500 (0:00:00.030) 0:01:56.443 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017886", "end": "2025-01-06 10:07:45.822338", "rc": 1, "start": "2025-01-06 10:07:45.804452" } 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:07:45 -0500 (0:00:00.376) 0:01:56.820 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:07:45 -0500 (0:00:00.030) 0:01:56.851 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:07:45 -0500 (0:00:00.071) 0:01:56.922 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:07:46 -0500 (0:00:00.031) 0:01:56.953 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:07:46 -0500 (0:00:00.030) 0:01:56.984 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:07:46 -0500 (0:00:00.029) 0:01:57.014 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 06 January 2025 10:07:46 -0500 (0:00:00.033) 0:01:57.048 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.182389", "end": "2025-01-06 10:07:46.593075", "rc": 0, "start": "2025-01-06 10:07:46.410686" } STDOUT: NetworkManager-1.51.5-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 06 January 2025 10:07:46 -0500 (0:00:00.544) 0:01:57.592 ******** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.5-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 06 January 2025 10:07:46 -0500 (0:00:00.033) 0:01:57.626 ******** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.5-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:07:46 -0500 (0:00:00.034) 0:01:57.661 ******** included: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:07:46 -0500 (0:00:00.076) 0:01:57.737 ******** included: /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:07:46 -0500 (0:00:00.047) 0:01:57.785 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:07:47 -0500 (0:00:00.356) 0:01:58.141 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:07:47 -0500 (0:00:00.034) 0:01:58.175 ******** 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:07:47 -0500 (0:00:00.033) 0:01:58.208 ******** included: /tmp/collections-2en/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-2en/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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:07:47 -0500 (0:00:00.061) 0:01:58.270 ******** 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.038788", "end": "2025-01-06 10:07:47.671244", "rc": 1, "start": "2025-01-06 10:07:47.632456" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 06 January 2025 10:07:47 -0500 (0:00:00.399) 0:01:58.669 ******** 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.008968", "end": "2025-01-06 10:07:48.041224", "rc": 0, "start": "2025-01-06 10:07:48.032256" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:72:bc:a0:96:37 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.206/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3041sec preferred_lft 3041sec inet6 fe80::72:bcff:fea0:9637/64 scope link noprefixroute valid_lft forever preferred_lft forever 30: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 5e:d4:98:17:6b:14 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.44.1 dev eth0 proto dhcp src 10.31.46.206 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.206 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium 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-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 06 January 2025 10:07:48 -0500 (0:00:00.369) 0:01:59.038 ******** 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.262011", "end": "2025-01-06 10:07:48.664008", "rc": 0, "start": "2025-01-06 10:07:48.401997" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 1379 0 --:--:-- --:--:-- --:--:-- 1386 % 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 16705 0 --:--:-- --:--:-- --:--:-- 17117 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Monday 06 January 2025 10:07:48 -0500 (0:00:00.605) 0:01:59.644 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.04s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.06s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-2en/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-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.44s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.03s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/collections-2en/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26