ansible-playbook [core 2.16.14] 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-Kap executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 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_initscripts.yml ***************************************** 2 plays in /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.011) 0:00:00.011 ***** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 08 February 2025 07:52:00 -0500 (0:00:01.227) 0:00:01.238 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.053) 0:00:01.291 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.517) 0:00:01.808 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.446) 0:00:02.255 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.033) 0:00:02.289 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.014) 0:00:02.303 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.045) 0:00:02.349 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.493) 0:00:02.843 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.013) 0:00:02.856 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.013) 0:00:02.870 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.226805", "end": "2025-02-08 07:52:02.339880", "rc": 0, "start": "2025-02-08 07:52:02.113075" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.554) 0:00:03.424 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.014) 0:00:03.439 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.021) 0:00:03.460 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.765) 0:00:04.225 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.038) 0:00:04.263 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.044) 0:00:04.308 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.035) 0:00:04.344 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.091) 0:00:04.436 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.061) 0:00:04.497 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.057) 0:00:04.554 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003074", "end": "2025-02-08 07:52:03.905378", "rc": 0, "start": "2025-02-08 07:52:03.902304" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.435) 0:00:04.990 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.041) 0:00:05.031 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.041) 0:00:05.073 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.056) 0:00:05.129 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007829", "end": "2025-02-08 07:52:04.397129", "rc": 1, "start": "2025-02-08 07:52:04.389300" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.348) 0:00:05.477 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.045) 0:00:05.523 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.344) 0:00:05.868 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.043) 0:00:05.911 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.046) 0:00:05.958 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:04 -0500 (0:00:00.059) 0:00:06.018 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:05 -0500 (0:00:00.054) 0:00:06.072 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:05 -0500 (0:00:00.037) 0:00:06.109 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:05 -0500 (0:00:00.038) 0:00:06.148 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:05 -0500 (0:00:00.045) 0:00:06.194 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:06 -0500 (0:00:01.782) 0:00:07.976 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:08 -0500 (0:00:01.814) 0:00:09.791 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.055) 0:00:09.846 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.050) 0:00:09.896 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.049) 0:00:09.946 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.058) 0:00:10.005 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.090) 0:00:10.095 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.081) 0:00:10.176 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.096) 0:00:10.272 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.115) 0:00:10.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.119) 0:00:10.507 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.061) 0:00:10.569 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.091) 0:00:10.661 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.132) 0:00:10.794 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.139) 0:00:10.933 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:11 -0500 (0:00:01.121) 0:00:12.055 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpq5nso0x8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:11 -0500 (0:00:00.416) 0:00:12.471 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.792) 0:00:13.263 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.079) 0:00:13.343 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.071) 0:00:13.414 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.063) 0:00:13.477 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.053) 0:00:13.531 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:52:12 -0500 (0:00:00.480) 0:00:14.011 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.099) 0:00:14.111 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.130) 0:00:14.242 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.079) 0:00:14.321 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.055) 0:00:14.377 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739019132.0917883, "block_size": 4096, "blocks": 8, "ctime": 1739019132.0917883, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019132.0917883, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.387) 0:00:14.764 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.058) 0:00:14.823 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018119", "end": "2025-02-08 07:52:14.160850", "rc": 1, "start": "2025-02-08 07:52:14.142731" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.444) 0:00:15.267 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.083) 0:00:15.351 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002890", "end": "2025-02-08 07:52:14.622017", "rc": 0, "start": "2025-02-08 07:52:14.619127" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.387) 0:00:15.739 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.066) 0:00:15.805 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002867", "end": "2025-02-08 07:52:15.074712", "rc": 0, "start": "2025-02-08 07:52:15.071845" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.373) 0:00:16.179 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.071) 0:00:16.250 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.058) 0:00:16.309 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.065) 0:00:16.374 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.083) 0:00:16.458 ***** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.095) 0:00:16.553 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.140) 0:00:16.693 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.220) 0:00:16.914 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035799", "end": "2025-02-08 07:52:16.254997", "rc": 1, "start": "2025-02-08 07:52:16.219198" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.509) 0:00:17.423 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.184) 0:00:17.608 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.117) 0:00:17.725 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.134) 0:00:17.860 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.117) 0:00:17.978 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.103) 0:00:18.081 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003074", "end": "2025-02-08 07:52:17.353333", "rc": 0, "start": "2025-02-08 07:52:17.350259" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.412) 0:00:18.493 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.094) 0:00:18.588 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.115) 0:00:18.704 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.101) 0:00:18.805 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005732", "end": "2025-02-08 07:52:18.079976", "rc": 1, "start": "2025-02-08 07:52:18.074244" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:52:18 -0500 (0:00:00.405) 0:00:19.211 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:52:18 -0500 (0:00:00.136) 0:00:19.347 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:52:18 -0500 (0:00:00.558) 0:00:19.906 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:52:18 -0500 (0:00:00.068) 0:00:19.974 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.113) 0:00:20.088 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.106) 0:00:20.195 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.085) 0:00:20.280 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.064) 0:00:20.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.060) 0:00:20.406 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:19 -0500 (0:00:00.053) 0:00:20.459 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:21 -0500 (0:00:01.636) 0:00:22.096 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:22 -0500 (0:00:01.657) 0:00:23.753 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:22 -0500 (0:00:00.072) 0:00:23.826 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:22 -0500 (0:00:00.081) 0:00:23.907 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:22 -0500 (0:00:00.085) 0:00:23.993 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.069) 0:00:24.062 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.075) 0:00:24.138 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.059) 0:00:24.197 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.086) 0:00:24.284 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.138) 0:00:24.422 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.109) 0:00:24.532 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.070) 0:00:24.602 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.070) 0:00:24.673 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.060) 0:00:24.733 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.051) 0:00:24.785 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.548) 0:00:25.333 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmplxwes_75" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.500) 0:00:25.833 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.558) 0:00:26.391 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.066) 0:00:26.458 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.057) 0:00:26.516 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.064) 0:00:26.581 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.060) 0:00:26.641 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.435) 0:00:27.076 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.086) 0:00:27.163 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.129) 0:00:27.292 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.093) 0:00:27.386 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.380) 0:00:27.766 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.089) 0:00:27.856 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.093) 0:00:27.950 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.173) 0:00:28.123 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739019145.2888343, "block_size": 4096, "blocks": 8, "ctime": 1739019145.2888343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019145.2888343, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.489) 0:00:28.612 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.052) 0:00:28.665 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017794", "end": "2025-02-08 07:52:27.941424", "rc": 1, "start": "2025-02-08 07:52:27.923630" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.373) 0:00:29.039 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.067) 0:00:29.107 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002812", "end": "2025-02-08 07:52:28.413395", "rc": 0, "start": "2025-02-08 07:52:28.410583" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.404) 0:00:29.511 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.062) 0:00:29.574 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003256", "end": "2025-02-08 07:52:28.868870", "rc": 0, "start": "2025-02-08 07:52:28.865614" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.395) 0:00:29.970 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.083) 0:00:30.053 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.080) 0:00:30.134 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.101) 0:00:30.236 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.122) 0:00:30.359 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.099) 0:00:30.458 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.081) 0:00:30.539 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:29 -0500 (0:00:00.134) 0:00:30.674 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034436", "end": "2025-02-08 07:52:29.993486", "rc": 1, "start": "2025-02-08 07:52:29.959050" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.485) 0:00:31.160 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.109) 0:00:31.269 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.062) 0:00:31.331 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.099) 0:00:31.430 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.073) 0:00:31.504 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:30 -0500 (0:00:00.085) 0:00:31.590 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2025-02-08 07:52:30.981540", "rc": 0, "start": "2025-02-08 07:52:30.978413" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.516) 0:00:32.106 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.087) 0:00:32.193 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.088) 0:00:32.282 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.128) 0:00:32.410 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.221) 0:00:32.632 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.199) 0:00:32.832 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.129) 0:00:32.961 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.086) 0:00:33.047 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.099) 0:00:33.147 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:33 -0500 (0:00:01.660) 0:00:34.807 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:35 -0500 (0:00:01.510) 0:00:36.318 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.091) 0:00:36.410 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.059) 0:00:36.469 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.054) 0:00:36.524 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.058) 0:00:36.583 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.062) 0:00:36.645 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.050) 0:00:36.696 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.061) 0:00:36.757 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.304) 0:00:37.062 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.095) 0:00:37.158 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.093) 0:00:37.251 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.123) 0:00:37.374 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.078) 0:00:37.453 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:36 -0500 (0:00:00.061) 0:00:37.515 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:37 -0500 (0:00:00.567) 0:00:38.082 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpnoq2y3as" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:37 -0500 (0:00:00.410) 0:00:38.493 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:37 -0500 (0:00:00.508) 0:00:39.001 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.093) 0:00:39.095 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.095) 0:00:39.191 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.107) 0:00:39.298 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.088) 0:00:39.386 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.516) 0:00:39.903 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.087) 0:00:39.991 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.184) 0:00:40.176 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.206) 0:00:40.382 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.106) 0:00:40.488 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.070) 0:00:40.559 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.062) 0:00:40.621 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.056) 0:00:40.678 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:41 -0500 (0:00:01.616) 0:00:42.294 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:42 -0500 (0:00:01.565) 0:00:43.860 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:42 -0500 (0:00:00.085) 0:00:43.946 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:42 -0500 (0:00:00.080) 0:00:44.027 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.079) 0:00:44.106 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.171) 0:00:44.278 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.159) 0:00:44.437 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.123) 0:00:44.560 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.133) 0:00:44.694 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.146) 0:00:44.840 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:43 -0500 (0:00:00.093) 0:00:44.934 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:44 -0500 (0:00:00.149) 0:00:45.084 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:44 -0500 (0:00:00.121) 0:00:45.205 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:44 -0500 (0:00:00.104) 0:00:45.310 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:44 -0500 (0:00:00.067) 0:00:45.377 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:44 -0500 (0:00:00.568) 0:00:45.946 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpl7dh1xn4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.405) 0:00:46.351 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.734) 0:00:47.085 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.069) 0:00:47.155 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.069) 0:00:47.225 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.056) 0:00:47.281 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.075) 0:00:47.357 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.498) 0:00:47.855 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.085) 0:00:47.940 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.098) 0:00:48.039 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739019165.8685904, "block_size": 4096, "blocks": 0, "ctime": 1739019165.8685904, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36246, "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": 1739019165.8685904, "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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.403) 0:00:48.443 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.091) 0:00:48.535 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.175) 0:00:48.711 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.127) 0:00:48.838 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739019165.7129054, "block_size": 4096, "blocks": 8, "ctime": 1739019157.8808782, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019157.8808782, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:52:48 -0500 (0:00:00.639) 0:00:49.477 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:52:48 -0500 (0:00:00.090) 0:00:49.568 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018083", "end": "2025-02-08 07:52:48.901639", "rc": 1, "start": "2025-02-08 07:52:48.883556" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:52:49 -0500 (0:00:00.513) 0:00:50.081 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:52:49 -0500 (0:00:00.130) 0:00:50.212 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002772", "end": "2025-02-08 07:52:49.505917", "rc": 0, "start": "2025-02-08 07:52:49.503145" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:49 -0500 (0:00:00.391) 0:00:50.603 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:49 -0500 (0:00:00.169) 0:00:50.773 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002835", "end": "2025-02-08 07:52:50.115094", "rc": 0, "start": "2025-02-08 07:52:50.112259" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.443) 0:00:51.216 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.093) 0:00:51.309 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.087) 0:00:51.397 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.127) 0:00:51.525 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.154) 0:00:51.680 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.140) 0:00:51.820 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.071) 0:00:51.891 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:50 -0500 (0:00:00.095) 0:00:51.987 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044513", "end": "2025-02-08 07:52:51.294773", "rc": 0, "start": "2025-02-08 07:52:51.250260" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.414) 0:00:52.401 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.123) 0:00:52.524 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.087) 0:00:52.612 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.174) 0:00:52.786 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.127) 0:00:52.914 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.292) 0:00:53.206 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003050", "end": "2025-02-08 07:52:52.528846", "rc": 0, "start": "2025-02-08 07:52:52.525796" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.439) 0:00:53.646 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.096) 0:00:53.743 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.063) 0:00:53.806 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.093) 0:00:53.899 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.092) 0:00:53.992 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:53 -0500 (0:00:00.086) 0:00:54.079 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:53 -0500 (0:00:00.088) 0:00:54.167 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:53 -0500 (0:00:00.085) 0:00:54.253 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:53 -0500 (0:00:00.089) 0:00:54.343 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:55 -0500 (0:00:01.704) 0:00:56.048 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:56 -0500 (0:00:01.570) 0:00:57.618 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.084) 0:00:57.703 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.165) 0:00:57.869 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.105) 0:00:57.974 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.095) 0:00:58.070 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.098) 0:00:58.169 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.092) 0:00:58.261 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.100) 0:00:58.362 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.139) 0:00:58.501 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.081) 0:00:58.583 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.081) 0:00:58.665 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.096) 0:00:58.762 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.119) 0:00:58.882 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.107) 0:00:58.990 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.707) 0:00:59.697 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpej_qgibf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:59 -0500 (0:00:00.550) 0:01:00.248 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:59 -0500 (0:00:00.636) 0:01:00.885 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:59 -0500 (0:00:00.106) 0:01:00.991 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:00 -0500 (0:00:00.146) 0:01:01.138 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:00 -0500 (0:00:00.101) 0:01:01.240 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:00 -0500 (0:00:00.076) 0:01:01.316 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:53:00 -0500 (0:00:00.524) 0:01:01.841 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:53:00 -0500 (0:00:00.122) 0:01:01.963 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.173) 0:01:02.137 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.151) 0:01:02.288 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.100) 0:01:02.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.095) 0:01:02.484 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.093) 0:01:02.577 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:03 -0500 (0:00:01.793) 0:01:04.371 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:04 -0500 (0:00:01.471) 0:01:05.843 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.061) 0:01:05.904 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.053) 0:01:05.958 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.051) 0:01:06.009 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.055) 0:01:06.065 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.064) 0:01:06.130 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.054) 0:01:06.185 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.103) 0:01:06.289 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.141) 0:01:06.431 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.081) 0:01:06.512 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.083) 0:01:06.596 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.100) 0:01:06.697 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.081) 0:01:06.779 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.194) 0:01:06.974 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:06 -0500 (0:00:00.874) 0:01:07.848 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpl62us9r_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:07 -0500 (0:00:00.544) 0:01:08.393 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.717) 0:01:09.111 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.060) 0:01:09.171 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.058) 0:01:09.229 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.057) 0:01:09.286 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.052) 0:01:09.339 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.548) 0:01:09.888 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.078) 0:01:09.966 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.134) 0:01:10.101 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.219) 0:01:10.320 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.320) 0:01:10.640 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.146) 0:01:10.787 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.116) 0:01:10.903 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:11 -0500 (0:00:01.730) 0:01:12.634 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:13 -0500 (0:00:01.590) 0:01:14.224 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:13 -0500 (0:00:00.089) 0:01:14.314 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:13 -0500 (0:00:00.094) 0:01:14.408 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:13 -0500 (0:00:00.120) 0:01:14.528 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:13 -0500 (0:00:00.191) 0:01:14.720 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:13 -0500 (0:00:00.140) 0:01:14.860 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.185) 0:01:15.046 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.097) 0:01:15.143 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.146) 0:01:15.290 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.114) 0:01:15.404 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.370) 0:01:15.774 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.151) 0:01:15.926 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:14 -0500 (0:00:00.085) 0:01:16.012 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.074) 0:01:16.087 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.640) 0:01:16.728 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpfj4lrm9d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.533) 0:01:17.261 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.538) 0:01:17.800 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.069) 0:01:17.869 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.069) 0:01:17.938 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.060) 0:01:17.999 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.060) 0:01:18.059 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.539) 0:01:18.599 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.096) 0:01:18.696 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.272) 0:01:18.968 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739019187.9262772, "block_size": 4096, "blocks": 0, "ctime": 1739019187.9262772, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36377, "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": 1739019187.9262772, "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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.435) 0:01:19.404 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.096) 0:01:19.500 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.131) 0:01:19.631 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.086) 0:01:19.718 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.411) 0:01:20.129 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.092) 0:01:20.222 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018372", "end": "2025-02-08 07:53:19.674976", "rc": 1, "start": "2025-02-08 07:53:19.656604" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.553) 0:01:20.775 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.067) 0:01:20.843 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.083) 0:01:20.926 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:53:19 -0500 (0:00:00.061) 0:01:20.987 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.064) 0:01:21.051 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.060) 0:01:21.112 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.111) 0:01:21.223 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.077) 0:01:21.300 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.090) 0:01:21.390 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:53:20 -0500 (0:00:00.341) 0:01:21.732 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042829", "end": "2025-02-08 07:53:21.054407", "rc": 0, "start": "2025-02-08 07:53:21.011578" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.438) 0:01:22.170 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.134) 0:01:22.305 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.088) 0:01:22.394 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.295) 0:01:22.689 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.177) 0:01:22.867 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.170) 0:01:23.038 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003135", "end": "2025-02-08 07:53:22.340008", "rc": 0, "start": "2025-02-08 07:53:22.336873" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.421) 0:01:23.460 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.092) 0:01:23.552 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.061) 0:01:23.613 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.102) 0:01:23.716 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.130) 0:01:23.846 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.084) 0:01:23.931 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.061) 0:01:23.993 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:23 -0500 (0:00:00.053) 0:01:24.047 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:23 -0500 (0:00:00.056) 0:01:24.103 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:24 -0500 (0:00:01.654) 0:01:25.758 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:26 -0500 (0:00:01.452) 0:01:27.211 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.083) 0:01:27.294 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.082) 0:01:27.377 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.086) 0:01:27.463 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.089) 0:01:27.552 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.112) 0:01:27.665 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.191) 0:01:27.857 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.067) 0:01:27.924 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:26 -0500 (0:00:00.089) 0:01:28.014 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.054) 0:01:28.068 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.055) 0:01:28.124 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.088) 0:01:28.212 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.085) 0:01:28.298 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.083) 0:01:28.382 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.653) 0:01:29.036 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpx_qm0gaz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:28 -0500 (0:00:00.436) 0:01:29.473 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:28 -0500 (0:00:00.541) 0:01:30.014 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.066) 0:01:30.080 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.064) 0:01:30.145 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.068) 0:01:30.213 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.055) 0:01:30.269 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.491) 0:01:30.760 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.083) 0:01:30.844 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.190) 0:01:31.034 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:30 -0500 (0:00:00.121) 0:01:31.156 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:30 -0500 (0:00:00.079) 0:01:31.236 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:30 -0500 (0:00:00.056) 0:01:31.292 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:30 -0500 (0:00:00.056) 0:01:31.349 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:32 -0500 (0:00:01.742) 0:01:33.091 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:33 -0500 (0:00:01.733) 0:01:34.825 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:33 -0500 (0:00:00.095) 0:01:34.920 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:33 -0500 (0:00:00.089) 0:01:35.009 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.090) 0:01:35.100 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.181) 0:01:35.282 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.131) 0:01:35.414 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.109) 0:01:35.524 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.099) 0:01:35.624 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.161) 0:01:35.786 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.093) 0:01:35.879 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:34 -0500 (0:00:00.087) 0:01:35.967 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:35 -0500 (0:00:00.098) 0:01:36.066 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:35 -0500 (0:00:00.069) 0:01:36.135 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:35 -0500 (0:00:00.061) 0:01:36.196 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:35 -0500 (0:00:00.552) 0:01:36.749 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpkgxng4r5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:36 -0500 (0:00:00.375) 0:01:37.125 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:36 -0500 (0:00:00.695) 0:01:37.820 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:36 -0500 (0:00:00.058) 0:01:37.879 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:36 -0500 (0:00:00.064) 0:01:37.943 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:36 -0500 (0:00:00.058) 0:01:38.002 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.091) 0:01:38.094 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.373) 0:01:38.467 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.092) 0:01:38.560 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.085) 0:01:38.645 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.061) 0:01:38.707 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.055) 0:01:38.762 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:37 -0500 (0:00:00.060) 0:01:38.823 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:39 -0500 (0:00:01.636) 0:01:40.460 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:40 -0500 (0:00:01.559) 0:01:42.020 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.102) 0:01:42.122 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.086) 0:01:42.209 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.182) 0:01:42.391 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.119) 0:01:42.510 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.181) 0:01:42.692 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.096) 0:01:42.789 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.097) 0:01:42.886 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:41 -0500 (0:00:00.106) 0:01:42.993 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:42 -0500 (0:00:00.056) 0:01:43.049 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:42 -0500 (0:00:00.065) 0:01:43.115 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:42 -0500 (0:00:00.075) 0:01:43.190 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:42 -0500 (0:00:00.086) 0:01:43.277 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:42 -0500 (0:00:00.088) 0:01:43.365 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:43 -0500 (0:00:00.680) 0:01:44.046 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmp73zs2gkg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:43 -0500 (0:00:00.430) 0:01:44.476 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:43 -0500 (0:00:00.544) 0:01:45.021 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:44 -0500 (0:00:00.149) 0:01:45.171 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:44 -0500 (0:00:00.126) 0:01:45.297 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:44 -0500 (0:00:00.123) 0:01:45.421 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:44 -0500 (0:00:00.053) 0:01:45.474 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:53:44 -0500 (0:00:00.522) 0:01:45.997 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.258) 0:01:46.255 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.180) 0:01:46.436 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.145) 0:01:46.581 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.071) 0:01:46.653 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.063) 0:01:46.716 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:45 -0500 (0:00:00.059) 0:01:46.775 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:47 -0500 (0:00:01.686) 0:01:48.462 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:49 -0500 (0:00:01.754) 0:01:50.217 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.087) 0:01:50.305 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.086) 0:01:50.391 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.101) 0:01:50.492 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.090) 0:01:50.583 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.111) 0:01:50.695 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.087) 0:01:50.782 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.099) 0:01:50.882 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:49 -0500 (0:00:00.145) 0:01:51.027 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:50 -0500 (0:00:00.099) 0:01:51.127 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:50 -0500 (0:00:00.093) 0:01:51.220 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:50 -0500 (0:00:00.103) 0:01:51.323 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:50 -0500 (0:00:00.087) 0:01:51.411 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:50 -0500 (0:00:00.079) 0:01:51.490 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:51 -0500 (0:00:00.810) 0:01:52.301 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpokhsdxfy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:51 -0500 (0:00:00.404) 0:01:52.705 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:52 -0500 (0:00:00.682) 0:01:53.387 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:52 -0500 (0:00:00.078) 0:01:53.465 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:52 -0500 (0:00:00.081) 0:01:53.547 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:52 -0500 (0:00:00.112) 0:01:53.659 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:52 -0500 (0:00:00.070) 0:01:53.730 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.422) 0:01:54.153 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.105) 0:01:54.259 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.119) 0:01:54.378 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.062) 0:01:54.441 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.368) 0:01:54.810 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:53:53 -0500 (0:00:00.058) 0:01:54.869 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018880", "end": "2025-02-08 07:53:54.160017", "rc": 1, "start": "2025-02-08 07:53:54.141137" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.389) 0:01:55.259 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.069) 0:01:55.328 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.080) 0:01:55.409 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.156) 0:01:55.565 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.057) 0:01:55.622 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.052) 0:01:55.675 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.070) 0:01:55.746 ***** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.056) 0:01:55.803 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.054) 0:01:55.857 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:53:54 -0500 (0:00:00.082) 0:01:55.940 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045251", "end": "2025-02-08 07:53:55.245763", "rc": 0, "start": "2025-02-08 07:53:55.200512" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 08 February 2025 07:53:55 -0500 (0:00:00.425) 0:01:56.365 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:53:55 -0500 (0:00:00.132) 0:01:56.498 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:53:55 -0500 (0:00:00.086) 0:01:56.585 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:53:55 -0500 (0:00:00.160) 0:01:56.745 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:53:55 -0500 (0:00:00.140) 0:01:56.886 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.165) 0:01:57.051 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2025-02-08 07:53:56.362134", "rc": 0, "start": "2025-02-08 07:53:56.359096" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.427) 0:01:57.479 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.095) 0:01:57.575 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.069) 0:01:57.645 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.107) 0:01:57.753 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.104) 0:01:57.857 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.085) 0:01:57.942 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:56 -0500 (0:00:00.062) 0:01:58.005 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:57 -0500 (0:00:00.058) 0:01:58.063 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:57 -0500 (0:00:00.086) 0:01:58.150 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:58 -0500 (0:00:01.664) 0:01:59.814 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:54:00 -0500 (0:00:01.592) 0:02:01.406 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.060) 0:02:01.467 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.056) 0:02:01.523 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.052) 0:02:01.575 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.055) 0:02:01.631 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.061) 0:02:01.692 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.054) 0:02:01.746 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.063) 0:02:01.809 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.096) 0:02:01.906 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.057) 0:02:01.963 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:54:00 -0500 (0:00:00.052) 0:02:02.016 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:54:01 -0500 (0:00:00.062) 0:02:02.079 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:54:01 -0500 (0:00:00.067) 0:02:02.146 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:54:01 -0500 (0:00:00.081) 0:02:02.228 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:54:01 -0500 (0:00:00.638) 0:02:02.867 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpov4oeotf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:54:02 -0500 (0:00:00.482) 0:02:03.349 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.709) 0:02:04.058 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.058) 0:02:04.117 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.068) 0:02:04.185 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.063) 0:02:04.249 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.076) 0:02:04.325 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.623) 0:02:04.949 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:54:03 -0500 (0:00:00.058) 0:02:05.008 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:54:04 -0500 (0:00:00.157) 0:02:05.165 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:54:04 -0500 (0:00:00.141) 0:02:05.307 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:54:04 -0500 (0:00:00.113) 0:02:05.420 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:54:04 -0500 (0:00:00.087) 0:02:05.507 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:54:04 -0500 (0:00:00.073) 0:02:05.580 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:54:06 -0500 (0:00:01.605) 0:02:07.186 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:54:07 -0500 (0:00:01.573) 0:02:08.760 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:54:07 -0500 (0:00:00.059) 0:02:08.819 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:54:07 -0500 (0:00:00.057) 0:02:08.876 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:54:07 -0500 (0:00:00.054) 0:02:08.930 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:54:07 -0500 (0:00:00.056) 0:02:08.987 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.065) 0:02:09.052 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.052) 0:02:09.105 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.076) 0:02:09.181 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.135) 0:02:09.317 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.083) 0:02:09.400 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.085) 0:02:09.485 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.098) 0:02:09.583 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.081) 0:02:09.665 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:54:08 -0500 (0:00:00.085) 0:02:09.751 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:54:09 -0500 (0:00:00.698) 0:02:10.449 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmp6gcout32" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:54:09 -0500 (0:00:00.388) 0:02:10.838 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:54:10 -0500 (0:00:00.771) 0:02:11.610 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:54:10 -0500 (0:00:00.086) 0:02:11.696 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:54:10 -0500 (0:00:00.064) 0:02:11.760 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:54:10 -0500 (0:00:00.070) 0:02:11.831 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:54:10 -0500 (0:00:00.052) 0:02:11.884 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.389) 0:02:12.274 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.110) 0:02:12.385 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.084) 0:02:12.470 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.061) 0:02:12.531 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.076) 0:02:12.607 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:54:11 -0500 (0:00:00.080) 0:02:12.687 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:54:13 -0500 (0:00:01.814) 0:02:14.502 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:54:15 -0500 (0:00:01.538) 0:02:16.040 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.058) 0:02:16.099 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.056) 0:02:16.156 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.054) 0:02:16.210 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.058) 0:02:16.268 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.064) 0:02:16.333 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.054) 0:02:16.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.066) 0:02:16.455 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.101) 0:02:16.556 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.053) 0:02:16.610 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.056) 0:02:16.667 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.065) 0:02:16.732 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.052) 0:02:16.784 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:54:15 -0500 (0:00:00.151) 0:02:16.936 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:54:16 -0500 (0:00:00.557) 0:02:17.493 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpkwmo4gox" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:54:16 -0500 (0:00:00.378) 0:02:17.872 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:54:17 -0500 (0:00:00.481) 0:02:18.354 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:54:17 -0500 (0:00:00.072) 0:02:18.426 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:54:17 -0500 (0:00:00.090) 0:02:18.517 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:54:17 -0500 (0:00:00.102) 0:02:18.620 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:54:17 -0500 (0:00:00.057) 0:02:18.677 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.413) 0:02:19.091 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.081) 0:02:19.173 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.095) 0:02:19.269 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.086) 0:02:19.355 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.237) 0:02:19.593 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.104) 0:02:19.697 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:54:18 -0500 (0:00:00.098) 0:02:19.796 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:54:20 -0500 (0:00:01.705) 0:02:21.502 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:54:22 -0500 (0:00:01.551) 0:02:23.053 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.066) 0:02:23.120 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.062) 0:02:23.183 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.068) 0:02:23.251 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.090) 0:02:23.341 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.101) 0:02:23.443 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.085) 0:02:23.528 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.098) 0:02:23.627 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.142) 0:02:23.769 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:54:22 -0500 (0:00:00.081) 0:02:23.850 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:54:23 -0500 (0:00:00.188) 0:02:24.038 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:54:23 -0500 (0:00:00.071) 0:02:24.110 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:54:23 -0500 (0:00:00.053) 0:02:24.164 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:54:23 -0500 (0:00:00.056) 0:02:24.220 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:54:23 -0500 (0:00:00.588) 0:02:24.809 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42177i3e0tkf3/tmpllsjxpg6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.405) 0:02:25.215 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.474) 0:02:25.689 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.056) 0:02:25.745 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.057) 0:02:25.803 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.062) 0:02:25.865 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:54:24 -0500 (0:00:00.060) 0:02:25.925 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:54:25 -0500 (0:00:00.476) 0:02:26.402 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:54:25 -0500 (0:00:00.144) 0:02:26.546 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:54:25 -0500 (0:00:00.184) 0:02:26.730 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:54:25 -0500 (0:00:00.086) 0:02:26.816 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.401) 0:02:27.217 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.057) 0:02:27.274 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018415", "end": "2025-02-08 07:54:26.559105", "rc": 1, "start": "2025-02-08 07:54:26.540690" } 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-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.460) 0:02:27.734 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.099) 0:02:27.834 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.097) 0:02:27.931 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:54:26 -0500 (0:00:00.074) 0:02:28.005 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:54:27 -0500 (0:00:00.078) 0:02:28.084 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:54:27 -0500 (0:00:00.087) 0:02:28.171 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 08 February 2025 07:54:27 -0500 (0:00:00.089) 0:02:28.261 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.878266", "end": "2025-02-08 07:54:28.652890", "rc": 0, "start": "2025-02-08 07:54:27.774624" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 08 February 2025 07:54:28 -0500 (0:00:01.491) 0:02:29.753 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 08 February 2025 07:54:28 -0500 (0:00:00.058) 0:02:29.812 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:54:28 -0500 (0:00:00.061) 0:02:29.873 ***** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:54:28 -0500 (0:00:00.095) 0:02:29.968 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:54:29 -0500 (0:00:00.070) 0:02:30.039 ***** included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:54:29 -0500 (0:00:00.174) 0:02:30.213 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047316", "end": "2025-02-08 07:54:29.526167", "rc": 0, "start": "2025-02-08 07:54:29.478851" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 08 February 2025 07:54:29 -0500 (0:00:00.435) 0:02:30.648 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008572", "end": "2025-02-08 07:54:29.936553", "rc": 0, "start": "2025-02-08 07:54:29.927981" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:70:87:70:3f:03 brd ff:ff:ff:ff:ff:ff inet 10.31.42.238/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2402sec preferred_lft 2402sec inet6 fe80::c70:87ff:fe70:3f03/64 scope link valid_lft forever preferred_lft forever 54: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:d6:9e:96:67:36 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.238 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.238 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 08 February 2025 07:54:30 -0500 (0:00:00.433) 0:02:31.082 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.187983", "end": "2025-02-08 07:54:30.603294", "rc": 0, "start": "2025-02-08 07:54:30.415311" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 4765 0 --:--:-- --:--:-- --:--:-- 4765 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2852 0 --:--:-- --:--:-- --:--:-- 2852 PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 08 February 2025 07:54:30 -0500 (0:00:00.607) 0:02:31.689 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-Kap/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26