ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-RB5 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-RB5/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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 03 October 2024 23:56:01 -0400 (0:00:00.035) 0:00:00.035 ****** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 03 October 2024 23:56:03 -0400 (0:00:01.865) 0:00:01.901 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:56:03 -0400 (0:00:00.030) 0:00:01.931 ****** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:56:03 -0400 (0:00:00.580) 0:00:02.512 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.703) 0:00:03.215 ****** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.063) 0:00:03.278 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.026) 0:00:03.304 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 39] ********************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.105) 0:00:03.410 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.027) 0:00:03.438 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.025) 0:00:03.463 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.027) 0:00:03.491 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.028) 0:00:03.520 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.029) 0:00:03.550 ****** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.056) 0:00:03.607 ****** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:56:05 -0400 (0:00:00.945) 0:00:04.552 ****** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:56:05 -0400 (0:00:00.027) 0:00:04.580 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:05 -0400 (0:00:00.058) 0:00:04.638 ****** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.032) 0:00:04.671 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.102) 0:00:04.773 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.042) 0:00:04.815 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.027) 0:00:04.843 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003701", "end": "2024-10-03 23:56:06.623289", "rc": 0, "start": "2024-10-03 23:56:06.619588" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.481) 0:00:05.324 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.024) 0:00:05.349 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.020) 0:00:05.370 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.033) 0:00:05.403 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007597", "end": "2024-10-03 23:56:07.075718", "rc": 1, "start": "2024-10-03 23:56:07.068121" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.373) 0:00:05.777 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.025) 0:00:05.803 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.388) 0:00:06.191 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.029) 0:00:06.221 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.035) 0:00:06.257 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.052) 0:00:06.309 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.040) 0:00:06.350 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.044) 0:00:06.395 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.027) 0:00:06.423 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.029) 0:00:06.452 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:10 -0400 (0:00:02.440) 0:00:08.893 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:11 -0400 (0:00:01.743) 0:00:10.636 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.087) 0:00:10.724 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.069) 0:00:10.793 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.056) 0:00:10.850 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.090) 0:00:10.941 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.079) 0:00:11.020 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.084) 0:00:11.105 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.217) 0:00:11.322 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.171) 0:00:11.494 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.052) 0:00:11.547 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:12 -0400 (0:00:00.058) 0:00:11.606 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:13 -0400 (0:00:00.080) 0:00:11.686 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:13 -0400 (0:00:00.956) 0:00:12.642 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.140) 0:00:12.782 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.092) 0:00:12.875 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.145) 0:00:13.020 ****** changed: [managed-node3] => { "_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, 17f01705-9e5a-4f83-91d3-1d8df4f818be TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:15 -0400 (0:00:01.064) 0:00:14.085 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.166) 0:00:14.252 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17f01705-9e5a-4f83-91d3-1d8df4f818be" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.168) 0:00:14.422 ****** ok: [managed-node3] => { "__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, 17f01705-9e5a-4f83-91d3-1d8df4f818be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17f01705-9e5a-4f83-91d3-1d8df4f818be" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.167) 0:00:14.590 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.109) 0:00:14.700 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.791) 0:00:15.492 ****** ok: [managed-node3] => { "__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, 17f01705-9e5a-4f83-91d3-1d8df4f818be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17f01705-9e5a-4f83-91d3-1d8df4f818be" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.136) 0:00:15.629 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:17 -0400 (0:00:00.222) 0:00:15.852 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:17 -0400 (0:00:00.241) 0:00:16.094 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:17 -0400 (0:00:00.102) 0:00:16.196 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:17 -0400 (0:00:00.448) 0:00:16.645 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.118) 0:00:16.763 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018757", "end": "2024-10-03 23:56:18.525272", "rc": 0, "start": "2024-10-03 23:56:18.506515" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.567) 0:00:17.331 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.136) 0:00:17.467 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.110) 0:00:17.578 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.094) 0:00:17.672 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.088) 0:00:17.761 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.084) 0:00:17.846 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.097) 0:00:17.943 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.180) 0:00:18.124 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.149) 0:00:18.274 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.391) 0:00:18.665 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.211) 0:00:18.876 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728014175.1682997, "block_size": 4096, "blocks": 0, "ctime": 1728014175.1682997, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39729, "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": 1728014175.1682997, "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.481) 0:00:19.358 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.095) 0:00:19.454 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.072) 0:00:19.526 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.116) 0:00:19.642 ****** fatal: [managed-node3]: 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.058522", "end": "2024-10-03 23:56:21.367411", "rc": 1, "start": "2024-10-03 23:56:21.308889" } STDOUT: Connection 'statebr' (17f01705-9e5a-4f83-91d3-1d8df4f818be) 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.471) 0:00:20.113 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.109) 0:00:20.223 ****** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.053) 0:00:20.276 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.086) 0:00:20.363 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.173) 0:00:20.536 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.137) 0:00:20.674 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-10-03 23:56:22.411605", "rc": 0, "start": "2024-10-03 23:56:22.408128" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.465) 0:00:21.139 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.048) 0:00:21.187 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.061) 0:00:21.248 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.292) 0:00:21.541 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006500", "end": "2024-10-03 23:56:23.310210", "rc": 1, "start": "2024-10-03 23:56:23.303710" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.533) 0:00:22.074 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.134) 0:00:22.209 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.427) 0:00:22.637 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.098) 0:00:22.736 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.262) 0:00:22.998 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.387) 0:00:23.386 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.297) 0:00:23.683 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.138) 0:00:23.822 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.112) 0:00:23.935 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.104) 0:00:24.040 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:27 -0400 (0:00:02.413) 0:00:26.453 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:28 -0400 (0:00:01.157) 0:00:27.610 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.167) 0:00:27.778 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.092) 0:00:27.871 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.121) 0:00:27.992 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.210) 0:00:28.203 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.172) 0:00:28.375 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.140) 0:00:28.516 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.240) 0:00:28.756 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.237) 0:00:28.994 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.080) 0:00:29.074 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.074) 0:00:29.149 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.171) 0:00:29.320 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.852) 0:00:30.172 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.143) 0:00:30.316 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.081) 0:00:30.397 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.077) 0:00:30.474 ****** changed: [managed-node3] => { "_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, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.836) 0:00:31.311 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.080) 0:00:31.392 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.086) 0:00:31.479 ****** ok: [managed-node3] => { "__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, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.086) 0:00:31.565 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.111) 0:00:31.676 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.458) 0:00:32.135 ****** ok: [managed-node3] => { "__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, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.088) 0:00:32.224 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.093) 0:00:32.318 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.078) 0:00:32.396 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.428) 0:00:32.825 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.083) 0:00:32.908 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.186) 0:00:33.095 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.079) 0:00:33.174 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.444) 0:00:33.619 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.065) 0:00:33.684 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020044", "end": "2024-10-03 23:56:35.381465", "rc": 0, "start": "2024-10-03 23:56:35.361421" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.490) 0:00:34.174 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.174) 0:00:34.349 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.160) 0:00:34.510 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.107) 0:00:34.617 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.181) 0:00:34.798 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.097) 0:00:34.896 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.092) 0:00:34.988 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.092) 0:00:35.080 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.096) 0:00:35.176 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.082) 0:00:35.258 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.052) 0:00:35.311 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.086) 0:00:35.398 ****** fatal: [managed-node3]: 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.038400", "end": "2024-10-03 23:56:37.110940", "rc": 1, "start": "2024-10-03 23:56:37.072540" } STDOUT: Connection 'statebr' (eb3ae5b1-6aae-46b3-90a1-cc0650b4e7e0) 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.495) 0:00:35.894 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.166) 0:00:36.060 ****** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.081) 0:00:36.142 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.238) 0:00:36.381 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.200) 0:00:36.581 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.265) 0:00:36.847 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003570", "end": "2024-10-03 23:56:38.566716", "rc": 0, "start": "2024-10-03 23:56:38.563146" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.477) 0:00:37.324 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.114) 0:00:37.438 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.090) 0:00:37.529 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.193) 0:00:37.722 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.186) 0:00:37.909 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.170) 0:00:38.079 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.117) 0:00:38.196 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.072) 0:00:38.269 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.089) 0:00:38.358 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:41 -0400 (0:00:02.280) 0:00:40.639 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:43 -0400 (0:00:01.130) 0:00:41.769 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.059) 0:00:41.829 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.078) 0:00:41.907 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.075) 0:00:41.983 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.094) 0:00:42.077 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.124) 0:00:42.202 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.109) 0:00:42.312 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.106) 0:00:42.418 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.134) 0:00:42.553 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.045) 0:00:42.599 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.046) 0:00:42.645 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.078) 0:00:42.724 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.642) 0:00:43.367 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.082) 0:00:43.449 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.109) 0:00:43.559 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.045) 0:00:43.605 ****** changed: [managed-node3] => { "_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, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.697) 0:00:44.302 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.080) 0:00:44.383 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.097) 0:00:44.481 ****** ok: [managed-node3] => { "__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, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.154) 0:00:44.635 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.141) 0:00:44.776 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.456) 0:00:45.232 ****** ok: [managed-node3] => { "__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, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.051) 0:00:45.284 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.082) 0:00:45.366 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.100) 0:00:45.467 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.127) 0:00:45.595 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.302) 0:00:45.897 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.156) 0:00:46.053 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.091) 0:00:46.144 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:49 -0400 (0:00:02.375) 0:00:48.520 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:51 -0400 (0:00:01.264) 0:00:49.784 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.088) 0:00:49.873 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.082) 0:00:49.956 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.074) 0:00:50.030 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.086) 0:00:50.117 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.089) 0:00:50.207 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.066) 0:00:50.273 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.082) 0:00:50.356 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.177) 0:00:50.533 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.078) 0:00:50.612 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.111) 0:00:50.723 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.089) 0:00:50.813 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.686) 0:00:51.500 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.138) 0:00:51.638 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.108) 0:00:51.747 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.113) 0:00:51.861 ****** ok: [managed-node3] => { "_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, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.819) 0:00:52.680 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.084) 0:00:52.765 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.090) 0:00:52.856 ****** ok: [managed-node3] => { "__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, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c4bc77d5-c02a-4cf0-aa4c-c6164f38526b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.099) 0:00:52.956 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.083) 0:00:53.039 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.575) 0:00:53.615 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.153) 0:00:53.768 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.147) 0:00:53.916 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728014205.4804742, "block_size": 4096, "blocks": 0, "ctime": 1728014205.4804742, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39854, "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": 1728014205.4804742, "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.406) 0:00:54.323 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.057) 0:00:54.380 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.151) 0:00:54.531 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.082) 0:00:54.614 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.447) 0:00:55.061 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.050) 0:00:55.112 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020359", "end": "2024-10-03 23:56:56.828689", "rc": 0, "start": "2024-10-03 23:56:56.808330" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.481) 0:00:55.593 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.093) 0:00:55.687 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.084) 0:00:55.772 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.084) 0:00:55.856 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.087) 0:00:55.943 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.068) 0:00:56.012 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.072) 0:00:56.084 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.091) 0:00:56.175 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.124) 0:00:56.299 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.231) 0:00:56.531 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.058) 0:00:56.589 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.112) 0:00:56.701 ****** ok: [managed-node3] => { "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.055994", "end": "2024-10-03 23:56:58.446774", "rc": 0, "start": "2024-10-03 23:56:58.390780" } STDOUT: Connection 'statebr' (c4bc77d5-c02a-4cf0-aa4c-c6164f38526b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.490) 0:00:57.192 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.103) 0:00:57.295 ****** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.050) 0:00:57.346 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.089) 0:00:57.435 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.099) 0:00:57.535 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.135) 0:00:57.670 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-10-03 23:56:59.353815", "rc": 0, "start": "2024-10-03 23:56:59.350430" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.411) 0:00:58.081 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.051) 0:00:58.132 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.060) 0:00:58.193 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.209) 0:00:58.403 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.160) 0:00:58.563 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.098) 0:00:58.662 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.077) 0:00:58.740 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.056) 0:00:58.796 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.080) 0:00:58.876 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:02 -0400 (0:00:02.367) 0:01:01.244 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:03 -0400 (0:00:01.052) 0:01:02.297 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.050) 0:01:02.347 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.089) 0:01:02.437 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.066) 0:01:02.503 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.073) 0:01:02.577 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.096) 0:01:02.673 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.111) 0:01:02.785 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.179) 0:01:02.964 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.212) 0:01:03.177 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.079) 0:01:03.256 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.053) 0:01:03.310 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.128) 0:01:03.439 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.801) 0:01:04.241 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.135) 0:01:04.376 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.077) 0:01:04.454 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.077) 0:01:04.531 ****** changed: [managed-node3] => { "_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, 809c0166-b25e-4529-973b-a48cb6f11440 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.871) 0:01:05.402 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.079) 0:01:05.481 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 809c0166-b25e-4529-973b-a48cb6f11440" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.085) 0:01:05.566 ****** ok: [managed-node3] => { "__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, 809c0166-b25e-4529-973b-a48cb6f11440\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 809c0166-b25e-4529-973b-a48cb6f11440" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.149) 0:01:05.716 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.068) 0:01:05.785 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.444) 0:01:06.230 ****** ok: [managed-node3] => { "__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, 809c0166-b25e-4529-973b-a48cb6f11440\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 809c0166-b25e-4529-973b-a48cb6f11440" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.062) 0:01:06.292 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.104) 0:01:06.397 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.100) 0:01:06.498 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.132) 0:01:06.630 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.104) 0:01:06.734 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.106) 0:01:06.841 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:10 -0400 (0:00:02.293) 0:01:09.134 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:12 -0400 (0:00:01.534) 0:01:10.669 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.142) 0:01:10.811 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.094) 0:01:10.905 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.079) 0:01:10.985 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.166) 0:01:11.151 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.163) 0:01:11.315 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.214) 0:01:11.530 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.245) 0:01:11.775 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.188) 0:01:11.964 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.078) 0:01:12.042 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.081) 0:01:12.124 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.137) 0:01:12.261 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.837) 0:01:13.099 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.143) 0:01:13.243 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.052) 0:01:13.296 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.046) 0:01:13.342 ****** ok: [managed-node3] => { "_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, 809c0166-b25e-4529-973b-a48cb6f11440 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.838) 0:01:14.180 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.100) 0:01:14.280 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 809c0166-b25e-4529-973b-a48cb6f11440 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.061) 0:01:14.342 ****** ok: [managed-node3] => { "__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, 809c0166-b25e-4529-973b-a48cb6f11440 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 809c0166-b25e-4529-973b-a48cb6f11440 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.065) 0:01:14.408 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.047) 0:01:14.456 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.486) 0:01:14.943 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.165) 0:01:15.108 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.184) 0:01:15.293 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.210) 0:01:15.504 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.132) 0:01:15.636 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.090) 0:01:15.727 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.104) 0:01:15.831 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:19 -0400 (0:00:02.597) 0:01:18.429 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:20 -0400 (0:00:01.064) 0:01:19.494 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.095) 0:01:19.589 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.097) 0:01:19.686 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.078) 0:01:19.764 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.118) 0:01:19.883 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.135) 0:01:20.018 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.112) 0:01:20.130 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.166) 0:01:20.297 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.227) 0:01:20.524 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.091) 0:01:20.616 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.085) 0:01:20.701 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.191) 0:01:20.893 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.826) 0:01:21.719 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.192) 0:01:21.912 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.079) 0:01:21.991 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.076) 0:01:22.067 ****** changed: [managed-node3] => { "_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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.752) 0:01:22.820 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.097) 0:01:22.917 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.105) 0:01:23.023 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.160) 0:01:23.184 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.111) 0:01:23.295 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.549) 0:01:23.845 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.335) 0:01:24.181 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.125) 0:01:24.307 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728014226.505799, "block_size": 4096, "blocks": 0, "ctime": 1728014226.505799, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39979, "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": 1728014226.505799, "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.499) 0:01:24.806 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.049) 0:01:24.856 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.128) 0:01:24.985 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.048) 0:01:25.033 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.453) 0:01:25.487 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.063) 0:01:25.550 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019132", "end": "2024-10-03 23:57:27.249396", "rc": 1, "start": "2024-10-03 23:57:27.230264" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.441) 0:01:25.991 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.083) 0:01:26.074 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.081) 0:01:26.156 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.060) 0:01:26.217 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.053) 0:01:26.270 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.047) 0:01:26.318 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.051) 0:01:26.369 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.071) 0:01:26.440 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.076) 0:01:26.517 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.163) 0:01:26.681 ****** ok: [managed-node3] => { "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.061384", "end": "2024-10-03 23:57:28.485819", "rc": 0, "start": "2024-10-03 23:57:28.424435" } STDOUT: Connection 'statebr' (809c0166-b25e-4529-973b-a48cb6f11440) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.588) 0:01:27.270 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.082) 0:01:27.352 ****** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.054) 0:01:27.407 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.140) 0:01:27.547 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.113) 0:01:27.661 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.169) 0:01:27.830 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003537", "end": "2024-10-03 23:57:29.575879", "rc": 0, "start": "2024-10-03 23:57:29.572342" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.508) 0:01:28.339 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.083) 0:01:28.423 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.062) 0:01:28.485 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.098) 0:01:28.584 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.101) 0:01:28.686 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.233) 0:01:28.919 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.101) 0:01:29.020 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.066) 0:01:29.086 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.057) 0:01:29.143 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:32 -0400 (0:00:02.272) 0:01:31.416 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:33 -0400 (0:00:01.025) 0:01:32.441 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.050) 0:01:32.492 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.045) 0:01:32.537 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.047) 0:01:32.585 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.071) 0:01:32.656 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.081) 0:01:32.737 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.073) 0:01:32.810 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.126) 0:01:32.936 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.114) 0:01:33.050 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.067) 0:01:33.118 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.046) 0:01:33.164 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.078) 0:01:33.242 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.653) 0:01:33.896 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.079) 0:01:33.975 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.044) 0:01:34.020 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.046) 0:01:34.066 ****** changed: [managed-node3] => { "_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, fe1a7bed-c601-40f6-93d9-6d05d649a010 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.801) 0:01:34.868 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.092) 0:01:34.960 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1a7bed-c601-40f6-93d9-6d05d649a010" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.089) 0:01:35.050 ****** ok: [managed-node3] => { "__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, fe1a7bed-c601-40f6-93d9-6d05d649a010\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1a7bed-c601-40f6-93d9-6d05d649a010" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.089) 0:01:35.139 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.107) 0:01:35.247 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.458) 0:01:35.705 ****** ok: [managed-node3] => { "__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, fe1a7bed-c601-40f6-93d9-6d05d649a010\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1a7bed-c601-40f6-93d9-6d05d649a010" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.085) 0:01:35.791 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.251) 0:01:36.043 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.290) 0:01:36.333 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.237) 0:01:36.570 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.111) 0:01:36.682 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.107) 0:01:36.790 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:40 -0400 (0:00:02.354) 0:01:39.145 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:41 -0400 (0:00:01.256) 0:01:40.401 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.144) 0:01:40.546 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.121) 0:01:40.668 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.092) 0:01:40.760 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.170) 0:01:40.931 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.264) 0:01:41.195 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.071) 0:01:41.267 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.116) 0:01:41.384 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.288) 0:01:41.672 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.080) 0:01:41.752 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.116) 0:01:41.869 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.218) 0:01:42.087 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.814) 0:01:42.901 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.086) 0:01:42.987 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.068) 0:01:43.056 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.079) 0:01:43.135 ****** ok: [managed-node3] => { "_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, fe1a7bed-c601-40f6-93d9-6d05d649a010 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.937) 0:01:44.073 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.122) 0:01:44.196 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1a7bed-c601-40f6-93d9-6d05d649a010 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.102) 0:01:44.298 ****** ok: [managed-node3] => { "__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, fe1a7bed-c601-40f6-93d9-6d05d649a010 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1a7bed-c601-40f6-93d9-6d05d649a010 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.073) 0:01:44.372 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.057) 0:01:44.430 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.547) 0:01:44.978 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.116) 0:01:45.094 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.161) 0:01:45.255 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.128) 0:01:45.384 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.086) 0:01:45.470 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.086) 0:01:45.556 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:49 -0400 (0:00:02.327) 0:01:47.883 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.986) 0:01:48.870 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.049) 0:01:48.919 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.052) 0:01:48.972 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.101) 0:01:49.073 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.084) 0:01:49.158 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.125) 0:01:49.284 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.125) 0:01:49.409 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.174) 0:01:49.584 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.240) 0:01:49.824 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.081) 0:01:49.906 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.076) 0:01:49.982 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.162) 0:01:50.144 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.829) 0:01:50.973 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.194) 0:01:51.168 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.080) 0:01:51.248 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.080) 0:01:51.329 ****** changed: [managed-node3] => { "_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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.742) 0:01:52.072 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.044) 0:01:52.116 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.064) 0:01:52.181 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.058) 0:01:52.240 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.092) 0:01:52.332 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.481) 0:01:52.813 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.140) 0:01:52.954 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.127) 0:01:53.081 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.092) 0:01:53.174 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.103) 0:01:53.278 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.082) 0:01:53.360 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.089) 0:01:53.450 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:57 -0400 (0:00:02.291) 0:01:55.741 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:58 -0400 (0:00:01.170) 0:01:56.912 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.089) 0:01:57.001 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.081) 0:01:57.083 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.080) 0:01:57.163 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.121) 0:01:57.285 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.121) 0:01:57.406 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.129) 0:01:57.535 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.148) 0:01:57.684 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.230) 0:01:57.915 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.079) 0:01:57.995 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.081) 0:01:58.076 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.134) 0:01:58.211 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.832) 0:01:59.044 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.081) 0:01:59.125 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.047) 0:01:59.173 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.091) 0:01:59.264 ****** changed: [managed-node3] => { "_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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:01 -0400 (0:00:01.011) 0:02:00.275 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.097) 0:02:00.373 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.096) 0:02:00.469 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.064) 0:02:00.534 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.080) 0:02:00.615 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.527) 0:02:01.142 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.124) 0:02:01.267 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.151) 0:02:01.418 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.083) 0:02:01.502 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.452) 0:02:01.954 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.061) 0:02:02.016 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018840", "end": "2024-10-03 23:58:03.721734", "rc": 1, "start": "2024-10-03 23:58:03.702894" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.479) 0:02:02.495 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.091) 0:02:02.587 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.193) 0:02:02.780 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.090) 0:02:02.871 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.084) 0:02:02.956 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.053) 0:02:03.009 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.051) 0:02:03.061 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.149) 0:02:03.210 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.177) 0:02:03.388 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.533) 0:02:03.922 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.086) 0:02:04.009 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.086) 0:02:04.095 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.160) 0:02:04.255 ****** fatal: [managed-node3]: 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.036867", "end": "2024-10-03 23:58:05.994918", "rc": 1, "start": "2024-10-03 23:58:05.958051" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.540) 0:02:04.796 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.391) 0:02:05.187 ****** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.154) 0:02:05.342 ****** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.203) 0:02:05.546 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.168) 0:02:05.715 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.140) 0:02:05.856 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004238", "end": "2024-10-03 23:58:07.595928", "rc": 0, "start": "2024-10-03 23:58:07.591690" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.505) 0:02:06.361 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.100) 0:02:06.461 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.148) 0:02:06.610 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.191) 0:02:06.801 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.322) 0:02:07.124 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.206) 0:02:07.330 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.364) 0:02:07.694 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.088) 0:02:07.783 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.092) 0:02:07.876 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:11 -0400 (0:00:02.368) 0:02:10.245 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:12 -0400 (0:00:01.070) 0:02:11.316 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.066) 0:02:11.382 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.046) 0:02:11.429 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.045) 0:02:11.474 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.072) 0:02:11.547 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.090) 0:02:11.638 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.105) 0:02:11.744 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.144) 0:02:11.888 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.257) 0:02:12.146 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.141) 0:02:12.288 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.129) 0:02:12.417 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.082) 0:02:12.500 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.683) 0:02:13.184 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.093) 0:02:13.278 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.047) 0:02:13.325 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.047) 0:02:13.373 ****** changed: [managed-node3] => { "_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, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.700) 0:02:14.074 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.170) 0:02:14.244 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.148) 0:02:14.392 ****** ok: [managed-node3] => { "__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, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.090) 0:02:14.483 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.086) 0:02:14.569 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.435) 0:02:15.004 ****** ok: [managed-node3] => { "__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, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.052) 0:02:15.057 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.150) 0:02:15.207 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.094) 0:02:15.301 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.131) 0:02:15.433 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.084) 0:02:15.517 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.088) 0:02:15.606 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:19 -0400 (0:00:02.300) 0:02:17.907 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:20 -0400 (0:00:01.075) 0:02:18.983 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.050) 0:02:19.034 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.046) 0:02:19.080 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.045) 0:02:19.126 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.073) 0:02:19.200 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.083) 0:02:19.284 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.068) 0:02:19.352 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.268) 0:02:19.620 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.185) 0:02:19.806 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.079) 0:02:19.886 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.082) 0:02:19.968 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.133) 0:02:20.102 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.705) 0:02:20.807 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.083) 0:02:20.891 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.046) 0:02:20.938 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.045) 0:02:20.983 ****** ok: [managed-node3] => { "_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, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.607) 0:02:21.591 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.047) 0:02:21.638 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.069) 0:02:21.708 ****** ok: [managed-node3] => { "__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, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1ee0a64f-f3d1-4db9-b74c-bd40ca6f9ad1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.053) 0:02:21.761 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.047) 0:02:21.809 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.418) 0:02:22.228 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.152) 0:02:22.381 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.094) 0:02:22.475 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.078) 0:02:22.554 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.051) 0:02:22.606 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.053) 0:02:22.659 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:26 -0400 (0:00:02.239) 0:02:24.898 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:27 -0400 (0:00:01.015) 0:02:25.913 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.075) 0:02:25.989 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.083) 0:02:26.073 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.081) 0:02:26.155 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.102) 0:02:26.258 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.188) 0:02:26.446 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.112) 0:02:26.559 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.136) 0:02:26.695 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.201) 0:02:26.896 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.050) 0:02:26.947 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.047) 0:02:26.994 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.079) 0:02:27.074 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.652) 0:02:27.726 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.086) 0:02:27.813 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.047) 0:02:27.861 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.067) 0:02:27.928 ****** changed: [managed-node3] => { "_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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.794) 0:02:28.723 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.054) 0:02:28.778 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.085) 0:02:28.863 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.123) 0:02:28.987 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.084) 0:02:29.071 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.550) 0:02:29.621 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.087) 0:02:29.708 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.102) 0:02:29.811 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.148) 0:02:29.959 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.147) 0:02:30.107 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.090) 0:02:30.198 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.094) 0:02:30.293 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:33 -0400 (0:00:02.309) 0:02:32.602 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:35 -0400 (0:00:01.137) 0:02:33.740 ****** ok: [managed-node3] => {} 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.093) 0:02:33.833 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.141) 0:02:33.975 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.097) 0:02:34.073 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.124) 0:02:34.197 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.158) 0:02:34.356 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.134) 0:02:34.491 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.092) 0:02:34.583 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.129) 0:02:34.713 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.046) 0:02:34.760 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.045) 0:02:34.805 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.081) 0:02:34.887 ****** ok: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.655) 0:02:35.543 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.101) 0:02:35.644 ****** skipping: [managed-node3] => { "censored": "the output 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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.045) 0:02:35.690 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.045) 0:02:35.736 ****** ok: [managed-node3] => { "_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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.679) 0:02:36.415 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.047) 0:02:36.462 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.162) 0:02:36.624 ****** ok: [managed-node3] => { "__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-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.092) 0:02:36.717 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.081) 0:02:36.798 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.446) 0:02:37.245 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.095) 0:02:37.340 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.084) 0:02:37.425 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.050) 0:02:37.476 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.410) 0:02:37.887 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.078) 0:02:37.966 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019450", "end": "2024-10-03 23:58:39.684481", "rc": 1, "start": "2024-10-03 23:58:39.665031" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.446) 0:02:38.412 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.047) 0:02:38.460 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.045) 0:02:38.506 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.046) 0:02:38.553 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.095) 0:02:38.649 ****** skipping: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.047) 0:02:38.696 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.052) 0:02:38.749 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.326939", "end": "2024-10-03 23:58:40.742782", "rc": 0, "start": "2024-10-03 23:58:40.415843" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.723) 0:02:39.473 ****** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.049) 0:02:39.522 ****** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.050) 0:02:39.573 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.114) 0:02:39.688 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.108) 0:02:39.796 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.414) 0:02:40.211 ****** ok: [managed-node3] => { "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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.060) 0:02:40.271 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.049) 0:02:40.321 ****** included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.095) 0:02:40.417 ****** fatal: [managed-node3]: 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.035533", "end": "2024-10-03 23:58:42.119424", "rc": 1, "start": "2024-10-03 23:58:42.083891" } 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-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.431) 0:02:40.848 ****** ok: [managed-node3] => { "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.009553", "end": "2024-10-03 23:58:42.527196", "rc": 0, "start": "2024-10-03 23:58:42.517643" } 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:fe:75:16:df brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.240/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2482sec preferred_lft 2482sec inet6 fe80::6b61:5ef2:8a23:78af/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.240 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.240 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.406) 0:02:41.255 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node3 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=9 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.263) 0:02:41.518 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.60s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.44s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.31s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.87s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-RB5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26