ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-09j/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-09j/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.028) 0:00:00.028 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.970) 0:00:00.999 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.037) 0:00:01.036 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.490) 0:00:01.527 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.498) 0:00:02.025 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.064) 0:00:02.089 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.073) 0:00:02.163 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.061) 0:00:02.225 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.458) 0:00:02.684 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.019) 0:00:02.703 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.026) 0:00:02.729 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.228516", "end": "2025-01-04 07:51:10.822912", "rc": 0, "start": "2025-01-04 07:51:09.594396" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 04 January 2025 07:51:10 -0500 (0:00:01.610) 0:00:04.340 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.018) 0:00:04.359 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.022) 0:00:04.382 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.647) 0:00:05.030 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.018) 0:00:05.048 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.028) 0:00:05.077 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.023) 0:00:05.100 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.076) 0:00:05.177 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.028) 0:00:05.205 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.024) 0:00:05.229 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002656", "end": "2025-01-04 07:51:12.078034", "rc": 0, "start": "2025-01-04 07:51:12.075378" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.360) 0:00:05.589 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.046) 0:00:05.636 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.031) 0:00:05.667 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.051) 0:00:05.719 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007046", "end": "2025-01-04 07:51:12.606482", "rc": 1, "start": "2025-01-04 07:51:12.599436" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.389) 0:00:06.108 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.028) 0:00:06.136 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.361) 0:00:06.498 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.021) 0:00:06.520 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.030) 0:00:06.550 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.115) 0:00:06.665 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.056) 0:00:06.721 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.029) 0:00:06.751 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.031) 0:00:06.783 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.027) 0:00:06.810 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:51:15 -0500 (0:00:01.712) 0:00:08.522 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:51:17 -0500 (0:00:01.986) 0:00:10.509 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.058) 0:00:10.568 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.053) 0:00:10.621 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.073) 0:00:10.695 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.060) 0:00:10.756 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.071) 0:00:10.827 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.105) 0:00:10.933 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.064) 0:00:10.997 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.122) 0:00:11.120 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.089) 0:00:11.210 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.057) 0:00:11.268 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.066) 0:00:11.334 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:51:17 -0500 (0:00:00.065) 0:00:11.399 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:51:18 -0500 (0:00:00.056) 0:00:11.456 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:51:18 -0500 (0:00:00.912) 0:00:12.369 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpzvr32558" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:51:19 -0500 (0:00:00.547) 0:00:12.916 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.747) 0:00:13.664 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.040) 0:00:13.705 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.053) 0:00:13.758 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.060) 0:00:13.818 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.045) 0:00:13.864 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.509) 0:00:14.373 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:51:20 -0500 (0:00:00.043) 0:00:14.417 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:51:21 -0500 (0:00:00.067) 0:00:14.485 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:51:21 -0500 (0:00:00.084) 0:00:14.569 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:51:21 -0500 (0:00:00.050) 0:00:14.620 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1735995080.1156163, "block_size": 4096, "blocks": 8, "ctime": 1735995080.1156163, "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": 1735995080.1156163, "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:51:21 -0500 (0:00:00.404) 0:00:15.024 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:51:21 -0500 (0:00:00.056) 0:00:15.080 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017944", "end": "2025-01-04 07:51:21.939759", "rc": 1, "start": "2025-01-04 07:51:21.921815" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:51:22 -0500 (0:00:00.387) 0:00:15.467 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:51:22 -0500 (0:00:00.046) 0:00:15.514 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002447", "end": "2025-01-04 07:51:22.381279", "rc": 0, "start": "2025-01-04 07:51:22.378832" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:51:22 -0500 (0:00:00.425) 0:00:15.939 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:51:22 -0500 (0:00:00.155) 0:00:16.095 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002811", "end": "2025-01-04 07:51:23.012199", "rc": 0, "start": "2025-01-04 07:51:23.009388" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.476) 0:00:16.571 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.073) 0:00:16.645 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.052) 0:00:16.697 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.048) 0:00:16.745 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.048) 0:00:16.793 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.046) 0:00:16.840 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.044) 0:00:16.884 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:51:23 -0500 (0:00:00.095) 0:00:16.980 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035922", "end": "2025-01-04 07:51:23.909844", "rc": 1, "start": "2025-01-04 07:51:23.873922" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.505) 0:00:17.485 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.127) 0:00:17.612 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.096) 0:00:17.709 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.110) 0:00:17.820 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.096) 0:00:17.916 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.064) 0:00:17.980 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2025-01-04 07:51:24.849952", "rc": 0, "start": "2025-01-04 07:51:24.846788" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:51:24 -0500 (0:00:00.417) 0:00:18.398 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:51:25 -0500 (0:00:00.058) 0:00:18.456 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:51:25 -0500 (0:00:00.054) 0:00:18.511 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 07:51:25 -0500 (0:00:00.083) 0:00:18.594 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005223", "end": "2025-01-04 07:51:25.475712", "rc": 1, "start": "2025-01-04 07:51:25.470489" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:51:25 -0500 (0:00:00.449) 0:00:19.044 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:51:25 -0500 (0:00:00.085) 0:00:19.130 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.377) 0:00:19.507 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.043) 0:00:19.550 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.096) 0:00:19.647 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.087) 0:00:19.735 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.111) 0:00:19.846 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.071) 0:00:19.918 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.058) 0:00:19.976 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:51:26 -0500 (0:00:00.041) 0:00:20.018 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:51:28 -0500 (0:00:01.564) 0:00:21.583 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:51:29 -0500 (0:00:01.465) 0:00:23.048 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.039) 0:00:23.088 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.035) 0:00:23.123 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.035) 0:00:23.159 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.037) 0:00:23.196 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.047) 0:00:23.244 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.054) 0:00:23.298 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:51:29 -0500 (0:00:00.067) 0:00:23.365 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.131) 0:00:23.496 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.057) 0:00:23.553 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.099) 0:00:23.653 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.048) 0:00:23.701 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.045) 0:00:23.747 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.046) 0:00:23.794 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:51:30 -0500 (0:00:00.612) 0:00:24.407 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpydfp_lmh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:51:31 -0500 (0:00:00.498) 0:00:24.905 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.566) 0:00:25.471 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.056) 0:00:25.528 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.071) 0:00:25.599 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.096) 0:00:25.696 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.136) 0:00:25.832 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.419) 0:00:26.252 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:51:32 -0500 (0:00:00.111) 0:00:26.363 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.166) 0:00:26.529 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.133) 0:00:26.663 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.419) 0:00:27.082 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.062) 0:00:27.144 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.112) 0:00:27.257 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:51:33 -0500 (0:00:00.062) 0:00:27.319 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1735995091.9236982, "block_size": 4096, "blocks": 8, "ctime": 1735995091.9236982, "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": 1735995091.9236982, "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:51:34 -0500 (0:00:00.420) 0:00:27.739 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:51:34 -0500 (0:00:00.038) 0:00:27.777 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018621", "end": "2025-01-04 07:51:34.653377", "rc": 1, "start": "2025-01-04 07:51:34.634756" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:51:34 -0500 (0:00:00.396) 0:00:28.174 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:51:34 -0500 (0:00:00.072) 0:00:28.246 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003862", "end": "2025-01-04 07:51:36.119641", "rc": 0, "start": "2025-01-04 07:51:35.115779" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:51:36 -0500 (0:00:01.398) 0:00:29.645 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.062) 0:00:29.708 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002673", "end": "2025-01-04 07:51:36.566589", "rc": 0, "start": "2025-01-04 07:51:36.563916" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.383) 0:00:30.091 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.046) 0:00:30.137 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.040) 0:00:30.178 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.042) 0:00:30.220 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.038) 0:00:30.259 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.033) 0:00:30.293 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.038) 0:00:30.332 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:51:36 -0500 (0:00:00.100) 0:00:30.432 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034175", "end": "2025-01-04 07:51:37.328036", "rc": 1, "start": "2025-01-04 07:51:37.293861" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.440) 0:00:30.873 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.165) 0:00:31.039 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.058) 0:00:31.097 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.129) 0:00:31.227 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.120) 0:00:31.347 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:51:37 -0500 (0:00:00.093) 0:00:31.440 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002832", "end": "2025-01-04 07:51:38.312067", "rc": 0, "start": "2025-01-04 07:51:38.309235" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.405) 0:00:31.845 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.039) 0:00:31.885 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.036) 0:00:31.922 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.120) 0:00:32.042 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.101) 0:00:32.144 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.120) 0:00:32.264 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.070) 0:00:32.334 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.041) 0:00:32.376 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:51:38 -0500 (0:00:00.044) 0:00:32.420 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:51:40 -0500 (0:00:01.634) 0:00:34.055 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:51:42 -0500 (0:00:01.570) 0:00:35.625 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.052) 0:00:35.678 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.038) 0:00:35.716 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.042) 0:00:35.759 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.044) 0:00:35.804 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.083) 0:00:35.887 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.059) 0:00:35.947 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.080) 0:00:36.028 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.124) 0:00:36.152 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.055) 0:00:36.208 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.082) 0:00:36.291 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.073) 0:00:36.364 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:51:42 -0500 (0:00:00.051) 0:00:36.416 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:51:43 -0500 (0:00:00.048) 0:00:36.465 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:51:43 -0500 (0:00:00.594) 0:00:37.059 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpv1vow8va" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:51:44 -0500 (0:00:00.438) 0:00:37.498 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:51:44 -0500 (0:00:00.617) 0:00:38.115 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:51:44 -0500 (0:00:00.092) 0:00:38.208 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:51:44 -0500 (0:00:00.124) 0:00:38.332 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:51:44 -0500 (0:00:00.075) 0:00:38.407 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.088) 0:00:38.496 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.493) 0:00:38.989 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.075) 0:00:39.064 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.094) 0:00:39.159 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.118) 0:00:39.278 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.083) 0:00:39.361 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:51:45 -0500 (0:00:00.050) 0:00:39.412 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:51:46 -0500 (0:00:00.048) 0:00:39.460 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:51:46 -0500 (0:00:00.062) 0:00:39.523 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:51:47 -0500 (0:00:01.601) 0:00:41.124 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:51:49 -0500 (0:00:01.492) 0:00:42.616 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.038) 0:00:42.654 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.033) 0:00:42.688 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.037) 0:00:42.725 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.044) 0:00:42.769 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.065) 0:00:42.834 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.066) 0:00:42.901 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.062) 0:00:42.963 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.126) 0:00:43.090 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.070) 0:00:43.160 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.063) 0:00:43.223 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.111) 0:00:43.335 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:51:49 -0500 (0:00:00.058) 0:00:43.393 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:51:50 -0500 (0:00:00.085) 0:00:43.478 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:51:50 -0500 (0:00:00.544) 0:00:44.023 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpj7c4m82n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:51:50 -0500 (0:00:00.395) 0:00:44.418 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:51:51 -0500 (0:00:00.807) 0:00:45.226 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:51:51 -0500 (0:00:00.042) 0:00:45.268 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:51:51 -0500 (0:00:00.055) 0:00:45.323 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:51:51 -0500 (0:00:00.058) 0:00:45.381 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:51:51 -0500 (0:00:00.071) 0:00:45.452 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.355) 0:00:45.808 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.103) 0:00:45.911 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.057) 0:00:45.969 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1735995111.5968282, "block_size": 4096, "blocks": 0, "ctime": 1735995111.5968282, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34888, "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": 1735995111.5968282, "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.360) 0:00:46.329 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.039) 0:00:46.369 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:51:52 -0500 (0:00:00.072) 0:00:46.441 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:51:53 -0500 (0:00:00.042) 0:00:46.483 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1735995111.4398334, "block_size": 4096, "blocks": 8, "ctime": 1735995104.568786, "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": 1735995104.568786, "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:51:53 -0500 (0:00:00.413) 0:00:46.897 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:51:53 -0500 (0:00:00.058) 0:00:46.955 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019560", "end": "2025-01-04 07:51:53.852089", "rc": 1, "start": "2025-01-04 07:51:53.832529" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:51:53 -0500 (0:00:00.417) 0:00:47.372 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:51:53 -0500 (0:00:00.037) 0:00:47.410 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002885", "end": "2025-01-04 07:51:54.263984", "rc": 0, "start": "2025-01-04 07:51:54.261099" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:51:54 -0500 (0:00:00.405) 0:00:47.816 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:51:54 -0500 (0:00:00.045) 0:00:47.861 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002652", "end": "2025-01-04 07:51:54.711707", "rc": 0, "start": "2025-01-04 07:51:54.709055" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:51:54 -0500 (0:00:00.389) 0:00:48.251 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:51:54 -0500 (0:00:00.068) 0:00:48.320 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:51:54 -0500 (0:00:00.065) 0:00:48.386 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:51:55 -0500 (0:00:00.080) 0:00:48.466 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:51:55 -0500 (0:00:00.116) 0:00:48.583 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:51:55 -0500 (0:00:00.049) 0:00:48.632 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:51:55 -0500 (0:00:00.102) 0:00:48.734 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:51:55 -0500 (0:00:00.164) 0:00:48.898 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041259", "end": "2025-01-04 07:51:55.925755", "rc": 0, "start": "2025-01-04 07:51:55.884496" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.618) 0:00:49.517 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.115) 0:00:49.632 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.088) 0:00:49.721 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.145) 0:00:49.867 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.093) 0:00:49.960 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:51:56 -0500 (0:00:00.094) 0:00:50.055 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002747", "end": "2025-01-04 07:51:57.050716", "rc": 0, "start": "2025-01-04 07:51:57.047969" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.537) 0:00:50.593 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.082) 0:00:50.676 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.094) 0:00:50.770 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.099) 0:00:50.870 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.084) 0:00:50.954 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.078) 0:00:51.033 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.043) 0:00:51.077 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.067) 0:00:51.144 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:51:57 -0500 (0:00:00.046) 0:00:51.191 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:51:59 -0500 (0:00:01.735) 0:00:52.926 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:01 -0500 (0:00:01.544) 0:00:54.471 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.037) 0:00:54.509 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.037) 0:00:54.546 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.068) 0:00:54.615 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.041) 0:00:54.656 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.066) 0:00:54.723 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.059) 0:00:54.782 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.069) 0:00:54.852 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.120) 0:00:54.973 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.057) 0:00:55.030 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.059) 0:00:55.090 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.067) 0:00:55.157 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.060) 0:00:55.218 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:01 -0500 (0:00:00.049) 0:00:55.268 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:02 -0500 (0:00:00.576) 0:00:55.844 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpjjdf773z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:02 -0500 (0:00:00.413) 0:00:56.258 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:03 -0500 (0:00:00.639) 0:00:56.897 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:03 -0500 (0:00:00.067) 0:00:56.965 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:03 -0500 (0:00:00.067) 0:00:57.032 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:03 -0500 (0:00:00.077) 0:00:57.110 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:03 -0500 (0:00:00.078) 0:00:57.188 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.599) 0:00:57.787 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.068) 0:00:57.856 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.096) 0:00:57.952 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.130) 0:00:58.083 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.068) 0:00:58.151 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.043) 0:00:58.195 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:04 -0500 (0:00:00.041) 0:00:58.236 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:06 -0500 (0:00:01.592) 0:00:59.828 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:07 -0500 (0:00:01.500) 0:01:01.329 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:07 -0500 (0:00:00.060) 0:01:01.389 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:07 -0500 (0:00:00.056) 0:01:01.445 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.044) 0:01:01.490 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.042) 0:01:01.532 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.056) 0:01:01.589 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.041) 0:01:01.631 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.095) 0:01:01.727 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.073) 0:01:01.801 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.036) 0:01:01.837 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.043) 0:01:01.881 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.052) 0:01:01.933 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.049) 0:01:01.982 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:08 -0500 (0:00:00.053) 0:01:02.036 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:09 -0500 (0:00:00.609) 0:01:02.646 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpzp_b0b_n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:09 -0500 (0:00:00.480) 0:01:03.126 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:10 -0500 (0:00:00.768) 0:01:03.895 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:10 -0500 (0:00:00.053) 0:01:03.949 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:10 -0500 (0:00:00.092) 0:01:04.041 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:10 -0500 (0:00:00.060) 0:01:04.102 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:10 -0500 (0:00:00.044) 0:01:04.147 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.515) 0:01:04.662 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.112) 0:01:04.774 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.128) 0:01:04.903 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.134) 0:01:05.037 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.070) 0:01:05.108 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.040) 0:01:05.148 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:11 -0500 (0:00:00.048) 0:01:05.196 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:13 -0500 (0:00:01.630) 0:01:06.827 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:14 -0500 (0:00:01.456) 0:01:08.284 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:14 -0500 (0:00:00.037) 0:01:08.322 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:14 -0500 (0:00:00.043) 0:01:08.366 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:14 -0500 (0:00:00.037) 0:01:08.404 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:14 -0500 (0:00:00.035) 0:01:08.439 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.042) 0:01:08.481 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.036) 0:01:08.517 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.038) 0:01:08.556 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.135) 0:01:08.691 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.036) 0:01:08.727 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.034) 0:01:08.762 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.042) 0:01:08.804 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.034) 0:01:08.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.034) 0:01:08.873 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:15 -0500 (0:00:00.541) 0:01:09.415 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpwklwe57w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:16 -0500 (0:00:00.385) 0:01:09.800 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:16 -0500 (0:00:00.499) 0:01:10.300 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:16 -0500 (0:00:00.036) 0:01:10.336 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:16 -0500 (0:00:00.039) 0:01:10.375 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:16 -0500 (0:00:00.077) 0:01:10.453 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:17 -0500 (0:00:00.036) 0:01:10.489 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:52:17 -0500 (0:00:00.376) 0:01:10.866 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 07:52:17 -0500 (0:00:00.140) 0:01:11.006 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:17 -0500 (0:00:00.102) 0:01:11.109 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1735995130.2756386, "block_size": 4096, "blocks": 0, "ctime": 1735995130.2756386, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35019, "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": 1735995130.2756386, "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.626) 0:01:11.736 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.082) 0:01:11.819 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.099) 0:01:11.919 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.055) 0:01:11.974 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.405) 0:01:12.379 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:52:18 -0500 (0:00:00.053) 0:01:12.433 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018257", "end": "2025-01-04 07:52:19.386562", "rc": 1, "start": "2025-01-04 07:52:19.368305" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.479) 0:01:12.913 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.043) 0:01:12.957 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.037) 0:01:12.994 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.035) 0:01:13.029 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.035) 0:01:13.065 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.035) 0:01:13.101 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.043) 0:01:13.144 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.038) 0:01:13.182 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.053) 0:01:13.235 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:52:19 -0500 (0:00:00.118) 0:01:13.354 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042696", "end": "2025-01-04 07:52:20.416212", "rc": 0, "start": "2025-01-04 07:52:20.373516" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 04 January 2025 07:52:20 -0500 (0:00:00.584) 0:01:13.938 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:52:20 -0500 (0:00:00.114) 0:01:14.053 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:52:20 -0500 (0:00:00.113) 0:01:14.167 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.338) 0:01:14.506 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.100) 0:01:14.606 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.107) 0:01:14.714 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002834", "end": "2025-01-04 07:52:21.559970", "rc": 0, "start": "2025-01-04 07:52:21.557136" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.388) 0:01:15.102 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.050) 0:01:15.153 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.045) 0:01:15.199 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.088) 0:01:15.287 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.059) 0:01:15.347 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.067) 0:01:15.414 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.047) 0:01:15.461 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.080) 0:01:15.541 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.056) 0:01:15.597 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:23 -0500 (0:00:01.587) 0:01:17.185 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:25 -0500 (0:00:01.502) 0:01:18.687 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.078) 0:01:18.766 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.041) 0:01:18.807 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.070) 0:01:18.877 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.042) 0:01:18.920 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.051) 0:01:18.971 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.043) 0:01:19.014 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.053) 0:01:19.068 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.109) 0:01:19.177 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.058) 0:01:19.235 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.063) 0:01:19.299 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.067) 0:01:19.366 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:25 -0500 (0:00:00.046) 0:01:19.413 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:26 -0500 (0:00:00.055) 0:01:19.468 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:26 -0500 (0:00:00.657) 0:01:20.126 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpw49m0wnb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:27 -0500 (0:00:00.465) 0:01:20.591 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:27 -0500 (0:00:00.724) 0:01:21.316 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:27 -0500 (0:00:00.063) 0:01:21.380 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:27 -0500 (0:00:00.060) 0:01:21.440 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.070) 0:01:21.510 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.064) 0:01:21.575 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.401) 0:01:21.976 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.045) 0:01:22.022 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.069) 0:01:22.091 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.099) 0:01:22.191 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.058) 0:01:22.249 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.041) 0:01:22.291 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.044) 0:01:22.335 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:30 -0500 (0:00:01.583) 0:01:23.919 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:31 -0500 (0:00:01.450) 0:01:25.369 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.039) 0:01:25.409 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.038) 0:01:25.448 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.038) 0:01:25.486 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.036) 0:01:25.523 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.046) 0:01:25.569 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.070) 0:01:25.640 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.043) 0:01:25.683 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.076) 0:01:25.760 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.037) 0:01:25.797 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.036) 0:01:25.834 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.047) 0:01:25.881 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.038) 0:01:25.920 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.037) 0:01:25.958 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.557) 0:01:26.515 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpjdibqaru" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.432) 0:01:26.948 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.720) 0:01:27.668 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.073) 0:01:27.742 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.046) 0:01:27.788 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.055) 0:01:27.844 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.054) 0:01:27.899 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.561) 0:01:28.460 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.109) 0:01:28.570 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.147) 0:01:28.717 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.081) 0:01:28.799 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.057) 0:01:28.857 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.078) 0:01:28.936 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:37 -0500 (0:00:01.577) 0:01:30.513 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:38 -0500 (0:00:01.476) 0:01:31.989 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.039) 0:01:32.029 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.035) 0:01:32.064 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.035) 0:01:32.099 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.033) 0:01:32.133 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.043) 0:01:32.177 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.061) 0:01:32.239 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.053) 0:01:32.293 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.069) 0:01:32.363 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.035) 0:01:32.398 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:38 -0500 (0:00:00.039) 0:01:32.437 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:39 -0500 (0:00:00.056) 0:01:32.494 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:39 -0500 (0:00:00.045) 0:01:32.540 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:39 -0500 (0:00:00.038) 0:01:32.579 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:39 -0500 (0:00:00.540) 0:01:33.119 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmp3bpvwe0o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.369) 0:01:33.489 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.519) 0:01:34.009 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.054) 0:01:34.063 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.099) 0:01:34.163 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.059) 0:01:34.223 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.053) 0:01:34.277 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.403) 0:01:34.680 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.080) 0:01:34.760 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.077) 0:01:34.838 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.069) 0:01:34.907 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.043) 0:01:34.950 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.034) 0:01:34.985 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.034) 0:01:35.019 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:43 -0500 (0:00:01.683) 0:01:36.703 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:44 -0500 (0:00:01.653) 0:01:38.356 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.062) 0:01:38.418 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.068) 0:01:38.487 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.058) 0:01:38.545 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.089) 0:01:38.635 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.092) 0:01:38.727 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.084) 0:01:38.812 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.060) 0:01:38.872 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.078) 0:01:38.951 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.034) 0:01:38.986 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.034) 0:01:39.021 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.047) 0:01:39.069 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.047) 0:01:39.116 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.056) 0:01:39.172 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.572) 0:01:39.745 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmp9_3bq3dv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.448) 0:01:40.193 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:47 -0500 (0:00:00.663) 0:01:40.857 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:47 -0500 (0:00:00.107) 0:01:40.964 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:47 -0500 (0:00:00.103) 0:01:41.068 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:47 -0500 (0:00:00.107) 0:01:41.175 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:47 -0500 (0:00:00.043) 0:01:41.219 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.395) 0:01:41.615 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.127) 0:01:41.742 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.109) 0:01:41.852 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.075) 0:01:41.927 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.386) 0:01:42.313 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:52:48 -0500 (0:00:00.037) 0:01:42.351 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018012", "end": "2025-01-04 07:52:49.247691", "rc": 1, "start": "2025-01-04 07:52:49.229679" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.429) 0:01:42.780 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.049) 0:01:42.830 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.085) 0:01:42.916 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.095) 0:01:43.011 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.041) 0:01:43.053 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.045) 0:01:43.098 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.059) 0:01:43.157 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.067) 0:01:43.225 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.059) 0:01:43.285 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:52:49 -0500 (0:00:00.103) 0:01:43.389 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046201", "end": "2025-01-04 07:52:50.279585", "rc": 0, "start": "2025-01-04 07:52:50.233384" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.533) 0:01:43.922 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.195) 0:01:44.118 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.099) 0:01:44.218 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.146) 0:01:44.365 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.100) 0:01:44.465 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.148) 0:01:44.614 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002634", "end": "2025-01-04 07:52:51.500976", "rc": 0, "start": "2025-01-04 07:52:51.498342" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.431) 0:01:45.045 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.045) 0:01:45.091 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.038) 0:01:45.130 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.074) 0:01:45.204 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.060) 0:01:45.264 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.092) 0:01:45.357 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.066) 0:01:45.423 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.052) 0:01:45.475 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.054) 0:01:45.530 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:53 -0500 (0:00:01.735) 0:01:47.265 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:55 -0500 (0:00:01.584) 0:01:48.849 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.076) 0:01:48.926 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.044) 0:01:48.971 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.042) 0:01:49.013 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.035) 0:01:49.049 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.041) 0:01:49.090 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.063) 0:01:49.153 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.050) 0:01:49.204 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.101) 0:01:49.305 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.045) 0:01:49.351 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:55 -0500 (0:00:00.063) 0:01:49.414 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:56 -0500 (0:00:00.052) 0:01:49.466 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:56 -0500 (0:00:00.040) 0:01:49.507 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:56 -0500 (0:00:00.038) 0:01:49.546 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:56 -0500 (0:00:00.519) 0:01:50.065 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpb8ybaemk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:56 -0500 (0:00:00.366) 0:01:50.431 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.500) 0:01:50.932 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.061) 0:01:50.993 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.109) 0:01:51.103 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.057) 0:01:51.161 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.056) 0:01:51.217 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.407) 0:01:51.625 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.044) 0:01:51.670 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.059) 0:01:51.729 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.068) 0:01:51.797 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.041) 0:01:51.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.034) 0:01:51.873 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.035) 0:01:51.909 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:00 -0500 (0:00:01.625) 0:01:53.534 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:01 -0500 (0:00:01.460) 0:01:54.994 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.040) 0:01:55.035 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.052) 0:01:55.087 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.053) 0:01:55.141 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.063) 0:01:55.205 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.076) 0:01:55.281 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.081) 0:01:55.362 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.133) 0:01:55.496 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.108) 0:01:55.604 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.047) 0:01:55.652 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.044) 0:01:55.696 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.049) 0:01:55.746 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.037) 0:01:55.783 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.040) 0:01:55.824 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.590) 0:01:56.414 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmpzo756hr9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.456) 0:01:56.870 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.913) 0:01:57.784 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.051) 0:01:57.835 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.045) 0:01:57.881 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.075) 0:01:57.957 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.038) 0:01:57.996 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:53:04 -0500 (0:00:00.396) 0:01:58.392 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:05 -0500 (0:00:00.088) 0:01:58.481 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:05 -0500 (0:00:00.083) 0:01:58.564 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:05 -0500 (0:00:00.075) 0:01:58.639 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:05 -0500 (0:00:00.067) 0:01:58.707 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:05 -0500 (0:00:00.048) 0:01:58.755 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:06 -0500 (0:00:01.629) 0:02:00.385 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:08 -0500 (0:00:01.436) 0:02:01.821 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.039) 0:02:01.861 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.037) 0:02:01.898 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.035) 0:02:01.934 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.038) 0:02:01.972 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.045) 0:02:02.017 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.036) 0:02:02.054 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.078) 0:02:02.132 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.074) 0:02:02.206 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.035) 0:02:02.242 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.036) 0:02:02.278 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.051) 0:02:02.330 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.036) 0:02:02.366 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.051) 0:02:02.417 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.571) 0:02:02.989 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmp9sqom_q8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.435) 0:02:03.424 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.573) 0:02:03.997 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.059) 0:02:04.057 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.064) 0:02:04.122 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.095) 0:02:04.218 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.043) 0:02:04.261 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.399) 0:02:04.661 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.105) 0:02:04.766 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.101) 0:02:04.867 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.100) 0:02:04.968 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.053) 0:02:05.021 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.043) 0:02:05.065 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:11 -0500 (0:00:00.039) 0:02:05.105 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:13 -0500 (0:00:01.571) 0:02:06.677 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:14 -0500 (0:00:01.462) 0:02:08.139 ****** ok: [managed-node2] => {} 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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.038) 0:02:08.178 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.037) 0:02:08.216 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.035) 0:02:08.252 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.036) 0:02:08.288 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.071) 0:02:08.359 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.035) 0:02:08.394 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.040) 0:02:08.434 ****** skipping: [managed-node2] => { "changed": false, "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.080) 0:02:08.515 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.045) 0:02:08.560 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.057) 0:02:08.618 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.072) 0:02:08.690 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.053) 0:02:08.744 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.057) 0:02:08.801 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.604) 0:02:09.406 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-490374z7yg3cj/tmp4w7d6ows" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.401) 0:02:09.807 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.584) 0:02:10.392 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.054) 0:02:10.446 ****** ok: [managed-node2] => { "__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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.101) 0:02:10.547 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.061) 0:02:10.609 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.104) 0:02:10.714 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.506) 0:02:11.221 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.085) 0:02:11.306 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.109) 0:02:11.415 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:53:18 -0500 (0:00:00.057) 0:02:11.473 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:53:18 -0500 (0:00:00.491) 0:02:11.965 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:53:18 -0500 (0:00:00.039) 0:02:12.004 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017765", "end": "2025-01-04 07:53:18.945577", "rc": 1, "start": "2025-01-04 07:53:18.927812" } 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.483) 0:02:12.488 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.081) 0:02:12.569 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.124) 0:02:12.694 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.122) 0:02:12.817 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.080) 0:02:12.897 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.061) 0:02:12.959 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 04 January 2025 07:53:19 -0500 (0:00:00.063) 0:02:13.022 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.875196", "end": "2025-01-04 07:53:20.802277", "rc": 0, "start": "2025-01-04 07:53:19.927081" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 04 January 2025 07:53:20 -0500 (0:00:01.337) 0:02:14.359 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.060) 0:02:14.420 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.066) 0:02:14.486 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.072) 0:02:14.558 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.060) 0:02:14.618 ****** included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.124) 0:02:14.742 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043523", "end": "2025-01-04 07:53:21.732203", "rc": 0, "start": "2025-01-04 07:53:21.688680" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.535) 0:02:15.278 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007859", "end": "2025-01-04 07:53:22.427766", "rc": 0, "start": "2025-01-04 07:53:22.419907" } 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 0a:ff:dd:13:67:bf brd ff:ff:ff:ff:ff:ff inet 10.31.15.159/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2751sec preferred_lft 2751sec inet6 fe80::8ff:ddff:fe13:67bf/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 72:73:7f:21:8e:7a 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.12.1 dev eth0 proto dhcp src 10.31.15.159 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.159 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-09j/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.772) 0:02:16.050 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.211150", "end": "2025-01-04 07:53:23.146812", "rc": 0, "start": "2025-01-04 07:53:22.935662" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2798 0 --:--:-- --:--:-- --:--:-- 2772 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.608) 0:02:16.658 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-09j/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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-09j/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-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Enable EPEL 8 ----------------------------------------------------------- 1.61s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-09j/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21