[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.2] 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-sIv executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 12 August 2024 05:14:50 -0400 (0:00:00.073) 0:00:00.073 ********* [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 12 August 2024 05:14:51 -0400 (0:00:01.338) 0:00:01.412 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:14:51 -0400 (0:00:00.031) 0:00:01.443 ********* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:14:52 -0400 (0:00:00.628) 0:00:02.072 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:14:52 -0400 (0:00:00.571) 0:00:02.644 ********* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:14:52 -0400 (0:00:00.025) 0:00:02.670 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:14:52 -0400 (0:00:00.019) 0:00:02.689 ********* included: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:14:52 -0400 (0:00:00.044) 0:00:02.733 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:14:52 -0400 (0:00:00.015) 0:00:02.748 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:14:52 -0400 (0:00:00.014) 0:00:02.763 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:14:52 -0400 (0:00:00.013) 0:00:02.777 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:14:52 -0400 (0:00:00.013) 0:00:02.790 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 12 August 2024 05:14:52 -0400 (0:00:00.014) 0:00:02.804 ********* ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 12 August 2024 05:14:52 -0400 (0:00:00.026) 0:00:02.831 ********* ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 12 August 2024 05:14:53 -0400 (0:00:00.954) 0:00:03.785 ********* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 12 August 2024 05:14:53 -0400 (0:00:00.023) 0:00:03.808 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:14:53 -0400 (0:00:00.029) 0:00:03.838 ********* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:14:53 -0400 (0:00:00.021) 0:00:03.859 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:14:53 -0400 (0:00:00.050) 0:00:03.909 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:14:53 -0400 (0:00:00.020) 0:00:03.930 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:14:53 -0400 (0:00:00.019) 0:00:03.950 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2024-08-12 05:14:54.329698", "rc": 0, "start": "2024-08-12 05:14:54.326138" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:14:54 -0400 (0:00:00.498) 0:00:04.448 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:14:54 -0400 (0:00:00.030) 0:00:04.478 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:14:54 -0400 (0:00:00.027) 0:00:04.505 ********* included: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:14:54 -0400 (0:00:00.031) 0:00:04.536 ********* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007945", "end": "2024-08-12 05:14:54.833758", "rc": 1, "start": "2024-08-12 05:14:54.825813" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:14:54 -0400 (0:00:00.414) 0:00:04.951 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:14:54 -0400 (0:00:00.034) 0:00:04.985 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:14:55 -0400 (0:00:00.399) 0:00:05.384 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:14:55 -0400 (0:00:00.019) 0:00:05.404 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:14:55 -0400 (0:00:00.031) 0:00:05.436 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:14:55 -0400 (0:00:00.050) 0:00:05.486 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:14:55 -0400 (0:00:00.034) 0:00:05.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:14:55 -0400 (0:00:00.037) 0:00:05.558 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:14:55 -0400 (0:00:00.019) 0:00:05.578 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:14:55 -0400 (0:00:00.020) 0:00:05.598 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:14:57 -0400 (0:00:02.168) 0:00:07.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 : Print network provider] ************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:14:58 -0400 (0:00:01.284) 0:00:09.051 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:14:59 -0400 (0:00:00.040) 0:00:09.092 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:14:59 -0400 (0:00:00.037) 0:00:09.129 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:14:59 -0400 (0:00:00.035) 0:00:09.165 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:14:59 -0400 (0:00:00.059) 0:00:09.224 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:14:59 -0400 (0:00:00.062) 0:00:09.287 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:14:59 -0400 (0:00:00.048) 0:00:09.335 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:14:59 -0400 (0:00:00.059) 0:00:09.395 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:14:59 -0400 (0:00:00.105) 0:00:09.501 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:14:59 -0400 (0:00:00.078) 0:00:09.579 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:14:59 -0400 (0:00:00.062) 0:00:09.641 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:14:59 -0400 (0:00:00.161) 0:00:09.803 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:00 -0400 (0:00:01.177) 0:00:10.980 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:01 -0400 (0:00:00.092) 0:00:11.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:01 -0400 (0:00:00.049) 0:00:11.123 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:01 -0400 (0:00:00.044) 0:00:11.167 ********* 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, 09aba338-3006-4d73-beed-1e9f5b500787 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:01 -0400 (0:00:00.804) 0:00:11.971 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:01 -0400 (0:00:00.031) 0:00:12.002 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09aba338-3006-4d73-beed-1e9f5b500787" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:01 -0400 (0:00:00.035) 0:00:12.038 ********* 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, 09aba338-3006-4d73-beed-1e9f5b500787\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09aba338-3006-4d73-beed-1e9f5b500787" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:02 -0400 (0:00:00.035) 0:00:12.073 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:02 -0400 (0:00:00.031) 0:00:12.104 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:15:02 -0400 (0:00:00.557) 0:00:12.661 ********* 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, 09aba338-3006-4d73-beed-1e9f5b500787\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09aba338-3006-4d73-beed-1e9f5b500787" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:15:02 -0400 (0:00:00.057) 0:00:12.719 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:15:02 -0400 (0:00:00.097) 0:00:12.816 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:15:02 -0400 (0:00:00.106) 0:00:12.922 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:15:02 -0400 (0:00:00.041) 0:00:12.963 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:15:03 -0400 (0:00:00.471) 0:00:13.435 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:15:03 -0400 (0:00:00.087) 0:00:13.523 ********* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021018", "end": "2024-08-12 05:15:03.872510", "rc": 0, "start": "2024-08-12 05:15:03.851492" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:15:03 -0400 (0:00:00.495) 0:00:14.018 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:15:04 -0400 (0:00:00.059) 0:00:14.078 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:15:04 -0400 (0:00:00.035) 0:00:14.113 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:15:04 -0400 (0:00:00.038) 0:00:14.152 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:15:04 -0400 (0:00:00.038) 0:00:14.190 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:15:04 -0400 (0:00:00.034) 0:00:14.225 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:15:04 -0400 (0:00:00.040) 0:00:14.266 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:15:04 -0400 (0:00:00.035) 0:00:14.302 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:15:04 -0400 (0:00:00.035) 0:00:14.337 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:15:04 -0400 (0:00:00.078) 0:00:14.416 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:15:04 -0400 (0:00:00.063) 0:00:14.480 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723454101.7878025, "block_size": 4096, "blocks": 0, "ctime": 1723454101.7878025, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29795, "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": 1723454101.7878025, "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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:15:04 -0400 (0:00:00.495) 0:00:14.975 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:15:04 -0400 (0:00:00.071) 0:00:15.047 ********* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:15:05 -0400 (0:00:00.114) 0:00:15.162 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:15:05 -0400 (0:00:00.071) 0:00:15.233 ********* 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.067397", "end": "2024-08-12 05:15:05.585223", "rc": 1, "start": "2024-08-12 05:15:05.517826" } STDOUT: Connection 'statebr' (09aba338-3006-4d73-beed-1e9f5b500787) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 12 August 2024 05:15:05 -0400 (0:00:00.495) 0:00:15.729 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:15:05 -0400 (0:00:00.143) 0:00:15.872 ********* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:15:05 -0400 (0:00:00.052) 0:00:15.925 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:15:05 -0400 (0:00:00.092) 0:00:16.017 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:15:06 -0400 (0:00:00.056) 0:00:16.073 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:15:06 -0400 (0:00:00.060) 0:00:16.133 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003666", "end": "2024-08-12 05:15:06.421818", "rc": 0, "start": "2024-08-12 05:15:06.418152" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:15:06 -0400 (0:00:00.419) 0:00:16.553 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:15:06 -0400 (0:00:00.040) 0:00:16.594 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:15:06 -0400 (0:00:00.042) 0:00:16.637 ********* included: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:15:06 -0400 (0:00:00.057) 0:00:16.694 ********* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006908", "end": "2024-08-12 05:15:06.980625", "rc": 1, "start": "2024-08-12 05:15:06.973717" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:15:07 -0400 (0:00:00.415) 0:00:17.110 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:15:07 -0400 (0:00:00.094) 0:00:17.204 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:15:07 -0400 (0:00:00.411) 0:00:17.616 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:15:07 -0400 (0:00:00.038) 0:00:17.655 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 12 August 2024 05:15:07 -0400 (0:00:00.085) 0:00:17.741 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:07 -0400 (0:00:00.116) 0:00:17.857 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:07 -0400 (0:00:00.110) 0:00:17.968 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:08 -0400 (0:00:00.115) 0:00:18.083 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:08 -0400 (0:00:00.066) 0:00:18.150 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:08 -0400 (0:00:00.058) 0:00:18.209 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:10 -0400 (0:00:02.043) 0:00:20.252 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:11 -0400 (0:00:00.941) 0:00:21.193 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:11 -0400 (0:00:00.074) 0:00:21.268 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:11 -0400 (0:00:00.031) 0:00:21.299 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:11 -0400 (0:00:00.030) 0:00:21.330 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:11 -0400 (0:00:00.062) 0:00:21.393 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:11 -0400 (0:00:00.060) 0:00:21.453 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:11 -0400 (0:00:00.053) 0:00:21.507 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:11 -0400 (0:00:00.079) 0:00:21.586 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:11 -0400 (0:00:00.111) 0:00:21.697 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:11 -0400 (0:00:00.038) 0:00:21.735 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:11 -0400 (0:00:00.041) 0:00:21.777 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:11 -0400 (0:00:00.065) 0:00:21.842 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:12 -0400 (0:00:00.669) 0:00:22.512 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:12 -0400 (0:00:00.097) 0:00:22.609 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:12 -0400 (0:00:00.094) 0:00:22.704 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:12 -0400 (0:00:00.060) 0:00:22.764 ********* 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, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:13 -0400 (0:00:00.748) 0:00:23.513 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:13 -0400 (0:00:00.082) 0:00:23.596 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:13 -0400 (0:00:00.071) 0:00:23.667 ********* 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, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:13 -0400 (0:00:00.127) 0:00:23.795 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:13 -0400 (0:00:00.056) 0:00:23.851 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 12 August 2024 05:15:14 -0400 (0:00:00.481) 0:00:24.332 ********* 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, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb60ddcc-3910-47a8-ad56-a79c9aefc3fa" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:15:14 -0400 (0:00:00.062) 0:00:24.394 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:15:14 -0400 (0:00:00.152) 0:00:24.547 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:15:14 -0400 (0:00:00.137) 0:00:24.685 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:15:15 -0400 (0:00:00.418) 0:00:25.103 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:15:15 -0400 (0:00:00.043) 0:00:25.147 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:15:15 -0400 (0:00:00.094) 0:00:25.241 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:15:15 -0400 (0:00:00.086) 0:00:25.327 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:15:15 -0400 (0:00:00.437) 0:00:25.765 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:15:15 -0400 (0:00:00.051) 0:00:25.817 ********* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020428", "end": "2024-08-12 05:15:16.174003", "rc": 0, "start": "2024-08-12 05:15:16.153575" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:15:16 -0400 (0:00:00.478) 0:00:26.295 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:15:16 -0400 (0:00:00.051) 0:00:26.347 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:15:16 -0400 (0:00:00.058) 0:00:26.405 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:15:16 -0400 (0:00:00.131) 0:00:26.537 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:15:16 -0400 (0:00:00.054) 0:00:26.591 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:15:16 -0400 (0:00:00.058) 0:00:26.649 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:15:16 -0400 (0:00:00.064) 0:00:26.713 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:15:16 -0400 (0:00:00.058) 0:00:26.771 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:15:16 -0400 (0:00:00.058) 0:00:26.830 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:15:16 -0400 (0:00:00.074) 0:00:26.904 ********* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:15:16 -0400 (0:00:00.053) 0:00:26.958 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:15:17 -0400 (0:00:00.122) 0:00:27.080 ********* 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.040122", "end": "2024-08-12 05:15:17.474415", "rc": 1, "start": "2024-08-12 05:15:17.434293" } STDOUT: Connection 'statebr' (bb60ddcc-3910-47a8-ad56-a79c9aefc3fa) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 12 August 2024 05:15:17 -0400 (0:00:00.533) 0:00:27.614 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:15:17 -0400 (0:00:00.071) 0:00:27.686 ********* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:15:17 -0400 (0:00:00.043) 0:00:27.729 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:15:17 -0400 (0:00:00.068) 0:00:27.798 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:15:17 -0400 (0:00:00.050) 0:00:27.849 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:15:17 -0400 (0:00:00.115) 0:00:27.965 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003447", "end": "2024-08-12 05:15:18.254294", "rc": 0, "start": "2024-08-12 05:15:18.250847" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:15:18 -0400 (0:00:00.416) 0:00:28.381 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:15:18 -0400 (0:00:00.076) 0:00:28.457 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:15:18 -0400 (0:00:00.087) 0:00:28.546 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:15:18 -0400 (0:00:00.119) 0:00:28.665 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:18 -0400 (0:00:00.126) 0:00:28.792 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:18 -0400 (0:00:00.128) 0:00:28.921 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:18 -0400 (0:00:00.092) 0:00:29.013 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:19 -0400 (0:00:00.060) 0:00:29.074 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:19 -0400 (0:00:00.057) 0:00:29.132 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:21 -0400 (0:00:02.048) 0:00:31.180 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:21 -0400 (0:00:00.853) 0:00:32.034 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:22 -0400 (0:00:00.080) 0:00:32.114 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:22 -0400 (0:00:00.031) 0:00:32.146 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:22 -0400 (0:00:00.032) 0:00:32.178 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:22 -0400 (0:00:00.059) 0:00:32.238 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:22 -0400 (0:00:00.064) 0:00:32.302 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:22 -0400 (0:00:00.051) 0:00:32.354 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:22 -0400 (0:00:00.079) 0:00:32.433 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:22 -0400 (0:00:00.140) 0:00:32.573 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:22 -0400 (0:00:00.071) 0:00:32.645 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:22 -0400 (0:00:00.059) 0:00:32.704 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:22 -0400 (0:00:00.104) 0:00:32.809 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:23 -0400 (0:00:00.713) 0:00:33.522 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:23 -0400 (0:00:00.082) 0:00:33.605 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:23 -0400 (0:00:00.035) 0:00:33.640 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:23 -0400 (0:00:00.067) 0:00:33.707 ********* 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, 09ea2428-4d15-48e8-aede-39d9d67bc9ed TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:24 -0400 (0:00:00.715) 0:00:34.422 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:24 -0400 (0:00:00.029) 0:00:34.452 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09ea2428-4d15-48e8-aede-39d9d67bc9ed" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:24 -0400 (0:00:00.036) 0:00:34.488 ********* 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, 09ea2428-4d15-48e8-aede-39d9d67bc9ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09ea2428-4d15-48e8-aede-39d9d67bc9ed" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:24 -0400 (0:00:00.040) 0:00:34.529 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:24 -0400 (0:00:00.136) 0:00:34.665 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:15:25 -0400 (0:00:00.510) 0:00:35.176 ********* 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, 09ea2428-4d15-48e8-aede-39d9d67bc9ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09ea2428-4d15-48e8-aede-39d9d67bc9ed" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:15:25 -0400 (0:00:00.061) 0:00:35.238 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:15:25 -0400 (0:00:00.108) 0:00:35.347 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:25 -0400 (0:00:00.113) 0:00:35.460 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:25 -0400 (0:00:00.106) 0:00:35.567 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:25 -0400 (0:00:00.127) 0:00:35.694 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:25 -0400 (0:00:00.086) 0:00:35.781 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:25 -0400 (0:00:00.062) 0:00:35.843 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:27 -0400 (0:00:01.991) 0:00:37.834 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:28 -0400 (0:00:00.935) 0:00:38.770 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:28 -0400 (0:00:00.079) 0:00:38.850 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:28 -0400 (0:00:00.032) 0:00:38.882 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:28 -0400 (0:00:00.032) 0:00:38.914 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:28 -0400 (0:00:00.061) 0:00:38.976 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:28 -0400 (0:00:00.062) 0:00:39.038 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:29 -0400 (0:00:00.065) 0:00:39.104 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:29 -0400 (0:00:00.094) 0:00:39.199 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:29 -0400 (0:00:00.132) 0:00:39.331 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:29 -0400 (0:00:00.052) 0:00:39.384 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:29 -0400 (0:00:00.043) 0:00:39.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 : Enable and start NetworkManager] ***** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:29 -0400 (0:00:00.070) 0:00:39.499 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:30 -0400 (0:00:00.654) 0:00:40.154 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:30 -0400 (0:00:00.099) 0:00:40.253 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:30 -0400 (0:00:00.056) 0:00:40.310 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:30 -0400 (0:00:00.054) 0:00:40.364 ********* 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, 09ea2428-4d15-48e8-aede-39d9d67bc9ed skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:30 -0400 (0:00:00.681) 0:00:41.046 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:31 -0400 (0:00:00.053) 0:00:41.099 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09ea2428-4d15-48e8-aede-39d9d67bc9ed skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:31 -0400 (0:00:00.060) 0:00:41.160 ********* 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, 09ea2428-4d15-48e8-aede-39d9d67bc9ed skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09ea2428-4d15-48e8-aede-39d9d67bc9ed skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:31 -0400 (0:00:00.059) 0:00:41.220 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:31 -0400 (0:00:00.111) 0:00:41.332 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:15:31 -0400 (0:00:00.480) 0:00:41.813 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:15:31 -0400 (0:00:00.131) 0:00:41.944 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:15:31 -0400 (0:00:00.089) 0:00:42.034 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723454124.2419796, "block_size": 4096, "blocks": 0, "ctime": 1723454124.2419796, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29920, "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": 1723454124.2419796, "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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:15:32 -0400 (0:00:00.465) 0:00:42.500 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:15:32 -0400 (0:00:00.058) 0:00:42.559 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:15:32 -0400 (0:00:00.059) 0:00:42.618 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:15:32 -0400 (0:00:00.034) 0:00:42.653 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:15:33 -0400 (0:00:00.425) 0:00:43.079 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:15:33 -0400 (0:00:00.069) 0:00:43.148 ********* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020345", "end": "2024-08-12 05:15:33.505932", "rc": 0, "start": "2024-08-12 05:15:33.485587" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:15:33 -0400 (0:00:00.490) 0:00:43.638 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:15:33 -0400 (0:00:00.057) 0:00:43.695 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:15:33 -0400 (0:00:00.060) 0:00:43.755 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:15:33 -0400 (0:00:00.078) 0:00:43.833 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:15:33 -0400 (0:00:00.130) 0:00:43.964 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:15:33 -0400 (0:00:00.056) 0:00:44.021 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:15:34 -0400 (0:00:00.064) 0:00:44.085 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:15:34 -0400 (0:00:00.061) 0:00:44.147 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:15:34 -0400 (0:00:00.070) 0:00:44.218 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:15:34 -0400 (0:00:00.090) 0:00:44.308 ********* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:15:34 -0400 (0:00:00.075) 0:00:44.384 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:15:34 -0400 (0:00:00.110) 0:00:44.494 ********* 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.134674", "end": "2024-08-12 05:15:34.931496", "rc": 1, "start": "2024-08-12 05:15:34.796822" } STDOUT: Connection 'statebr' (09ea2428-4d15-48e8-aede-39d9d67bc9ed) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 12 August 2024 05:15:35 -0400 (0:00:00.586) 0:00:45.081 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:15:35 -0400 (0:00:00.098) 0:00:45.180 ********* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:15:35 -0400 (0:00:00.074) 0:00:45.254 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:15:35 -0400 (0:00:00.155) 0:00:45.409 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:15:35 -0400 (0:00:00.092) 0:00:45.502 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:15:35 -0400 (0:00:00.062) 0:00:45.564 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-08-12 05:15:35.862580", "rc": 0, "start": "2024-08-12 05:15:35.859073" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:15:35 -0400 (0:00:00.454) 0:00:46.019 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:15:36 -0400 (0:00:00.112) 0:00:46.131 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:15:36 -0400 (0:00:00.049) 0:00:46.180 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:15:36 -0400 (0:00:00.112) 0:00:46.292 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:36 -0400 (0:00:00.095) 0:00:46.387 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:36 -0400 (0:00:00.112) 0:00:46.500 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:36 -0400 (0:00:00.073) 0:00:46.573 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:36 -0400 (0:00:00.049) 0:00:46.623 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:36 -0400 (0:00:00.060) 0:00:46.683 ********* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:38 -0400 (0:00:02.059) 0:00:48.743 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:39 -0400 (0:00:00.839) 0:00:49.583 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:39 -0400 (0:00:00.041) 0:00:49.624 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:39 -0400 (0:00:00.038) 0:00:49.663 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:39 -0400 (0:00:00.081) 0:00:49.745 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:39 -0400 (0:00:00.062) 0:00:49.808 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:39 -0400 (0:00:00.061) 0:00:49.870 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:39 -0400 (0:00:00.060) 0:00:49.931 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:39 -0400 (0:00:00.090) 0:00:50.021 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:40 -0400 (0:00:00.105) 0:00:50.127 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:40 -0400 (0:00:00.048) 0:00:50.175 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:40 -0400 (0:00:00.061) 0:00:50.237 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:40 -0400 (0:00:00.073) 0:00:50.311 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:40 -0400 (0:00:00.646) 0:00:50.958 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:41 -0400 (0:00:00.105) 0:00:51.063 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:41 -0400 (0:00:00.036) 0:00:51.099 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:41 -0400 (0:00:00.035) 0:00:51.135 ********* 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, 5339c0d6-0c4b-4157-bb4b-fb597e907841 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:41 -0400 (0:00:00.687) 0:00:51.822 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:41 -0400 (0:00:00.056) 0:00:51.879 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5339c0d6-0c4b-4157-bb4b-fb597e907841" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:41 -0400 (0:00:00.069) 0:00:51.948 ********* 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, 5339c0d6-0c4b-4157-bb4b-fb597e907841\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5339c0d6-0c4b-4157-bb4b-fb597e907841" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:41 -0400 (0:00:00.061) 0:00:52.010 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:41 -0400 (0:00:00.042) 0:00:52.053 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:15:42 -0400 (0:00:00.521) 0:00:52.574 ********* 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, 5339c0d6-0c4b-4157-bb4b-fb597e907841\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5339c0d6-0c4b-4157-bb4b-fb597e907841" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:15:42 -0400 (0:00:00.046) 0:00:52.621 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:42 -0400 (0:00:00.092) 0:00:52.713 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:42 -0400 (0:00:00.104) 0:00:52.818 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:42 -0400 (0:00:00.064) 0:00:52.882 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:42 -0400 (0:00:00.039) 0:00:52.922 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:42 -0400 (0:00:00.036) 0:00:52.958 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:44 -0400 (0:00:02.032) 0:00:54.990 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:45 -0400 (0:00:00.993) 0:00:55.984 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:45 -0400 (0:00:00.062) 0:00:56.046 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:46 -0400 (0:00:00.078) 0:00:56.125 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:46 -0400 (0:00:00.070) 0:00:56.195 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:46 -0400 (0:00:00.104) 0:00:56.300 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:46 -0400 (0:00:00.333) 0:00:56.633 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:46 -0400 (0:00:00.105) 0:00:56.739 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:46 -0400 (0:00:00.099) 0:00:56.839 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:46 -0400 (0:00:00.146) 0:00:56.985 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:46 -0400 (0:00:00.054) 0:00:57.040 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:47 -0400 (0:00:00.056) 0:00:57.097 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:47 -0400 (0:00:00.098) 0:00:57.196 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:47 -0400 (0:00:00.695) 0:00:57.891 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:47 -0400 (0:00:00.062) 0:00:57.953 ********* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:47 -0400 (0:00:00.032) 0:00:57.986 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:47 -0400 (0:00:00.031) 0:00:58.017 ********* 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, 5339c0d6-0c4b-4157-bb4b-fb597e907841 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:48 -0400 (0:00:00.636) 0:00:58.654 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:48 -0400 (0:00:00.070) 0:00:58.724 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5339c0d6-0c4b-4157-bb4b-fb597e907841 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:48 -0400 (0:00:00.088) 0:00:58.813 ********* 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, 5339c0d6-0c4b-4157-bb4b-fb597e907841 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5339c0d6-0c4b-4157-bb4b-fb597e907841 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:48 -0400 (0:00:00.066) 0:00:58.879 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:48 -0400 (0:00:00.058) 0:00:58.938 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:15:49 -0400 (0:00:00.431) 0:00:59.370 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:15:49 -0400 (0:00:00.154) 0:00:59.525 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:15:49 -0400 (0:00:00.131) 0:00:59.656 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:15:49 -0400 (0:00:00.088) 0:00:59.744 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:15:49 -0400 (0:00:00.081) 0:00:59.826 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:15:49 -0400 (0:00:00.058) 0:00:59.884 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:15:49 -0400 (0:00:00.059) 0:00:59.943 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:15:51 -0400 (0:00:02.017) 0:01:01.961 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:15:52 -0400 (0:00:00.911) 0:01:02.874 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:15:52 -0400 (0:00:00.063) 0:01:02.937 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:15:52 -0400 (0:00:00.055) 0:01:02.993 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:15:52 -0400 (0:00:00.037) 0:01:03.030 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:15:53 -0400 (0:00:00.072) 0:01:03.102 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:15:53 -0400 (0:00:00.114) 0:01:03.217 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:15:53 -0400 (0:00:00.050) 0:01:03.268 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:15:53 -0400 (0:00:00.063) 0:01:03.331 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:15:53 -0400 (0:00:00.107) 0:01:03.439 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:15:53 -0400 (0:00:00.052) 0:01:03.492 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:15:53 -0400 (0:00:00.053) 0:01:03.545 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:15:53 -0400 (0:00:00.091) 0:01:03.637 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:15:54 -0400 (0:00:00.699) 0:01:04.336 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:15:54 -0400 (0:00:00.059) 0:01:04.395 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:15:54 -0400 (0:00:00.032) 0:01:04.428 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:15:54 -0400 (0:00:00.032) 0:01:04.460 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:15:55 -0400 (0:00:00.607) 0:01:05.067 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:15:55 -0400 (0:00:00.036) 0:01:05.104 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:15:55 -0400 (0:00:00.035) 0:01:05.139 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:15:55 -0400 (0:00:00.036) 0:01:05.176 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:15:55 -0400 (0:00:00.032) 0:01:05.208 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:15:55 -0400 (0:00:00.408) 0:01:05.617 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:15:55 -0400 (0:00:00.144) 0:01:05.761 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:15:55 -0400 (0:00:00.084) 0:01:05.845 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723454141.6048472, "block_size": 4096, "blocks": 0, "ctime": 1723454141.6048472, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30045, "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": 1723454141.6048472, "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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:15:56 -0400 (0:00:00.432) 0:01:06.278 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:15:56 -0400 (0:00:00.040) 0:01:06.319 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:15:56 -0400 (0:00:00.061) 0:01:06.380 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:15:56 -0400 (0:00:00.033) 0:01:06.414 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:15:56 -0400 (0:00:00.398) 0:01:06.812 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:15:56 -0400 (0:00:00.030) 0:01:06.843 ********* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020912", "end": "2024-08-12 05:15:57.162624", "rc": 1, "start": "2024-08-12 05:15:57.141712" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:15:57 -0400 (0:00:00.515) 0:01:07.358 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:15:57 -0400 (0:00:00.110) 0:01:07.469 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:15:57 -0400 (0:00:00.105) 0:01:07.574 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:15:57 -0400 (0:00:00.092) 0:01:07.666 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:15:57 -0400 (0:00:00.053) 0:01:07.719 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:15:57 -0400 (0:00:00.068) 0:01:07.787 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:15:57 -0400 (0:00:00.056) 0:01:07.844 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:15:57 -0400 (0:00:00.168) 0:01:08.013 ********* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:15:58 -0400 (0:00:00.155) 0:01:08.169 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:15:58 -0400 (0:00:00.119) 0:01:08.288 ********* ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.060549", "end": "2024-08-12 05:15:58.646337", "rc": 0, "start": "2024-08-12 05:15:58.585788" } STDOUT: Connection 'statebr' (5339c0d6-0c4b-4157-bb4b-fb597e907841) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 12 August 2024 05:15:58 -0400 (0:00:00.520) 0:01:08.809 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:15:58 -0400 (0:00:00.110) 0:01:08.919 ********* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:15:58 -0400 (0:00:00.062) 0:01:08.982 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:15:59 -0400 (0:00:00.144) 0:01:09.127 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:15:59 -0400 (0:00:00.093) 0:01:09.220 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:15:59 -0400 (0:00:00.080) 0:01:09.301 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003505", "end": "2024-08-12 05:15:59.589582", "rc": 0, "start": "2024-08-12 05:15:59.586077" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:15:59 -0400 (0:00:00.435) 0:01:09.736 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:15:59 -0400 (0:00:00.058) 0:01:09.795 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:15:59 -0400 (0:00:00.061) 0:01:09.856 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:15:59 -0400 (0:00:00.073) 0:01:09.929 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:00 -0400 (0:00:00.169) 0:01:10.098 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:00 -0400 (0:00:00.130) 0:01:10.229 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:00 -0400 (0:00:00.128) 0:01:10.358 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:00 -0400 (0:00:00.072) 0:01:10.431 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:00 -0400 (0:00:00.081) 0:01:10.513 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:02 -0400 (0:00:02.128) 0:01:12.642 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:03 -0400 (0:00:00.941) 0:01:13.584 ********* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:03 -0400 (0:00:00.040) 0:01:13.624 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:03 -0400 (0:00:00.039) 0:01:13.663 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:03 -0400 (0:00:00.034) 0:01:13.698 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:03 -0400 (0:00:00.064) 0:01:13.762 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:03 -0400 (0:00:00.063) 0:01:13.825 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:03 -0400 (0:00:00.050) 0:01:13.875 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:03 -0400 (0:00:00.074) 0:01:13.950 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:04 -0400 (0:00:00.106) 0:01:14.056 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:04 -0400 (0:00:00.099) 0:01:14.156 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:04 -0400 (0:00:00.032) 0:01:14.189 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:04 -0400 (0:00:00.063) 0:01:14.252 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:04 -0400 (0:00:00.668) 0:01:14.920 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:04 -0400 (0:00:00.081) 0:01:15.002 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:04 -0400 (0:00:00.037) 0:01:15.040 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:05 -0400 (0:00:00.046) 0:01:15.086 ********* 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, 3fda8a02-ed98-4878-81e2-0cdd7394533f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:05 -0400 (0:00:00.704) 0:01:15.791 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:05 -0400 (0:00:00.109) 0:01:15.901 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3fda8a02-ed98-4878-81e2-0cdd7394533f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:05 -0400 (0:00:00.113) 0:01:16.015 ********* 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, 3fda8a02-ed98-4878-81e2-0cdd7394533f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3fda8a02-ed98-4878-81e2-0cdd7394533f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:06 -0400 (0:00:00.089) 0:01:16.104 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:06 -0400 (0:00:00.064) 0:01:16.171 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:16:06 -0400 (0:00:00.506) 0:01:16.677 ********* 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, 3fda8a02-ed98-4878-81e2-0cdd7394533f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3fda8a02-ed98-4878-81e2-0cdd7394533f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:16:06 -0400 (0:00:00.035) 0:01:16.713 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:06 -0400 (0:00:00.070) 0:01:16.783 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:06 -0400 (0:00:00.107) 0:01:16.891 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:06 -0400 (0:00:00.057) 0:01:16.948 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:06 -0400 (0:00:00.038) 0:01:16.987 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:06 -0400 (0:00:00.037) 0:01:17.024 ********* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:08 -0400 (0:00:02.019) 0:01:19.044 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:09 -0400 (0:00:00.913) 0:01:19.958 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:09 -0400 (0:00:00.060) 0:01:20.018 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:10 -0400 (0:00:00.055) 0:01:20.074 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:10 -0400 (0:00:00.053) 0:01:20.127 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:10 -0400 (0:00:00.104) 0:01:20.232 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:10 -0400 (0:00:00.099) 0:01:20.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:10 -0400 (0:00:00.088) 0:01:20.420 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:10 -0400 (0:00:00.118) 0:01:20.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:10 -0400 (0:00:00.147) 0:01:20.686 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:10 -0400 (0:00:00.055) 0:01:20.742 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:10 -0400 (0:00:00.053) 0:01:20.795 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:10 -0400 (0:00:00.191) 0:01:20.987 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:11 -0400 (0:00:00.698) 0:01:21.686 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:11 -0400 (0:00:00.098) 0:01:21.784 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:11 -0400 (0:00:00.056) 0:01:21.841 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:11 -0400 (0:00:00.055) 0:01:21.896 ********* 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, 3fda8a02-ed98-4878-81e2-0cdd7394533f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:12 -0400 (0:00:00.680) 0:01:22.576 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:12 -0400 (0:00:00.037) 0:01:22.614 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3fda8a02-ed98-4878-81e2-0cdd7394533f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:12 -0400 (0:00:00.040) 0:01:22.654 ********* 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, 3fda8a02-ed98-4878-81e2-0cdd7394533f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3fda8a02-ed98-4878-81e2-0cdd7394533f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:12 -0400 (0:00:00.048) 0:01:22.703 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:12 -0400 (0:00:00.040) 0:01:22.743 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:16:13 -0400 (0:00:00.416) 0:01:23.159 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:13 -0400 (0:00:00.069) 0:01:23.229 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:13 -0400 (0:00:00.061) 0:01:23.290 ********* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:13 -0400 (0:00:00.059) 0:01:23.350 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:13 -0400 (0:00:00.036) 0:01:23.386 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:13 -0400 (0:00:00.088) 0:01:23.475 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:15 -0400 (0:00:02.035) 0:01:25.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 : Print network provider] ************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:16 -0400 (0:00:00.845) 0:01:26.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:16 -0400 (0:00:00.056) 0:01:26.412 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:16 -0400 (0:00:00.054) 0:01:26.466 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:16 -0400 (0:00:00.053) 0:01:26.520 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:16 -0400 (0:00:00.103) 0:01:26.623 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:16 -0400 (0:00:00.099) 0:01:26.723 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:16 -0400 (0:00:00.134) 0:01:26.858 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:16 -0400 (0:00:00.116) 0:01:26.974 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:17 -0400 (0:00:00.195) 0:01:27.170 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:17 -0400 (0:00:00.058) 0:01:27.229 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:17 -0400 (0:00:00.054) 0:01:27.283 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:17 -0400 (0:00:00.078) 0:01:27.361 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:17 -0400 (0:00:00.690) 0:01:28.052 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:18 -0400 (0:00:00.100) 0:01:28.152 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:18 -0400 (0:00:00.123) 0:01:28.276 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:18 -0400 (0:00:00.054) 0:01:28.330 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:19 -0400 (0:00:00.762) 0:01:29.093 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:19 -0400 (0:00:00.078) 0:01:29.171 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:19 -0400 (0:00:00.061) 0:01:29.233 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:19 -0400 (0:00:00.062) 0:01:29.296 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:19 -0400 (0:00:00.063) 0:01:29.359 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:16:19 -0400 (0:00:00.472) 0:01:29.832 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:16:19 -0400 (0:00:00.081) 0:01:29.914 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:19 -0400 (0:00:00.078) 0:01:29.993 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:20 -0400 (0:00:00.076) 0:01:30.069 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:20 -0400 (0:00:00.057) 0:01:30.127 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:20 -0400 (0:00:00.037) 0:01:30.164 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:20 -0400 (0:00:00.036) 0:01:30.201 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:22 -0400 (0:00:02.212) 0:01:32.413 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:23 -0400 (0:00:00.949) 0:01:33.363 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:23 -0400 (0:00:00.055) 0:01:33.418 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:23 -0400 (0:00:00.038) 0:01:33.457 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:23 -0400 (0:00:00.038) 0:01:33.495 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:23 -0400 (0:00:00.071) 0:01:33.567 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:23 -0400 (0:00:00.064) 0:01:33.631 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:23 -0400 (0:00:00.053) 0:01:33.684 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:23 -0400 (0:00:00.059) 0:01:33.744 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:23 -0400 (0:00:00.088) 0:01:33.832 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:23 -0400 (0:00:00.031) 0:01:33.863 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:23 -0400 (0:00:00.032) 0:01:33.896 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:23 -0400 (0:00:00.060) 0:01:33.956 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:24 -0400 (0:00:00.669) 0:01:34.626 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:24 -0400 (0:00:00.080) 0:01:34.706 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:24 -0400 (0:00:00.047) 0:01:34.754 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:24 -0400 (0:00:00.127) 0:01:34.881 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:25 -0400 (0:00:00.741) 0:01:35.623 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:25 -0400 (0:00:00.033) 0:01:35.656 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:25 -0400 (0:00:00.037) 0:01:35.693 ********* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:25 -0400 (0:00:00.036) 0:01:35.730 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:25 -0400 (0:00:00.032) 0:01:35.763 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:16:26 -0400 (0:00:00.430) 0:01:36.193 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:16:26 -0400 (0:00:00.098) 0:01:36.291 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:16:26 -0400 (0:00:00.076) 0:01:36.368 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:16:26 -0400 (0:00:00.042) 0:01:36.411 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:16:26 -0400 (0:00:00.403) 0:01:36.814 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:16:26 -0400 (0:00:00.037) 0:01:36.851 ********* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019406", "end": "2024-08-12 05:16:27.151904", "rc": 1, "start": "2024-08-12 05:16:27.132498" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:16:27 -0400 (0:00:00.429) 0:01:37.281 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:16:27 -0400 (0:00:00.035) 0:01:37.317 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:16:27 -0400 (0:00:00.039) 0:01:37.356 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:16:27 -0400 (0:00:00.044) 0:01:37.401 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:16:27 -0400 (0:00:00.105) 0:01:37.507 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:16:27 -0400 (0:00:00.056) 0:01:37.563 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:16:27 -0400 (0:00:00.062) 0:01:37.625 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:16:27 -0400 (0:00:00.123) 0:01:37.749 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:16:27 -0400 (0:00:00.074) 0:01:37.823 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:16:28 -0400 (0:00:00.446) 0:01:38.269 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:16:28 -0400 (0:00:00.043) 0:01:38.313 ********* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:16:28 -0400 (0:00:00.049) 0:01:38.363 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:16:28 -0400 (0:00:00.121) 0:01:38.484 ********* 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.039363", "end": "2024-08-12 05:16:28.843594", "rc": 1, "start": "2024-08-12 05:16:28.804231" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 12 August 2024 05:16:28 -0400 (0:00:00.488) 0:01:38.973 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:16:28 -0400 (0:00:00.056) 0:01:39.029 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:16:29 -0400 (0:00:00.034) 0:01:39.064 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:16:29 -0400 (0:00:00.069) 0:01:39.133 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:16:29 -0400 (0:00:00.138) 0:01:39.272 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:16:29 -0400 (0:00:00.102) 0:01:39.375 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2024-08-12 05:16:29.682393", "rc": 0, "start": "2024-08-12 05:16:29.678934" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:16:29 -0400 (0:00:00.430) 0:01:39.805 ********* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:16:29 -0400 (0:00:00.035) 0:01:39.841 ********* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:16:29 -0400 (0:00:00.035) 0:01:39.877 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:16:29 -0400 (0:00:00.063) 0:01:39.941 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:29 -0400 (0:00:00.071) 0:01:40.013 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:30 -0400 (0:00:00.075) 0:01:40.088 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:30 -0400 (0:00:00.084) 0:01:40.173 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:30 -0400 (0:00:00.060) 0:01:40.234 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:30 -0400 (0:00:00.061) 0:01:40.295 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:32 -0400 (0:00:02.009) 0:01:42.305 ********* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:33 -0400 (0:00:00.909) 0:01:43.214 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:33 -0400 (0:00:00.042) 0:01:43.257 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:33 -0400 (0:00:00.032) 0:01:43.290 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:33 -0400 (0:00:00.031) 0:01:43.321 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:33 -0400 (0:00:00.064) 0:01:43.385 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:33 -0400 (0:00:00.060) 0:01:43.446 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:33 -0400 (0:00:00.055) 0:01:43.501 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:33 -0400 (0:00:00.060) 0:01:43.562 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:33 -0400 (0:00:00.086) 0:01:43.649 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:33 -0400 (0:00:00.033) 0:01:43.682 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:33 -0400 (0:00:00.031) 0:01:43.714 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:33 -0400 (0:00:00.062) 0:01:43.776 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:34 -0400 (0:00:00.614) 0:01:44.390 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:34 -0400 (0:00:00.058) 0:01:44.449 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:34 -0400 (0:00:00.033) 0:01:44.482 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:34 -0400 (0:00:00.031) 0:01:44.513 ********* 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, e001e932-9251-42d9-93be-808a9f6c3ee6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:35 -0400 (0:00:00.673) 0:01:45.187 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:35 -0400 (0:00:00.033) 0:01:45.220 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e001e932-9251-42d9-93be-808a9f6c3ee6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:35 -0400 (0:00:00.091) 0:01:45.311 ********* 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, e001e932-9251-42d9-93be-808a9f6c3ee6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e001e932-9251-42d9-93be-808a9f6c3ee6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:35 -0400 (0:00:00.037) 0:01:45.349 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:35 -0400 (0:00:00.032) 0:01:45.381 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:16:35 -0400 (0:00:00.401) 0:01:45.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, e001e932-9251-42d9-93be-808a9f6c3ee6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e001e932-9251-42d9-93be-808a9f6c3ee6" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:16:35 -0400 (0:00:00.036) 0:01:45.819 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:35 -0400 (0:00:00.069) 0:01:45.889 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:35 -0400 (0:00:00.061) 0:01:45.950 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:35 -0400 (0:00:00.055) 0:01:46.006 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:35 -0400 (0:00:00.037) 0:01:46.043 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:36 -0400 (0:00:00.037) 0:01:46.080 ********* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:37 -0400 (0:00:01.937) 0:01:48.017 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:38 -0400 (0:00:00.847) 0:01:48.865 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:38 -0400 (0:00:00.089) 0:01:48.954 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:38 -0400 (0:00:00.032) 0:01:48.987 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:38 -0400 (0:00:00.031) 0:01:49.019 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:39 -0400 (0:00:00.065) 0:01:49.084 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:39 -0400 (0:00:00.061) 0:01:49.146 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:39 -0400 (0:00:00.055) 0:01:49.201 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:39 -0400 (0:00:00.061) 0:01:49.262 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:39 -0400 (0:00:00.092) 0:01:49.355 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:39 -0400 (0:00:00.033) 0:01:49.389 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:39 -0400 (0:00:00.031) 0:01:49.421 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:39 -0400 (0:00:00.063) 0:01:49.485 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:40 -0400 (0:00:00.618) 0:01:50.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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:40 -0400 (0:00:00.058) 0:01:50.161 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:40 -0400 (0:00:00.032) 0:01:50.194 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:40 -0400 (0:00:00.030) 0:01:50.224 ********* 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, e001e932-9251-42d9-93be-808a9f6c3ee6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:40 -0400 (0:00:00.566) 0:01:50.791 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:40 -0400 (0:00:00.032) 0:01:50.824 ********* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e001e932-9251-42d9-93be-808a9f6c3ee6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:40 -0400 (0:00:00.035) 0:01:50.859 ********* 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, e001e932-9251-42d9-93be-808a9f6c3ee6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e001e932-9251-42d9-93be-808a9f6c3ee6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:40 -0400 (0:00:00.087) 0:01:50.947 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:40 -0400 (0:00:00.031) 0:01:50.978 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:16:41 -0400 (0:00:00.402) 0:01:51.380 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:41 -0400 (0:00:00.068) 0:01:51.449 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:41 -0400 (0:00:00.061) 0:01:51.510 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:41 -0400 (0:00:00.059) 0:01:51.570 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:41 -0400 (0:00:00.036) 0:01:51.606 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:41 -0400 (0:00:00.037) 0:01:51.644 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:43 -0400 (0:00:01.910) 0:01:53.554 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:44 -0400 (0:00:00.787) 0:01:54.342 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:44 -0400 (0:00:00.043) 0:01:54.385 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:44 -0400 (0:00:00.033) 0:01:54.419 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:44 -0400 (0:00:00.033) 0:01:54.452 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:44 -0400 (0:00:00.169) 0:01:54.622 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:44 -0400 (0:00:00.064) 0:01:54.686 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:44 -0400 (0:00:00.051) 0:01:54.738 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:44 -0400 (0:00:00.063) 0:01:54.802 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:44 -0400 (0:00:00.086) 0:01:54.889 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:44 -0400 (0:00:00.032) 0:01:54.921 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:44 -0400 (0:00:00.032) 0:01:54.954 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:44 -0400 (0:00:00.058) 0:01:55.013 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:45 -0400 (0:00:00.624) 0:01:55.638 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:45 -0400 (0:00:00.060) 0:01:55.699 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:45 -0400 (0:00:00.031) 0:01:55.730 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:45 -0400 (0:00:00.032) 0:01:55.763 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:46 -0400 (0:00:00.665) 0:01:56.428 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:46 -0400 (0:00:00.033) 0:01:56.461 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:46 -0400 (0:00:00.035) 0:01:56.497 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:46 -0400 (0:00:00.037) 0:01:56.534 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:46 -0400 (0:00:00.032) 0:01:56.567 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:16:46 -0400 (0:00:00.454) 0:01:57.022 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:16:47 -0400 (0:00:00.057) 0:01:57.079 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:16:47 -0400 (0:00:00.069) 0:01:57.149 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:16:47 -0400 (0:00:00.062) 0:01:57.211 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:16:47 -0400 (0:00:00.057) 0:01:57.269 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:16:47 -0400 (0:00:00.038) 0:01:57.307 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:16:47 -0400 (0:00:00.036) 0:01:57.344 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:16:49 -0400 (0:00:01.922) 0:01:59.267 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:16:49 -0400 (0:00:00.786) 0:02:00.054 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:16:50 -0400 (0:00:00.036) 0:02:00.090 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:16:50 -0400 (0:00:00.032) 0:02:00.123 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:16:50 -0400 (0:00:00.031) 0:02:00.154 ********* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:16:50 -0400 (0:00:00.110) 0:02:00.265 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:16:50 -0400 (0:00:00.061) 0:02:00.326 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:16:50 -0400 (0:00:00.055) 0:02:00.382 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:16:50 -0400 (0:00:00.066) 0:02:00.448 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:16:50 -0400 (0:00:00.087) 0:02:00.536 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:16:50 -0400 (0:00:00.032) 0:02:00.569 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:16:50 -0400 (0:00:00.031) 0:02:00.600 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:16:50 -0400 (0:00:00.062) 0:02:00.663 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:16:51 -0400 (0:00:00.614) 0:02:01.277 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:16:51 -0400 (0:00:00.063) 0:02:01.341 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:16:51 -0400 (0:00:00.033) 0:02:01.374 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:16:51 -0400 (0:00:00.031) 0:02:01.405 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:16:51 -0400 (0:00:00.595) 0:02:02.001 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:16:51 -0400 (0:00:00.031) 0:02:02.032 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:16:52 -0400 (0:00:00.036) 0:02:02.069 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:16:52 -0400 (0:00:00.037) 0:02:02.106 ********* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:16:52 -0400 (0:00:00.031) 0:02:02.138 ********* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:16:52 -0400 (0:00:00.404) 0:02:02.543 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:16:52 -0400 (0:00:00.115) 0:02:02.658 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:16:52 -0400 (0:00:00.055) 0:02:02.713 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:16:52 -0400 (0:00:00.033) 0:02:02.747 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:16:53 -0400 (0:00:00.429) 0:02:03.177 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:16:53 -0400 (0:00:00.032) 0:02:03.209 ********* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018968", "end": "2024-08-12 05:16:53.497273", "rc": 1, "start": "2024-08-12 05:16:53.478305" } 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:16:53 -0400 (0:00:00.409) 0:02:03.619 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:16:53 -0400 (0:00:00.033) 0:02:03.652 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:16:53 -0400 (0:00:00.032) 0:02:03.685 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:16:53 -0400 (0:00:00.033) 0:02:03.718 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:16:53 -0400 (0:00:00.031) 0:02:03.750 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:16:53 -0400 (0:00:00.032) 0:02:03.782 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 12 August 2024 05:16:53 -0400 (0:00:00.036) 0:02:03.819 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.190704", "end": "2024-08-12 05:16:54.277628", "rc": 0, "start": "2024-08-12 05:16:54.086924" } STDOUT: NetworkManager-1.48.4-1.el10.1 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 12 August 2024 05:16:54 -0400 (0:00:00.581) 0:02:04.400 ********* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 12 August 2024 05:16:54 -0400 (0:00:00.036) 0:02:04.436 ********* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:16:54 -0400 (0:00:00.034) 0:02:04.471 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:16:54 -0400 (0:00:00.140) 0:02:04.611 ********* included: /tmp/collections-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:16:54 -0400 (0:00:00.053) 0:02:04.664 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:16:55 -0400 (0:00:00.393) 0:02:05.058 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:16:55 -0400 (0:00:00.038) 0:02:05.096 ********* 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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:16:55 -0400 (0:00:00.035) 0:02:05.132 ********* included: /tmp/collections-sIv/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-sIv/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-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:16:55 -0400 (0:00:00.064) 0:02:05.196 ********* 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.037127", "end": "2024-08-12 05:16:55.499511", "rc": 1, "start": "2024-08-12 05:16:55.462384" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 12 August 2024 05:16:55 -0400 (0:00:00.424) 0:02:05.620 ********* 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.009092", "end": "2024-08-12 05:16:55.894683", "rc": 0, "start": "2024-08-12 05:16:55.885591" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:de:6b:92:d7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.116/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2986sec preferred_lft 2986sec inet6 fe80::8ff:deff:fe6b:92d7/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.116 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.116 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 12 August 2024 05:16:55 -0400 (0:00:00.395) 0:02:06.016 ********* 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.393510", "end": "2024-08-12 05:16:56.688007", "rc": 0, "start": "2024-08-12 05:16:56.294497" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2067 0 --:--:-- --:--:-- --:--:-- 2060 % 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 1324 0 --:--:-- --:--:-- --:--:-- 1328 PLAY RECAP ********************************************************************* managed_node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Monday 12 August 2024 05:16:56 -0400 (0:00:00.844) 0:02:06.861 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.21s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.06s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.01s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.18s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-sIv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3