[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.3] 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-vFe executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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-vFe/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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 17 August 2024 18:50:59 -0400 (0:00:00.033) 0:00:00.033 ******* [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 17 August 2024 18:51:01 -0400 (0:00:01.596) 0:00:01.630 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 18:51:01 -0400 (0:00:00.021) 0:00:01.652 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 18:51:01 -0400 (0:00:00.499) 0:00:02.151 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.587) 0:00:02.739 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.029) 0:00:02.768 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.016) 0:00:02.784 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.051) 0:00:02.835 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.015) 0:00:02.851 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.014) 0:00:02.865 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.015) 0:00:02.881 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.014) 0:00:02.895 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.015) 0:00:02.910 ******* ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 17 August 2024 18:51:02 -0400 (0:00:00.031) 0:00:02.941 ******* ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.833) 0:00:03.775 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.032) 0:00:03.807 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.074) 0:00:03.881 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.033) 0:00:03.914 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.125) 0:00:04.040 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.040) 0:00:04.081 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:51:03 -0400 (0:00:00.035) 0:00:04.116 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003128", "end": "2024-08-17 18:51:04.158830", "rc": 0, "start": "2024-08-17 18:51:04.155702" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.647) 0:00:04.764 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.058) 0:00:04.823 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.037) 0:00:04.860 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.059) 0:00:04.919 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007450", "end": "2024-08-17 18:51:04.680193", "rc": 1, "start": "2024-08-17 18:51:04.672743" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.363) 0:00:05.282 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:51:04 -0400 (0:00:00.028) 0:00:05.310 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.386) 0:00:05.697 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.061) 0:00:05.758 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.068) 0:00:05.826 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.082) 0:00:05.909 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.060) 0:00:05.969 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.059) 0:00:06.029 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.023) 0:00:06.053 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:05 -0400 (0:00:00.021) 0:00:06.075 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:07 -0400 (0:00:01.683) 0:00:07.758 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:08 -0400 (0:00:01.237) 0:00:08.996 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.038) 0:00:09.034 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.035) 0:00:09.069 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.042) 0:00:09.111 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.100) 0:00:09.212 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.120) 0:00:09.332 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.095) 0:00:09.428 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:08 -0400 (0:00:00.112) 0:00:09.540 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:09 -0400 (0:00:00.201) 0:00:09.742 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:09 -0400 (0:00:00.078) 0:00:09.821 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:09 -0400 (0:00:00.044) 0:00:09.865 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:09 -0400 (0:00:00.087) 0:00:09.952 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:10 -0400 (0:00:00.817) 0:00:10.770 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:10 -0400 (0:00:00.067) 0:00:10.837 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:10 -0400 (0:00:00.035) 0:00:10.873 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:10 -0400 (0:00:00.034) 0:00:10.907 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:11 -0400 (0:00:00.892) 0:00:11.800 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:11 -0400 (0:00:00.068) 0:00:11.869 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:11 -0400 (0:00:00.074) 0:00:11.943 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:11 -0400 (0:00:00.077) 0:00:12.021 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:11 -0400 (0:00:00.065) 0:00:12.086 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:51:12 -0400 (0:00:00.697) 0:00:12.784 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 282acac7-2f42-4b02-9bf9-2dbc0ae9a53a" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:51:12 -0400 (0:00:00.071) 0:00:12.855 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:51:12 -0400 (0:00:00.126) 0:00:12.982 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:51:12 -0400 (0:00:00.213) 0:00:13.195 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:51:12 -0400 (0:00:00.125) 0:00:13.321 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.543) 0:00:13.864 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.068) 0:00:13.933 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019428", "end": "2024-08-17 18:51:13.717041", "rc": 0, "start": "2024-08-17 18:51:13.697613" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.421) 0:00:14.355 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.073) 0:00:14.429 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.065) 0:00:14.494 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:51:13 -0400 (0:00:00.051) 0:00:14.546 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.070) 0:00:14.616 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.076) 0:00:14.693 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.077) 0:00:14.770 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.085) 0:00:14.856 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.160) 0:00:15.017 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.280) 0:00:15.297 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:51:14 -0400 (0:00:00.101) 0:00:15.399 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935071.1075778, "block_size": 4096, "blocks": 0, "ctime": 1723935071.1075778, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30983, "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": 1723935071.1075778, "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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:51:15 -0400 (0:00:00.363) 0:00:15.762 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:51:15 -0400 (0:00:00.068) 0:00:15.831 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:51:15 -0400 (0:00:00.117) 0:00:15.948 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:51:15 -0400 (0:00:00.165) 0:00:16.114 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.059231", "end": "2024-08-17 18:51:16.002857", "rc": 1, "start": "2024-08-17 18:51:15.943626" } STDOUT: Connection 'statebr' (282acac7-2f42-4b02-9bf9-2dbc0ae9a53a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.500) 0:00:16.615 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.061) 0:00:16.676 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.044) 0:00:16.721 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.162) 0:00:16.883 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.191) 0:00:17.075 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:51:16 -0400 (0:00:00.135) 0:00:17.211 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-08-17 18:51:16.964313", "rc": 0, "start": "2024-08-17 18:51:16.961094" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.361) 0:00:17.573 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.039) 0:00:17.613 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.038) 0:00:17.652 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.066) 0:00:17.718 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005852", "end": "2024-08-17 18:51:17.449811", "rc": 1, "start": "2024-08-17 18:51:17.443959" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.402) 0:00:18.120 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:51:17 -0400 (0:00:00.260) 0:00:18.381 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.436) 0:00:18.817 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.076) 0:00:18.894 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.113) 0:00:19.007 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.108) 0:00:19.116 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.086) 0:00:19.202 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.085) 0:00:19.288 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.041) 0:00:19.329 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:18 -0400 (0:00:00.040) 0:00:19.370 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:20 -0400 (0:00:01.524) 0:00:20.895 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:21 -0400 (0:00:01.040) 0:00:21.936 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.135) 0:00:22.072 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.055) 0:00:22.128 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.054) 0:00:22.182 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.063) 0:00:22.245 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.071) 0:00:22.317 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.079) 0:00:22.397 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:21 -0400 (0:00:00.070) 0:00:22.468 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:22 -0400 (0:00:00.160) 0:00:22.628 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:22 -0400 (0:00:00.065) 0:00:22.694 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:22 -0400 (0:00:00.106) 0:00:22.800 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:22 -0400 (0:00:00.180) 0:00:22.981 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:23 -0400 (0:00:00.787) 0:00:23.768 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:23 -0400 (0:00:00.221) 0:00:23.990 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:23 -0400 (0:00:00.088) 0:00:24.079 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:23 -0400 (0:00:00.087) 0:00:24.166 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:24 -0400 (0:00:00.746) 0:00:24.912 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:24 -0400 (0:00:00.046) 0:00:24.959 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:24 -0400 (0:00:00.045) 0:00:25.005 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:24 -0400 (0:00:00.057) 0:00:25.062 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:24 -0400 (0:00:00.115) 0:00:25.177 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 August 2024 18:51:25 -0400 (0:00:00.481) 0:00:25.658 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57574acb-7163-47b8-a3c1-a8a48088c7e0" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:51:25 -0400 (0:00:00.075) 0:00:25.734 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:51:25 -0400 (0:00:00.139) 0:00:25.873 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:51:25 -0400 (0:00:00.169) 0:00:26.042 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:51:25 -0400 (0:00:00.467) 0:00:26.510 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:51:26 -0400 (0:00:00.108) 0:00:26.618 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:51:26 -0400 (0:00:00.096) 0:00:26.715 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:51:26 -0400 (0:00:00.076) 0:00:26.791 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:51:26 -0400 (0:00:00.428) 0:00:27.219 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:51:26 -0400 (0:00:00.065) 0:00:27.285 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018681", "end": "2024-08-17 18:51:27.081607", "rc": 0, "start": "2024-08-17 18:51:27.062926" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.418) 0:00:27.703 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.052) 0:00:27.756 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.059) 0:00:27.815 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.184) 0:00:28.000 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.116) 0:00:28.117 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.118) 0:00:28.236 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.084) 0:00:28.320 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.093) 0:00:28.414 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:51:27 -0400 (0:00:00.061) 0:00:28.476 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.089) 0:00:28.566 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.040) 0:00:28.606 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.080) 0:00:28.687 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036980", "end": "2024-08-17 18:51:28.548215", "rc": 1, "start": "2024-08-17 18:51:28.511235" } STDOUT: Connection 'statebr' (57574acb-7163-47b8-a3c1-a8a48088c7e0) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.472) 0:00:29.160 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.069) 0:00:29.229 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.064) 0:00:29.294 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:51:28 -0400 (0:00:00.217) 0:00:29.512 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:51:29 -0400 (0:00:00.209) 0:00:29.722 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:51:29 -0400 (0:00:00.322) 0:00:30.044 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2024-08-17 18:51:29.807866", "rc": 0, "start": "2024-08-17 18:51:29.804666" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:51:29 -0400 (0:00:00.380) 0:00:30.425 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:51:29 -0400 (0:00:00.057) 0:00:30.482 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.096) 0:00:30.579 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.121) 0:00:30.700 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.121) 0:00:30.821 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.148) 0:00:30.970 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.128) 0:00:31.098 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.082) 0:00:31.180 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:30 -0400 (0:00:00.069) 0:00:31.250 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:32 -0400 (0:00:01.544) 0:00:32.795 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:33 -0400 (0:00:01.051) 0:00:33.846 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.134) 0:00:33.981 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.069) 0:00:34.051 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.090) 0:00:34.141 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.129) 0:00:34.270 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.170) 0:00:34.440 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:33 -0400 (0:00:00.105) 0:00:34.546 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:34 -0400 (0:00:00.127) 0:00:34.674 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:34 -0400 (0:00:00.187) 0:00:34.862 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:34 -0400 (0:00:00.072) 0:00:34.935 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:34 -0400 (0:00:00.087) 0:00:35.022 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:34 -0400 (0:00:00.160) 0:00:35.183 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:35 -0400 (0:00:00.768) 0:00:35.951 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:35 -0400 (0:00:00.121) 0:00:36.073 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:35 -0400 (0:00:00.063) 0:00:36.136 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:35 -0400 (0:00:00.063) 0:00:36.200 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.720) 0:00:36.921 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.041) 0:00:36.963 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.040) 0:00:37.004 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.059) 0:00:37.064 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.071) 0:00:37.135 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:51:36 -0400 (0:00:00.405) 0:00:37.540 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.073) 0:00:37.613 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.123) 0:00:37.737 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.146) 0:00:37.884 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.164) 0:00:38.048 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.194) 0:00:38.242 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.092) 0:00:38.335 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:37 -0400 (0:00:00.087) 0:00:38.423 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:39 -0400 (0:00:01.620) 0:00:40.043 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.885) 0:00:40.928 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.076) 0:00:41.005 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.035) 0:00:41.041 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.036) 0:00:41.077 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.058) 0:00:41.136 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.076) 0:00:41.212 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.080) 0:00:41.292 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.070) 0:00:41.362 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.106) 0:00:41.469 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:40 -0400 (0:00:00.035) 0:00:41.504 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:41 -0400 (0:00:00.043) 0:00:41.548 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:41 -0400 (0:00:00.095) 0:00:41.643 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:41 -0400 (0:00:00.657) 0:00:42.301 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:41 -0400 (0:00:00.141) 0:00:42.442 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:41 -0400 (0:00:00.069) 0:00:42.511 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:42 -0400 (0:00:00.070) 0:00:42.583 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:42 -0400 (0:00:00.670) 0:00:43.253 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:42 -0400 (0:00:00.059) 0:00:43.312 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:42 -0400 (0:00:00.111) 0:00:43.424 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98bbfbae-f626-4a70-b167-a4a454457f3b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:43 -0400 (0:00:00.126) 0:00:43.551 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:43 -0400 (0:00:00.149) 0:00:43.700 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:51:43 -0400 (0:00:00.473) 0:00:44.174 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:51:43 -0400 (0:00:00.159) 0:00:44.334 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:51:43 -0400 (0:00:00.120) 0:00:44.455 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935096.238308, "block_size": 4096, "blocks": 0, "ctime": 1723935096.238308, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31114, "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": 1723935096.238308, "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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.404) 0:00:44.859 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.050) 0:00:44.910 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.082) 0:00:44.993 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.040) 0:00:45.034 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.376) 0:00:45.410 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:51:44 -0400 (0:00:00.065) 0:00:45.476 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019063", "end": "2024-08-17 18:51:45.265248", "rc": 0, "start": "2024-08-17 18:51:45.246185" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.411) 0:00:45.887 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.055) 0:00:45.943 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.036) 0:00:45.980 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.035) 0:00:46.015 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.071) 0:00:46.087 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.036) 0:00:46.124 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.041) 0:00:46.166 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.040) 0:00:46.206 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.040) 0:00:46.247 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.055) 0:00:46.303 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.040) 0:00:46.343 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:51:45 -0400 (0:00:00.069) 0:00:46.412 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055143", "end": "2024-08-17 18:51:46.196132", "rc": 1, "start": "2024-08-17 18:51:46.140989" } STDOUT: Connection 'statebr' (98bbfbae-f626-4a70-b167-a4a454457f3b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.395) 0:00:46.808 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.063) 0:00:46.872 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.041) 0:00:46.913 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.078) 0:00:46.991 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.059) 0:00:47.051 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.056) 0:00:47.107 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002999", "end": "2024-08-17 18:51:46.842827", "rc": 0, "start": "2024-08-17 18:51:46.839828" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.355) 0:00:47.463 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:51:46 -0400 (0:00:00.078) 0:00:47.542 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.042) 0:00:47.584 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.089) 0:00:47.673 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.083) 0:00:47.757 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.073) 0:00:47.830 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.066) 0:00:47.897 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.041) 0:00:47.939 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:47 -0400 (0:00:00.040) 0:00:47.979 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:48 -0400 (0:00:01.522) 0:00:49.502 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:49 -0400 (0:00:00.853) 0:00:50.355 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:49 -0400 (0:00:00.040) 0:00:50.396 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:49 -0400 (0:00:00.035) 0:00:50.431 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:49 -0400 (0:00:00.070) 0:00:50.502 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.061) 0:00:50.564 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.075) 0:00:50.639 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.091) 0:00:50.731 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.126) 0:00:50.858 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.178) 0:00:51.036 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.067) 0:00:51.103 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.064) 0:00:51.168 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:50 -0400 (0:00:00.122) 0:00:51.291 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:51 -0400 (0:00:00.637) 0:00:51.929 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:51 -0400 (0:00:00.121) 0:00:52.051 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:51 -0400 (0:00:00.067) 0:00:52.118 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:51 -0400 (0:00:00.067) 0:00:52.185 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:52 -0400 (0:00:00.682) 0:00:52.868 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:52 -0400 (0:00:00.108) 0:00:52.977 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:52 -0400 (0:00:00.106) 0:00:53.083 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:52 -0400 (0:00:00.100) 0:00:53.184 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:52 -0400 (0:00:00.071) 0:00:53.255 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.494) 0:00:53.750 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.076) 0:00:53.826 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.151) 0:00:53.978 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.151) 0:00:54.129 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.118) 0:00:54.248 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.075) 0:00:54.324 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:51:53 -0400 (0:00:00.075) 0:00:54.400 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:51:55 -0400 (0:00:01.548) 0:00:55.948 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.899) 0:00:56.847 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.041) 0:00:56.889 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.068) 0:00:56.958 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.065) 0:00:57.023 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.166) 0:00:57.190 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:51:56 -0400 (0:00:00.220) 0:00:57.410 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.160) 0:00:57.571 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.214) 0:00:57.786 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.353) 0:00:58.139 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.075) 0:00:58.215 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.063) 0:00:58.278 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:51:57 -0400 (0:00:00.114) 0:00:58.392 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:51:58 -0400 (0:00:00.710) 0:00:59.103 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:51:58 -0400 (0:00:00.138) 0:00:59.242 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:51:58 -0400 (0:00:00.053) 0:00:59.295 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:51:58 -0400 (0:00:00.036) 0:00:59.331 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:51:59 -0400 (0:00:00.585) 0:00:59.916 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:51:59 -0400 (0:00:00.060) 0:00:59.977 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:51:59 -0400 (0:00:00.069) 0:01:00.046 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a8cd93-f3c8-4718-bd15-0f450d5b1b0f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:51:59 -0400 (0:00:00.061) 0:01:00.108 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:51:59 -0400 (0:00:00.037) 0:01:00.146 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.425) 0:01:00.571 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.162) 0:01:00.734 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.148) 0:01:00.882 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.193) 0:01:01.075 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.207) 0:01:01.283 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.129) 0:01:01.412 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:00 -0400 (0:00:00.082) 0:01:01.494 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:02 -0400 (0:00:01.663) 0:01:03.158 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.852) 0:01:04.010 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.040) 0:01:04.050 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.036) 0:01:04.086 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.035) 0:01:04.122 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.058) 0:01:04.180 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.111) 0:01:04.291 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.061) 0:01:04.353 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:03 -0400 (0:00:00.094) 0:01:04.447 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:04 -0400 (0:00:00.170) 0:01:04.618 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:04 -0400 (0:00:00.063) 0:01:04.681 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:04 -0400 (0:00:00.065) 0:01:04.746 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:04 -0400 (0:00:00.148) 0:01:04.894 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:05 -0400 (0:00:00.676) 0:01:05.570 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:05 -0400 (0:00:00.130) 0:01:05.701 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:05 -0400 (0:00:00.075) 0:01:05.776 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:05 -0400 (0:00:00.067) 0:01:05.844 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:05 -0400 (0:00:00.675) 0:01:06.520 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.072) 0:01:06.592 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.077) 0:01:06.670 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.077) 0:01:06.747 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.051) 0:01:06.799 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.360) 0:01:07.159 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.110) 0:01:07.270 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:52:06 -0400 (0:00:00.058) 0:01:07.328 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935112.1854708, "block_size": 4096, "blocks": 0, "ctime": 1723935112.1854708, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31245, "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": 1723935112.1854708, "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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.368) 0:01:07.697 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.067) 0:01:07.764 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.093) 0:01:07.858 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.039) 0:01:07.897 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.362) 0:01:08.259 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:52:07 -0400 (0:00:00.069) 0:01:08.329 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018612", "end": "2024-08-17 18:52:08.096460", "rc": 1, "start": "2024-08-17 18:52:08.077848" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.407) 0:01:08.737 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.069) 0:01:08.807 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.068) 0:01:08.876 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.069) 0:01:08.946 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.068) 0:01:09.014 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.081) 0:01:09.096 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.124) 0:01:09.220 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.126) 0:01:09.346 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:52:08 -0400 (0:00:00.150) 0:01:09.496 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:52:09 -0400 (0:00:00.134) 0:01:09.631 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.058091", "end": "2024-08-17 18:52:09.460527", "rc": 1, "start": "2024-08-17 18:52:09.402436" } STDOUT: Connection 'statebr' (30a8cd93-f3c8-4718-bd15-0f450d5b1b0f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 17 August 2024 18:52:09 -0400 (0:00:00.486) 0:01:10.117 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:52:09 -0400 (0:00:00.146) 0:01:10.264 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:52:09 -0400 (0:00:00.119) 0:01:10.384 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:52:09 -0400 (0:00:00.160) 0:01:10.545 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:52:10 -0400 (0:00:00.140) 0:01:10.685 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:52:10 -0400 (0:00:00.131) 0:01:10.817 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-08-17 18:52:10.644780", "rc": 0, "start": "2024-08-17 18:52:10.641437" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:52:10 -0400 (0:00:00.514) 0:01:11.331 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:52:10 -0400 (0:00:00.136) 0:01:11.467 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:52:10 -0400 (0:00:00.078) 0:01:11.546 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:52:11 -0400 (0:00:00.193) 0:01:11.739 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:11 -0400 (0:00:00.333) 0:01:12.073 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:11 -0400 (0:00:00.277) 0:01:12.351 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:12 -0400 (0:00:00.234) 0:01:12.585 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:12 -0400 (0:00:00.102) 0:01:12.688 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:12 -0400 (0:00:00.086) 0:01:12.774 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:13 -0400 (0:00:01.723) 0:01:14.498 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:14 -0400 (0:00:00.953) 0:01:15.451 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:14 -0400 (0:00:00.079) 0:01:15.531 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.066) 0:01:15.597 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.050) 0:01:15.648 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.065) 0:01:15.713 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.077) 0:01:15.791 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.062) 0:01:15.853 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.114) 0:01:15.968 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.292) 0:01:16.260 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.064) 0:01:16.325 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.066) 0:01:16.391 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:15 -0400 (0:00:00.118) 0:01:16.510 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:16 -0400 (0:00:00.653) 0:01:17.164 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:16 -0400 (0:00:00.116) 0:01:17.281 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:16 -0400 (0:00:00.059) 0:01:17.340 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:16 -0400 (0:00:00.048) 0:01:17.389 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:17 -0400 (0:00:00.605) 0:01:17.994 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:17 -0400 (0:00:00.080) 0:01:18.074 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:17 -0400 (0:00:00.078) 0:01:18.153 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:17 -0400 (0:00:00.114) 0:01:18.267 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:17 -0400 (0:00:00.067) 0:01:18.335 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.447) 0:01:18.782 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.087) 0:01:18.869 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.112) 0:01:18.982 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.157) 0:01:19.140 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.101) 0:01:19.242 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.128) 0:01:19.371 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:18 -0400 (0:00:00.068) 0:01:19.439 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:20 -0400 (0:00:01.567) 0:01:21.006 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.980) 0:01:21.987 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.057) 0:01:22.045 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.042) 0:01:22.088 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.037) 0:01:22.126 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.070) 0:01:22.196 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.139) 0:01:22.336 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.118) 0:01:22.455 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:21 -0400 (0:00:00.084) 0:01:22.539 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:22 -0400 (0:00:00.152) 0:01:22.692 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:22 -0400 (0:00:00.068) 0:01:22.760 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:22 -0400 (0:00:00.166) 0:01:22.927 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:22 -0400 (0:00:00.129) 0:01:23.057 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:23 -0400 (0:00:00.676) 0:01:23.733 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:23 -0400 (0:00:00.191) 0:01:23.925 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:23 -0400 (0:00:00.068) 0:01:23.993 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:23 -0400 (0:00:00.068) 0:01:24.062 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.627) 0:01:24.689 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.042) 0:01:24.731 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.052) 0:01:24.783 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 433ed32c-d20d-480c-85e8-5df704fdbe85 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.057) 0:01:24.841 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.044) 0:01:24.885 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.355) 0:01:25.241 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.123) 0:01:25.364 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:24 -0400 (0:00:00.152) 0:01:25.521 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:25 -0400 (0:00:00.225) 0:01:25.747 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:25 -0400 (0:00:00.166) 0:01:25.913 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:25 -0400 (0:00:00.082) 0:01:25.996 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:26 -0400 (0:00:01.543) 0:01:27.539 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:28 -0400 (0:00:01.018) 0:01:28.558 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.050) 0:01:28.608 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.037) 0:01:28.645 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.046) 0:01:28.692 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.078) 0:01:28.771 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.187) 0:01:28.958 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.148) 0:01:29.107 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.141) 0:01:29.248 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.200) 0:01:29.448 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:28 -0400 (0:00:00.078) 0:01:29.527 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:29 -0400 (0:00:00.068) 0:01:29.595 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:29 -0400 (0:00:00.159) 0:01:29.755 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:29 -0400 (0:00:00.626) 0:01:30.381 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:30 -0400 (0:00:00.252) 0:01:30.634 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:30 -0400 (0:00:00.067) 0:01:30.701 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:30 -0400 (0:00:00.069) 0:01:30.771 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:30 -0400 (0:00:00.664) 0:01:31.435 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:30 -0400 (0:00:00.081) 0:01:31.517 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.089) 0:01:31.606 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.087) 0:01:31.693 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.066) 0:01:31.760 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.496) 0:01:32.257 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.133) 0:01:32.390 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:31 -0400 (0:00:00.138) 0:01:32.528 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:32 -0400 (0:00:00.095) 0:01:32.624 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:32 -0400 (0:00:00.073) 0:01:32.697 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:32 -0400 (0:00:00.041) 0:01:32.739 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:32 -0400 (0:00:00.100) 0:01:32.839 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:33 -0400 (0:00:01.538) 0:01:34.378 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:34 -0400 (0:00:01.042) 0:01:35.421 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:34 -0400 (0:00:00.075) 0:01:35.497 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.091) 0:01:35.589 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.055) 0:01:35.644 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.112) 0:01:35.757 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.074) 0:01:35.832 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.060) 0:01:35.892 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.074) 0:01:35.966 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.106) 0:01:36.072 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.045) 0:01:36.118 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.046) 0:01:36.165 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:35 -0400 (0:00:00.071) 0:01:36.236 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:36 -0400 (0:00:00.544) 0:01:36.780 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:36 -0400 (0:00:00.070) 0:01:36.851 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:36 -0400 (0:00:00.077) 0:01:36.928 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:36 -0400 (0:00:00.036) 0:01:36.965 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.629) 0:01:37.594 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.037) 0:01:37.632 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.040) 0:01:37.673 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.042) 0:01:37.716 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.036) 0:01:37.752 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.420) 0:01:38.173 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.143) 0:01:38.317 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.122) 0:01:38.439 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:52:37 -0400 (0:00:00.074) 0:01:38.514 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:52:38 -0400 (0:00:00.470) 0:01:38.984 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:52:38 -0400 (0:00:00.127) 0:01:39.112 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018057", "end": "2024-08-17 18:52:38.971371", "rc": 1, "start": "2024-08-17 18:52:38.953314" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.479) 0:01:39.592 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.048) 0:01:39.640 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.049) 0:01:39.689 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.121) 0:01:39.811 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.068) 0:01:39.879 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.067) 0:01:39.947 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.087) 0:01:40.034 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.216) 0:01:40.250 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:52:39 -0400 (0:00:00.125) 0:01:40.375 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:52:40 -0400 (0:00:00.378) 0:01:40.754 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:52:40 -0400 (0:00:00.078) 0:01:40.833 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:52:40 -0400 (0:00:00.073) 0:01:40.907 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:52:40 -0400 (0:00:00.150) 0:01:41.057 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037400", "end": "2024-08-17 18:52:40.923605", "rc": 1, "start": "2024-08-17 18:52:40.886205" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.518) 0:01:41.576 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.085) 0:01:41.661 ******* ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.050) 0:01:41.712 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.112) 0:01:41.825 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.284) 0:01:42.109 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:52:41 -0400 (0:00:00.168) 0:01:42.278 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003085", "end": "2024-08-17 18:52:42.121748", "rc": 0, "start": "2024-08-17 18:52:42.118663" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.454) 0:01:42.732 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.047) 0:01:42.780 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.071) 0:01:42.852 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.149) 0:01:43.001 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.188) 0:01:43.189 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.132) 0:01:43.322 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.100) 0:01:43.422 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.044) 0:01:43.467 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:42 -0400 (0:00:00.042) 0:01:43.510 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:44 -0400 (0:00:01.551) 0:01:45.061 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:45 -0400 (0:00:01.061) 0:01:46.122 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.052) 0:01:46.175 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.040) 0:01:46.216 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.035) 0:01:46.252 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.064) 0:01:46.316 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.075) 0:01:46.391 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.065) 0:01:46.457 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:45 -0400 (0:00:00.072) 0:01:46.529 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:46 -0400 (0:00:00.169) 0:01:46.699 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:46 -0400 (0:00:00.080) 0:01:46.779 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:46 -0400 (0:00:00.064) 0:01:46.844 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:46 -0400 (0:00:00.109) 0:01:46.953 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:46 -0400 (0:00:00.571) 0:01:47.525 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:47 -0400 (0:00:00.075) 0:01:47.600 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:47 -0400 (0:00:00.036) 0:01:47.637 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:47 -0400 (0:00:00.035) 0:01:47.672 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.958) 0:01:48.631 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.116) 0:01:48.747 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.119) 0:01:48.866 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.079) 0:01:48.946 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.067) 0:01:49.013 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.416) 0:01:49.430 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:52:48 -0400 (0:00:00.049) 0:01:49.480 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:49 -0400 (0:00:00.085) 0:01:49.566 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:49 -0400 (0:00:00.076) 0:01:49.642 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:49 -0400 (0:00:00.067) 0:01:49.709 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:49 -0400 (0:00:00.042) 0:01:49.752 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:49 -0400 (0:00:00.061) 0:01:49.813 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:50 -0400 (0:00:01.573) 0:01:51.387 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:51 -0400 (0:00:01.127) 0:01:52.515 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.074) 0:01:52.589 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.065) 0:01:52.654 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.067) 0:01:52.722 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.138) 0:01:52.860 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.211) 0:01:53.072 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.211) 0:01:53.284 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:52 -0400 (0:00:00.157) 0:01:53.441 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.170) 0:01:53.612 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.037) 0:01:53.649 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.048) 0:01:53.697 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.069) 0:01:53.767 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.575) 0:01:54.342 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:52:53 -0400 (0:00:00.131) 0:01:54.474 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.072) 0:01:54.546 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.094) 0:01:54.641 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.695) 0:01:55.337 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.035) 0:01:55.372 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.086) 0:01:55.458 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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, dd51301e-199a-4b35-a200-d0ddc7f3d060 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd51301e-199a-4b35-a200-d0ddc7f3d060 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.042) 0:01:55.501 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:52:54 -0400 (0:00:00.037) 0:01:55.539 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:52:55 -0400 (0:00:00.417) 0:01:55.956 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:52:55 -0400 (0:00:00.205) 0:01:56.161 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:52:55 -0400 (0:00:00.147) 0:01:56.308 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:52:55 -0400 (0:00:00.120) 0:01:56.429 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:52:55 -0400 (0:00:00.082) 0:01:56.511 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:52:56 -0400 (0:00:00.089) 0:01:56.600 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:52:57 -0400 (0:00:01.651) 0:01:58.251 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.883) 0:01:59.135 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.042) 0:01:59.177 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.096) 0:01:59.274 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.037) 0:01:59.312 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.078) 0:01:59.390 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:52:58 -0400 (0:00:00.121) 0:01:59.512 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.108) 0:01:59.621 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.159) 0:01:59.780 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.211) 0:01:59.991 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.096) 0:02:00.087 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.091) 0:02:00.179 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:52:59 -0400 (0:00:00.180) 0:02:00.359 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:53:00 -0400 (0:00:00.654) 0:02:01.014 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:53:00 -0400 (0:00:00.075) 0:02:01.090 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:53:00 -0400 (0:00:00.058) 0:02:01.148 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:53:00 -0400 (0:00:00.065) 0:02:01.213 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:53:01 -0400 (0:00:00.932) 0:02:02.146 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:53:01 -0400 (0:00:00.106) 0:02:02.252 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:53:01 -0400 (0:00:00.063) 0:02:02.315 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:53:01 -0400 (0:00:00.066) 0:02:02.381 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:53:01 -0400 (0:00:00.050) 0:02:02.432 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.451) 0:02:02.884 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.071) 0:02:02.955 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.105) 0:02:03.061 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.113) 0:02:03.175 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.090) 0:02:03.265 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.050) 0:02:03.316 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:53:02 -0400 (0:00:00.044) 0:02:03.360 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:53:04 -0400 (0:00:01.700) 0:02:05.061 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.955) 0:02:06.016 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.041) 0:02:06.058 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.035) 0:02:06.094 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.082) 0:02:06.176 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.062) 0:02:06.239 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.078) 0:02:06.317 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.060) 0:02:06.378 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:53:05 -0400 (0:00:00.074) 0:02:06.453 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.175) 0:02:06.628 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.059) 0:02:06.688 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.043) 0:02:06.732 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.094) 0:02:06.826 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.572) 0:02:07.398 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.087) 0:02:07.486 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:53:06 -0400 (0:00:00.035) 0:02:07.522 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.036) 0:02:07.558 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.618) 0:02:08.177 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.043) 0:02:08.220 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.071) 0:02:08.291 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.078) 0:02:08.369 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:53:07 -0400 (0:00:00.070) 0:02:08.440 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:53:08 -0400 (0:00:00.483) 0:02:08.924 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:53:08 -0400 (0:00:00.136) 0:02:09.060 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:53:08 -0400 (0:00:00.087) 0:02:09.147 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:53:08 -0400 (0:00:00.045) 0:02:09.193 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:53:08 -0400 (0:00:00.338) 0:02:09.531 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.037) 0:02:09.569 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019001", "end": "2024-08-17 18:53:09.319308", "rc": 1, "start": "2024-08-17 18:53:09.300307" } 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-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.364) 0:02:09.933 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.037) 0:02:09.970 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.039) 0:02:10.010 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.038) 0:02:10.048 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.036) 0:02:10.084 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.038) 0:02:10.123 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 August 2024 18:53:09 -0400 (0:00:00.041) 0:02:10.165 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.297119", "end": "2024-08-17 18:53:10.189898", "rc": 0, "start": "2024-08-17 18:53:09.892779" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.643) 0:02:10.808 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.039) 0:02:10.848 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.040) 0:02:10.888 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.145) 0:02:11.034 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.060) 0:02:11.095 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.341) 0:02:11.437 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.043) 0:02:11.480 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:53:10 -0400 (0:00:00.038) 0:02:11.519 ******* included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:53:11 -0400 (0:00:00.079) 0:02:11.599 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035441", "end": "2024-08-17 18:53:11.364116", "rc": 1, "start": "2024-08-17 18:53:11.328675" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 17 August 2024 18:53:11 -0400 (0:00:00.392) 0:02:11.991 ******* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008296", "end": "2024-08-17 18:53:11.770480", "rc": 0, "start": "2024-08-17 18:53:11.762184" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:cd:1c:00:bd:25 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.10.116/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2951sec preferred_lft 2951sec inet6 fe80::10cd:1cff:fe00:bd25/64 scope link valid_lft forever preferred_lft forever 28: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ee:20:2e:8e:cc:98 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.116 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.116 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 17 August 2024 18:53:11 -0400 (0:00:00.396) 0:02:12.387 ******* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.333153", "end": "2024-08-17 18:53:12.458739", "rc": 0, "start": "2024-08-17 18:53:12.125586" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1367 0 --:--:-- --:--:-- --:--:-- 1367 % 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 3464 0 --:--:-- --:--:-- --:--:-- 3464 PLAY RECAP ********************************************************************* managed_node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 17 August 2024 18:53:12 -0400 (0:00:00.750) 0:02:13.138 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.60s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.06s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/collections-vFe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26