[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.4] 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-F8I executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-F8I/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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 21 September 2024 08:44:17 -0400 (0:00:00.039) 0:00:00.039 **** [WARNING]: Platform linux on host managed_node1 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_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 21 September 2024 08:44:19 -0400 (0:00:01.255) 0:00:01.295 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 September 2024 08:44:19 -0400 (0:00:00.018) 0:00:01.313 **** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 September 2024 08:44:19 -0400 (0:00:00.550) 0:00:01.863 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.506) 0:00:02.370 **** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.036) 0:00:02.406 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.021) 0:00:02.428 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.067) 0:00:02.495 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.031) 0:00:02.527 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.018) 0:00:02.545 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.019) 0:00:02.565 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.014) 0:00:02.579 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.018) 0:00:02.598 **** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 September 2024 08:44:20 -0400 (0:00:00.029) 0:00:02.628 **** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.855) 0:00:03.484 **** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.017) 0:00:03.501 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.026) 0:00:03.527 **** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.019) 0:00:03.547 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.070) 0:00:03.618 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.029) 0:00:03.647 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.022) 0:00:03.670 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-09-21 08:44:21.839138", "rc": 0, "start": "2024-09-21 08:44:21.835798" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.460) 0:00:04.131 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:44:21 -0400 (0:00:00.059) 0:00:04.191 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.052) 0:00:04.243 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.110) 0:00:04.354 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007564", "end": "2024-09-21 08:44:22.535990", "rc": 1, "start": "2024-09-21 08:44:22.528426" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.448) 0:00:04.802 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.019) 0:00:04.821 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.349) 0:00:05.171 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:44:22 -0400 (0:00:00.023) 0:00:05.195 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.030) 0:00:05.225 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.046) 0:00:05.272 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.031) 0:00:05.303 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.035) 0:00:05.339 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.019) 0:00:05.359 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:44:23 -0400 (0:00:00.019) 0:00:05.378 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:44:25 -0400 (0:00:02.038) 0:00:07.416 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:44:26 -0400 (0:00:01.081) 0:00:08.498 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.050) 0:00:08.548 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.029) 0:00:08.578 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.029) 0:00:08.608 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.066) 0:00:08.675 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.084) 0:00:08.759 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.088) 0:00:08.848 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.161) 0:00:09.010 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:44:26 -0400 (0:00:00.178) 0:00:09.188 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:44:27 -0400 (0:00:00.143) 0:00:09.332 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:44:27 -0400 (0:00:00.051) 0:00:09.383 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:44:27 -0400 (0:00:00.131) 0:00:09.514 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:44:28 -0400 (0:00:00.978) 0:00:10.492 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:44:28 -0400 (0:00:00.066) 0:00:10.559 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:44:28 -0400 (0:00:00.029) 0:00:10.588 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:44:28 -0400 (0:00:00.029) 0:00:10.617 **** changed: [managed_node1] => { "_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, 4deccb17-eac4-44e1-baae-654732ba455a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:44:29 -0400 (0:00:00.926) 0:00:11.544 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:44:29 -0400 (0:00:00.029) 0:00:11.574 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4deccb17-eac4-44e1-baae-654732ba455a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:44:29 -0400 (0:00:00.031) 0:00:11.606 **** ok: [managed_node1] => { "__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, 4deccb17-eac4-44e1-baae-654732ba455a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4deccb17-eac4-44e1-baae-654732ba455a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:44:29 -0400 (0:00:00.033) 0:00:11.639 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:44:29 -0400 (0:00:00.030) 0:00:11.670 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.558) 0:00:12.229 **** ok: [managed_node1] => { "__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, 4deccb17-eac4-44e1-baae-654732ba455a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4deccb17-eac4-44e1-baae-654732ba455a" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.045) 0:00:12.275 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.088) 0:00:12.363 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.142) 0:00:12.505 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.061) 0:00:12.567 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.411) 0:00:12.978 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:44:30 -0400 (0:00:00.031) 0:00:13.010 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017957", "end": "2024-09-21 08:44:31.115170", "rc": 0, "start": "2024-09-21 08:44:31.097213" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.395) 0:00:13.405 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.058) 0:00:13.464 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.050) 0:00:13.515 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.051) 0:00:13.566 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.059) 0:00:13.626 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.070) 0:00:13.697 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.062) 0:00:13.759 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.101) 0:00:13.861 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.057) 0:00:13.919 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.128) 0:00:14.047 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:44:31 -0400 (0:00:00.087) 0:00:14.135 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922669.2100677, "block_size": 4096, "blocks": 0, "ctime": 1726922669.2100677, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30949, "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": 1726922669.2100677, "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.409) 0:00:14.544 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.033) 0:00:14.577 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.065) 0:00:14.643 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.056) 0:00:14.700 **** fatal: [managed_node1]: 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.056864", "end": "2024-09-21 08:44:32.834428", "rc": 1, "start": "2024-09-21 08:44:32.777564" } STDOUT: Connection 'statebr' (4deccb17-eac4-44e1-baae-654732ba455a) 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.416) 0:00:15.117 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:44:32 -0400 (0:00:00.073) 0:00:15.190 **** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.055) 0:00:15.245 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.104) 0:00:15.350 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.084) 0:00:15.434 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.084) 0:00:15.518 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2024-09-21 08:44:33.618878", "rc": 0, "start": "2024-09-21 08:44:33.615574" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.389) 0:00:15.908 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.043) 0:00:15.951 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.033) 0:00:15.984 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:44:33 -0400 (0:00:00.079) 0:00:16.064 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006344", "end": "2024-09-21 08:44:34.167006", "rc": 1, "start": "2024-09-21 08:44:34.160662" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.381) 0:00:16.446 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.076) 0:00:16.523 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.383) 0:00:16.907 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.083) 0:00:16.990 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.105) 0:00:17.095 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:44:34 -0400 (0:00:00.109) 0:00:17.205 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:44:35 -0400 (0:00:00.141) 0:00:17.346 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:44:35 -0400 (0:00:00.107) 0:00:17.453 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:44:35 -0400 (0:00:00.071) 0:00:17.524 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:44:35 -0400 (0:00:00.073) 0:00:17.598 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:44:37 -0400 (0:00:01.987) 0:00:19.585 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.788) 0:00:20.374 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.103) 0:00:20.477 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.053) 0:00:20.530 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.053) 0:00:20.584 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.092) 0:00:20.677 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.072) 0:00:20.749 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.062) 0:00:20.812 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.058) 0:00:20.870 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.093) 0:00:20.964 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.060) 0:00:21.024 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.052) 0:00:21.077 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:44:38 -0400 (0:00:00.131) 0:00:21.208 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:44:39 -0400 (0:00:00.675) 0:00:21.884 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:44:39 -0400 (0:00:00.083) 0:00:21.967 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:44:39 -0400 (0:00:00.033) 0:00:22.001 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:44:39 -0400 (0:00:00.035) 0:00:22.036 **** changed: [managed_node1] => { "_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, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:44:40 -0400 (0:00:00.581) 0:00:22.618 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:44:40 -0400 (0:00:00.067) 0:00:22.686 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:44:40 -0400 (0:00:00.079) 0:00:22.765 **** ok: [managed_node1] => { "__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, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:44:40 -0400 (0:00:00.069) 0:00:22.835 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:44:40 -0400 (0:00:00.098) 0:00:22.933 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.424) 0:00:23.357 **** ok: [managed_node1] => { "__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, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2e29e83-5daf-4b4d-9ba7-23c55b5199f7" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.040) 0:00:23.397 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.107) 0:00:23.505 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.132) 0:00:23.638 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.450) 0:00:24.089 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:44:41 -0400 (0:00:00.067) 0:00:24.156 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.066) 0:00:24.223 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.038) 0:00:24.262 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.380) 0:00:24.643 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.030) 0:00:24.674 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016778", "end": "2024-09-21 08:44:42.786705", "rc": 0, "start": "2024-09-21 08:44:42.769927" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.396) 0:00:25.070 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.033) 0:00:25.103 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.037) 0:00:25.141 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:44:42 -0400 (0:00:00.030) 0:00:25.171 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.066) 0:00:25.238 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.032) 0:00:25.270 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.045) 0:00:25.316 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.103) 0:00:25.420 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.104) 0:00:25.524 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.159) 0:00:25.684 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.106) 0:00:25.791 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:44:43 -0400 (0:00:00.126) 0:00:25.917 **** fatal: [managed_node1]: 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.032959", "end": "2024-09-21 08:44:44.065257", "rc": 1, "start": "2024-09-21 08:44:44.032298" } STDOUT: Connection 'statebr' (d2e29e83-5daf-4b4d-9ba7-23c55b5199f7) 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.448) 0:00:26.365 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.102) 0:00:26.467 **** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.038) 0:00:26.506 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.072) 0:00:26.578 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.063) 0:00:26.642 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.049) 0:00:26.692 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-09-21 08:44:44.772675", "rc": 0, "start": "2024-09-21 08:44:44.769433" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.391) 0:00:27.083 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.032) 0:00:27.115 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.033) 0:00:27.149 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:44:44 -0400 (0:00:00.050) 0:00:27.199 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:44:45 -0400 (0:00:00.066) 0:00:27.265 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:44:45 -0400 (0:00:00.064) 0:00:27.330 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:44:45 -0400 (0:00:00.096) 0:00:27.427 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:44:45 -0400 (0:00:00.071) 0:00:27.498 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:44:45 -0400 (0:00:00.075) 0:00:27.574 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:44:47 -0400 (0:00:01.935) 0:00:29.509 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.873) 0:00:30.382 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.094) 0:00:30.476 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.151) 0:00:30.627 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.073) 0:00:30.701 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.110) 0:00:30.811 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.094) 0:00:30.906 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.066) 0:00:30.972 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.058) 0:00:31.031 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.089) 0:00:31.121 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.031) 0:00:31.152 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:44:48 -0400 (0:00:00.030) 0:00:31.182 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:44:49 -0400 (0:00:00.067) 0:00:31.250 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:44:49 -0400 (0:00:00.602) 0:00:31.853 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:44:49 -0400 (0:00:00.090) 0:00:31.944 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:44:49 -0400 (0:00:00.050) 0:00:31.994 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:44:49 -0400 (0:00:00.048) 0:00:32.043 **** changed: [managed_node1] => { "_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, 30b1c356-99be-4dcf-8f96-21aa93b77de7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:44:50 -0400 (0:00:00.619) 0:00:32.662 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:44:50 -0400 (0:00:00.033) 0:00:32.696 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30b1c356-99be-4dcf-8f96-21aa93b77de7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:44:50 -0400 (0:00:00.034) 0:00:32.731 **** ok: [managed_node1] => { "__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, 30b1c356-99be-4dcf-8f96-21aa93b77de7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30b1c356-99be-4dcf-8f96-21aa93b77de7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:44:50 -0400 (0:00:00.035) 0:00:32.767 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:44:50 -0400 (0:00:00.029) 0:00:32.797 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.451) 0:00:33.248 **** ok: [managed_node1] => { "__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, 30b1c356-99be-4dcf-8f96-21aa93b77de7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30b1c356-99be-4dcf-8f96-21aa93b77de7" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.059) 0:00:33.308 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.087) 0:00:33.395 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.090) 0:00:33.485 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.141) 0:00:33.627 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.092) 0:00:33.720 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.062) 0:00:33.782 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:44:51 -0400 (0:00:00.060) 0:00:33.842 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:44:53 -0400 (0:00:01.929) 0:00:35.772 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.768) 0:00:36.540 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.060) 0:00:36.601 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.124) 0:00:36.725 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.035) 0:00:36.761 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.073) 0:00:36.835 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.063) 0:00:36.899 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.073) 0:00:36.972 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.090) 0:00:37.063 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:44:54 -0400 (0:00:00.130) 0:00:37.194 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:44:55 -0400 (0:00:00.053) 0:00:37.247 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:44:55 -0400 (0:00:00.058) 0:00:37.306 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:44:55 -0400 (0:00:00.116) 0:00:37.423 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:44:55 -0400 (0:00:00.690) 0:00:38.114 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.118) 0:00:38.232 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.057) 0:00:38.290 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.051) 0:00:38.341 **** ok: [managed_node1] => { "_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, 30b1c356-99be-4dcf-8f96-21aa93b77de7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.624) 0:00:38.966 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.083) 0:00:39.049 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30b1c356-99be-4dcf-8f96-21aa93b77de7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.061) 0:00:39.111 **** ok: [managed_node1] => { "__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, 30b1c356-99be-4dcf-8f96-21aa93b77de7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30b1c356-99be-4dcf-8f96-21aa93b77de7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:44:56 -0400 (0:00:00.062) 0:00:39.174 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:44:57 -0400 (0:00:00.096) 0:00:39.270 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:44:57 -0400 (0:00:00.628) 0:00:39.899 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:44:57 -0400 (0:00:00.159) 0:00:40.059 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:44:57 -0400 (0:00:00.081) 0:00:40.140 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922690.3325539, "block_size": 4096, "blocks": 0, "ctime": 1726922690.3325539, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31074, "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": 1726922690.3325539, "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:44:58 -0400 (0:00:00.418) 0:00:40.559 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:44:58 -0400 (0:00:00.059) 0:00:40.618 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:44:58 -0400 (0:00:00.101) 0:00:40.720 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:44:58 -0400 (0:00:00.054) 0:00:40.774 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.453) 0:00:41.228 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.068) 0:00:41.297 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017095", "end": "2024-09-21 08:44:59.453464", "rc": 0, "start": "2024-09-21 08:44:59.436369" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.460) 0:00:41.758 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.071) 0:00:41.829 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.060) 0:00:41.889 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.051) 0:00:41.941 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.051) 0:00:41.992 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.047) 0:00:42.040 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.105) 0:00:42.145 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.074) 0:00:42.220 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.056) 0:00:42.276 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.059) 0:00:42.336 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.038) 0:00:42.375 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.058) 0:00:42.433 **** ok: [managed_node1] => { "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.050699", "end": "2024-09-21 08:45:00.578482", "rc": 0, "start": "2024-09-21 08:45:00.527783" } STDOUT: Connection 'statebr' (30b1c356-99be-4dcf-8f96-21aa93b77de7) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.436) 0:00:42.870 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.075) 0:00:42.945 **** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.113) 0:00:43.059 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.146) 0:00:43.206 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.072) 0:00:43.278 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.056) 0:00:43.335 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003556", "end": "2024-09-21 08:45:01.427329", "rc": 0, "start": "2024-09-21 08:45:01.423773" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.411) 0:00:43.746 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.100) 0:00:43.847 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.132) 0:00:43.979 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.089) 0:00:44.069 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.078) 0:00:44.147 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.074) 0:00:44.222 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.091) 0:00:44.314 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.063) 0:00:44.378 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.059) 0:00:44.438 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:04 -0400 (0:00:01.883) 0:00:46.321 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:04 -0400 (0:00:00.749) 0:00:47.071 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:04 -0400 (0:00:00.047) 0:00:47.119 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:04 -0400 (0:00:00.045) 0:00:47.165 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:04 -0400 (0:00:00.047) 0:00:47.213 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.121) 0:00:47.334 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.080) 0:00:47.415 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.075) 0:00:47.491 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.079) 0:00:47.570 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.104) 0:00:47.674 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.033) 0:00:47.707 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.036) 0:00:47.744 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:05 -0400 (0:00:00.071) 0:00:47.815 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.587) 0:00:48.402 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.070) 0:00:48.472 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.057) 0:00:48.530 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.059) 0:00:48.590 **** changed: [managed_node1] => { "_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, 52bdea4a-e828-43fd-bc73-35011e558895 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.694) 0:00:49.284 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.052) 0:00:49.336 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52bdea4a-e828-43fd-bc73-35011e558895" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.044) 0:00:49.380 **** ok: [managed_node1] => { "__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, 52bdea4a-e828-43fd-bc73-35011e558895\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52bdea4a-e828-43fd-bc73-35011e558895" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.049) 0:00:49.430 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.053) 0:00:49.483 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.424) 0:00:49.907 **** ok: [managed_node1] => { "__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, 52bdea4a-e828-43fd-bc73-35011e558895\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52bdea4a-e828-43fd-bc73-35011e558895" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.079) 0:00:49.987 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.068) 0:00:50.056 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.064) 0:00:50.120 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.055) 0:00:50.176 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.041) 0:00:50.218 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.050) 0:00:50.268 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:09 -0400 (0:00:01.939) 0:00:52.207 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.798) 0:00:53.006 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.059) 0:00:53.065 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.061) 0:00:53.127 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.052) 0:00:53.179 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.109) 0:00:53.289 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.150) 0:00:53.439 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.174) 0:00:53.613 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.092) 0:00:53.705 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.143) 0:00:53.848 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.053) 0:00:53.902 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.047) 0:00:53.950 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.116) 0:00:54.066 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.719) 0:00:54.785 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.131) 0:00:54.917 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.068) 0:00:54.985 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.070) 0:00:55.056 **** ok: [managed_node1] => { "_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, 52bdea4a-e828-43fd-bc73-35011e558895 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.603) 0:00:55.659 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.031) 0:00:55.690 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52bdea4a-e828-43fd-bc73-35011e558895 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.037) 0:00:55.728 **** ok: [managed_node1] => { "__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, 52bdea4a-e828-43fd-bc73-35011e558895 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52bdea4a-e828-43fd-bc73-35011e558895 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.042) 0:00:55.770 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.049) 0:00:55.820 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.473) 0:00:56.294 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.097) 0:00:56.391 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.191) 0:00:56.583 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.061) 0:00:56.644 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.058) 0:00:56.703 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.044) 0:00:56.747 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.084) 0:00:56.832 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:16 -0400 (0:00:01.928) 0:00:58.760 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.843) 0:00:59.603 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.039) 0:00:59.643 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.038) 0:00:59.681 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.055) 0:00:59.737 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.074) 0:00:59.811 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.060) 0:00:59.872 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.049) 0:00:59.922 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.133) 0:01:00.055 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:17 -0400 (0:00:00.134) 0:01:00.189 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.054) 0:01:00.243 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.052) 0:01:00.296 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.098) 0:01:00.394 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.661) 0:01:01.055 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.076) 0:01:01.131 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.038) 0:01:01.170 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.031) 0:01:01.202 **** changed: [managed_node1] => { "_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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.572) 0:01:01.775 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.061) 0:01:01.837 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.078) 0:01:01.916 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.059) 0:01:01.976 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.051) 0:01:02.027 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.395) 0:01:02.423 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.059) 0:01:02.482 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.088) 0:01:02.571 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922706.9267452, "block_size": 4096, "blocks": 0, "ctime": 1726922706.9267452, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31199, "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": 1726922706.9267452, "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.378) 0:01:02.950 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.034) 0:01:02.985 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.056) 0:01:03.041 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.033) 0:01:03.074 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.409) 0:01:03.483 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.075) 0:01:03.559 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016673", "end": "2024-09-21 08:45:21.730745", "rc": 1, "start": "2024-09-21 08:45:21.714072" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.476) 0:01:04.036 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.054) 0:01:04.091 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.061) 0:01:04.152 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.086) 0:01:04.238 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.068) 0:01:04.306 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.059) 0:01:04.366 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.066) 0:01:04.432 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.082) 0:01:04.515 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.061) 0:01:04.576 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.128) 0:01:04.704 **** ok: [managed_node1] => { "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.046624", "end": "2024-09-21 08:45:22.841690", "rc": 0, "start": "2024-09-21 08:45:22.795066" } STDOUT: Connection 'statebr' (52bdea4a-e828-43fd-bc73-35011e558895) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.467) 0:01:05.172 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.154) 0:01:05.327 **** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.054) 0:01:05.381 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.115) 0:01:05.497 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.106) 0:01:05.603 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.116) 0:01:05.720 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003398", "end": "2024-09-21 08:45:23.841863", "rc": 0, "start": "2024-09-21 08:45:23.838465" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.429) 0:01:06.150 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.057) 0:01:06.207 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.056) 0:01:06.263 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.074) 0:01:06.338 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.092) 0:01:06.430 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.170) 0:01:06.601 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.128) 0:01:06.730 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.064) 0:01:06.794 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.071) 0:01:06.866 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:26 -0400 (0:00:01.881) 0:01:08.748 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.725) 0:01:09.473 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.035) 0:01:09.509 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.032) 0:01:09.541 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.030) 0:01:09.572 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.068) 0:01:09.640 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.089) 0:01:09.729 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.062) 0:01:09.792 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.069) 0:01:09.861 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.083) 0:01:09.944 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.032) 0:01:09.977 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:27 -0400 (0:00:00.030) 0:01:10.007 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.221) 0:01:10.229 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.638) 0:01:10.868 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.112) 0:01:10.980 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.053) 0:01:11.034 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.051) 0:01:11.085 **** changed: [managed_node1] => { "_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, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.702) 0:01:11.788 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.053) 0:01:11.841 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.059) 0:01:11.900 **** ok: [managed_node1] => { "__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, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.041) 0:01:11.942 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.045) 0:01:11.988 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.430) 0:01:12.418 **** ok: [managed_node1] => { "__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, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.056) 0:01:12.475 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.085) 0:01:12.561 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.075) 0:01:12.636 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.057) 0:01:12.694 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.078) 0:01:12.772 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.036) 0:01:12.808 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:32 -0400 (0:00:01.876) 0:01:14.684 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.860) 0:01:15.545 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.120) 0:01:15.665 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.068) 0:01:15.734 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.064) 0:01:15.798 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.152) 0:01:15.950 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.150) 0:01:16.101 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:33 -0400 (0:00:00.100) 0:01:16.201 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.096) 0:01:16.297 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.158) 0:01:16.455 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.084) 0:01:16.539 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.043) 0:01:16.583 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.071) 0:01:16.654 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.586) 0:01:17.241 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.199) 0:01:17.440 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.040) 0:01:17.480 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.055) 0:01:17.536 **** ok: [managed_node1] => { "_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, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.618) 0:01:18.154 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.050) 0:01:18.204 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.058) 0:01:18.263 **** ok: [managed_node1] => { "__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, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ad0bb32-5b81-494b-8f1e-6be5fbc32f90 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.060) 0:01:18.323 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.052) 0:01:18.376 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.395) 0:01:18.771 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.095) 0:01:18.867 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.104) 0:01:18.971 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.089) 0:01:19.061 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.057) 0:01:19.118 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.043) 0:01:19.162 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:38 -0400 (0:00:01.919) 0:01:21.082 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.784) 0:01:21.867 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.044) 0:01:21.911 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.051) 0:01:21.963 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.048) 0:01:22.011 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.076) 0:01:22.088 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.073) 0:01:22.161 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.050) 0:01:22.212 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.062) 0:01:22.274 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.089) 0:01:22.364 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.051) 0:01:22.415 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.057) 0:01:22.473 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.084) 0:01:22.557 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.698) 0:01:23.255 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.074) 0:01:23.330 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.031) 0:01:23.361 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.037) 0:01:23.399 **** changed: [managed_node1] => { "_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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.880) 0:01:24.280 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.072) 0:01:24.352 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.076) 0:01:24.428 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.060) 0:01:24.488 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.050) 0:01:24.539 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.411) 0:01:24.951 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.063) 0:01:25.014 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.067) 0:01:25.081 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.062) 0:01:25.144 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.054) 0:01:25.199 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:43 -0400 (0:00:00.036) 0:01:25.235 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:43 -0400 (0:00:00.035) 0:01:25.270 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:45 -0400 (0:00:01.963) 0:01:27.234 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.987) 0:01:28.222 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.037) 0:01:28.260 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.030) 0:01:28.291 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.038) 0:01:28.329 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.059) 0:01:28.389 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.059) 0:01:28.449 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.051) 0:01:28.500 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.062) 0:01:28.562 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.134) 0:01:28.696 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.061) 0:01:28.757 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.073) 0:01:28.831 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.073) 0:01:28.905 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.666) 0:01:29.571 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.095) 0:01:29.666 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.056) 0:01:29.722 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.053) 0:01:29.776 **** changed: [managed_node1] => { "_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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.800) 0:01:30.577 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.046) 0:01:30.623 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.048) 0:01:30.671 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.046) 0:01:30.718 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.052) 0:01:30.770 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:48 -0400 (0:00:00.400) 0:01:31.171 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:45:49 -0400 (0:00:00.066) 0:01:31.237 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:45:49 -0400 (0:00:00.103) 0:01:31.341 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:45:49 -0400 (0:00:00.066) 0:01:31.407 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:45:49 -0400 (0:00:00.396) 0:01:31.804 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:45:49 -0400 (0:00:00.036) 0:01:31.841 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015973", "end": "2024-09-21 08:45:49.994376", "rc": 1, "start": "2024-09-21 08:45:49.978403" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.440) 0:01:32.282 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.033) 0:01:32.316 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.032) 0:01:32.349 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.034) 0:01:32.384 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.033) 0:01:32.417 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.091) 0:01:32.508 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.048) 0:01:32.557 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.131) 0:01:32.688 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.085) 0:01:32.773 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.384) 0:01:33.158 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.055) 0:01:33.214 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.058) 0:01:33.272 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.087) 0:01:33.360 **** fatal: [managed_node1]: 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.031461", "end": "2024-09-21 08:45:51.481647", "rc": 1, "start": "2024-09-21 08:45:51.450186" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.426) 0:01:33.786 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.073) 0:01:33.859 **** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.045) 0:01:33.904 **** ok: [managed_node1] => (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_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.101) 0:01:34.005 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.078) 0:01:34.084 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.179) 0:01:34.264 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-09-21 08:45:52.373559", "rc": 0, "start": "2024-09-21 08:45:52.370236" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.392) 0:01:34.656 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.033) 0:01:34.690 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.033) 0:01:34.724 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.060) 0:01:34.784 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.069) 0:01:34.854 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.073) 0:01:34.928 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.077) 0:01:35.005 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.059) 0:01:35.065 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.062) 0:01:35.127 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:54 -0400 (0:00:01.856) 0:01:36.984 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.766) 0:01:37.750 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.076) 0:01:37.827 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.031) 0:01:37.859 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.030) 0:01:37.889 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.062) 0:01:37.952 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.059) 0:01:38.011 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.053) 0:01:38.065 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:55 -0400 (0:00:00.060) 0:01:38.126 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.090) 0:01:38.217 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.033) 0:01:38.250 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.031) 0:01:38.282 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.061) 0:01:38.344 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.569) 0:01:38.914 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.057) 0:01:38.971 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.031) 0:01:39.002 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.030) 0:01:39.033 **** changed: [managed_node1] => { "_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, 70a423ba-5d19-4e2a-8d7f-7269f7886194 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.565) 0:01:39.598 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.031) 0:01:39.629 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70a423ba-5d19-4e2a-8d7f-7269f7886194" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.033) 0:01:39.663 **** ok: [managed_node1] => { "__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, 70a423ba-5d19-4e2a-8d7f-7269f7886194\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70a423ba-5d19-4e2a-8d7f-7269f7886194" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.081) 0:01:39.744 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.030) 0:01:39.775 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.370) 0:01:40.145 **** ok: [managed_node1] => { "__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, 70a423ba-5d19-4e2a-8d7f-7269f7886194\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70a423ba-5d19-4e2a-8d7f-7269f7886194" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.044) 0:01:40.189 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.067) 0:01:40.257 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.062) 0:01:40.319 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.055) 0:01:40.375 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.037) 0:01:40.412 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.036) 0:01:40.449 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:00 -0400 (0:00:01.837) 0:01:42.286 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.713) 0:01:42.999 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.034) 0:01:43.034 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.031) 0:01:43.065 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.075) 0:01:43.141 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.062) 0:01:43.203 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.065) 0:01:43.268 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.054) 0:01:43.323 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.058) 0:01:43.381 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.087) 0:01:43.468 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.032) 0:01:43.501 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.030) 0:01:43.532 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.061) 0:01:43.594 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.572) 0:01:44.166 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.069) 0:01:44.236 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.032) 0:01:44.268 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.031) 0:01:44.300 **** ok: [managed_node1] => { "_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, 70a423ba-5d19-4e2a-8d7f-7269f7886194 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.531) 0:01:44.832 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.030) 0:01:44.863 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70a423ba-5d19-4e2a-8d7f-7269f7886194 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.035) 0:01:44.899 **** ok: [managed_node1] => { "__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, 70a423ba-5d19-4e2a-8d7f-7269f7886194 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70a423ba-5d19-4e2a-8d7f-7269f7886194 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.036) 0:01:44.935 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.030) 0:01:44.966 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.419) 0:01:45.385 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.070) 0:01:45.456 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.060) 0:01:45.516 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.056) 0:01:45.573 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.034) 0:01:45.608 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.036) 0:01:45.645 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:05 -0400 (0:00:01.820) 0:01:47.465 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:05 -0400 (0:00:00.715) 0:01:48.181 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:05 -0400 (0:00:00.034) 0:01:48.216 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.032) 0:01:48.248 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.038) 0:01:48.287 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.063) 0:01:48.351 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.060) 0:01:48.412 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.143) 0:01:48.555 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.058) 0:01:48.614 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.083) 0:01:48.697 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.032) 0:01:48.729 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.030) 0:01:48.760 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.061) 0:01:48.821 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.571) 0:01:49.392 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.057) 0:01:49.450 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.032) 0:01:49.483 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.030) 0:01:49.513 **** changed: [managed_node1] => { "_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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.605) 0:01:50.119 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.032) 0:01:50.151 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.034) 0:01:50.186 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.036) 0:01:50.222 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.029) 0:01:50.252 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.377) 0:01:50.629 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.100) 0:01:50.729 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.066) 0:01:50.796 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.061) 0:01:50.858 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.059) 0:01:50.917 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.038) 0:01:50.955 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.036) 0:01:50.991 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:10 -0400 (0:00:01.797) 0:01:52.788 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.718) 0:01:53.507 **** ok: [managed_node1] => {} 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.035) 0:01:53.542 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.030) 0:01:53.572 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.030) 0:01:53.603 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.058) 0:01:53.662 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.063) 0:01:53.725 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.098) 0:01:53.824 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.059) 0:01:53.883 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.087) 0:01:53.971 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.030) 0:01:54.002 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.031) 0:01:54.034 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.057) 0:01:54.092 **** ok: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.573) 0:01:54.665 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.062) 0:01:54.728 **** skipping: [managed_node1] => { "censored": "the output 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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.031) 0:01:54.759 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.032) 0:01:54.792 **** ok: [managed_node1] => { "_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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.542) 0:01:55.334 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.037) 0:01:55.372 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.035) 0:01:55.408 **** ok: [managed_node1] => { "__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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.035) 0:01:55.443 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.032) 0:01:55.475 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.373) 0:01:55.849 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.063) 0:01:55.912 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.102) 0:01:56.014 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.034) 0:01:56.048 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.366) 0:01:56.415 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.030) 0:01:56.446 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015813", "end": "2024-09-21 08:46:14.542183", "rc": 1, "start": "2024-09-21 08:46:14.526370" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.377) 0:01:56.823 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.032) 0:01:56.856 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.033) 0:01:56.889 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.033) 0:01:56.923 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.032) 0:01:56.955 **** skipping: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.033) 0:01:56.989 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.034) 0:01:57.024 **** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.163502", "end": "2024-09-21 08:46:15.262477", "rc": 0, "start": "2024-09-21 08:46:15.098975" } STDOUT: NetworkManager-1.48.10-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.520) 0:01:57.544 **** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.033) 0:01:57.578 **** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.034) 0:01:57.613 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.078) 0:01:57.692 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.051) 0:01:57.743 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.404) 0:01:58.148 **** ok: [managed_node1] => { "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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.036) 0:01:58.185 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:46:16 -0400 (0:00:00.033) 0:01:58.218 **** included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:46:16 -0400 (0:00:00.065) 0:01:58.283 **** fatal: [managed_node1]: 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.032147", "end": "2024-09-21 08:46:16.401084", "rc": 1, "start": "2024-09-21 08:46:16.368937" } 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 September 2024 08:46:16 -0400 (0:00:00.399) 0:01:58.683 **** ok: [managed_node1] => { "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.008597", "end": "2024-09-21 08:46:16.772341", "rc": 0, "start": "2024-09-21 08:46:16.763744" } 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 0e:5a:70:cb:bb:41 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.122/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2810sec preferred_lft 2810sec inet6 fe80::c5a:70ff:fecb:bb41/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.122 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.122 metric 100 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-F8I/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 September 2024 08:46:16 -0400 (0:00:00.371) 0:01:59.054 **** ok: [managed_node1] => { "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.115115", "end": "2024-09-21 08:46:17.255628", "rc": 0, "start": "2024-09-21 08:46:17.140513" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 15439 0 --:--:-- --:--:-- --:--:-- 16052 % 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 3992 0 --:--:-- --:--:-- --:--:-- 4041 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=9 Saturday 21 September 2024 08:46:17 -0400 (0:00:00.530) 0:01:59.585 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-F8I/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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-F8I/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-F8I/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-F8I/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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-F8I/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-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.26s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.98s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.93s /tmp/collections-F8I/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159