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-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 18 January 2025 09:05:12 -0500 (0:00:00.029) 0:00:00.029 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 18 January 2025 09:05:13 -0500 (0:00:01.135) 0:00:01.165 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 18 January 2025 09:05:13 -0500 (0:00:00.040) 0:00:01.205 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 18 January 2025 09:05:14 -0500 (0:00:00.492) 0:00:01.698 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 18 January 2025 09:05:14 -0500 (0:00:00.482) 0:00:02.181 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 18 January 2025 09:05:14 -0500 (0:00:00.039) 0:00:02.220 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 18 January 2025 09:05:14 -0500 (0:00:00.056) 0:00:02.277 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 18 January 2025 09:05:14 -0500 (0:00:00.096) 0:00:02.374 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.433) 0:00:02.807 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.025) 0:00:02.833 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.017) 0:00:02.850 ****** [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:00.236666", "end": "2025-01-18 09:05:15.848593", "rc": 0, "start": "2025-01-18 09:05:15.611927" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.640) 0:00:03.490 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.024) 0:00:03.515 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 18 January 2025 09:05:15 -0500 (0:00:00.035) 0:00:03.551 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.693) 0:00:04.244 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.025) 0:00:04.270 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.042) 0:00:04.312 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.028) 0:00:04.341 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.112) 0:00:04.454 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.068) 0:00:04.522 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:05:16 -0500 (0:00:00.044) 0:00:04.567 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002993", "end": "2025-01-18 09:05:17.332203", "rc": 0, "start": "2025-01-18 09:05:17.329210" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:05:17 -0500 (0:00:00.429) 0:00:04.996 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:05:17 -0500 (0:00:00.060) 0:00:05.056 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:05:17 -0500 (0:00:00.033) 0:00:05.090 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 18 January 2025 09:05:17 -0500 (0:00:00.059) 0:00:05.150 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007805", "end": "2025-01-18 09:05:18.033768", "rc": 1, "start": "2025-01-18 09:05:18.025963" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.573) 0:00:05.723 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.080) 0:00:05.804 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.373) 0:00:06.178 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.023) 0:00:06.201 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.033) 0:00:06.235 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.204) 0:00:06.439 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.059) 0:00:06.499 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:05:18 -0500 (0:00:00.075) 0:00:06.574 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:05:19 -0500 (0:00:00.065) 0:00:06.640 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:05:19 -0500 (0:00:00.090) 0:00:06.730 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:05:21 -0500 (0:00:01.904) 0:00:08.635 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:05:22 -0500 (0:00:01.822) 0:00:10.458 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:05:22 -0500 (0:00:00.050) 0:00:10.508 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:05:22 -0500 (0:00:00.055) 0:00:10.564 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.050) 0:00:10.614 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.042) 0:00:10.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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.044) 0:00:10.701 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.039) 0:00:10.740 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.051) 0:00:10.792 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.117) 0:00:10.909 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.059) 0:00:10.968 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.057) 0:00:11.026 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.067) 0:00:11.093 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.057) 0:00:11.151 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:05:23 -0500 (0:00:00.059) 0:00:11.210 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:05:24 -0500 (0:00:00.891) 0:00:12.101 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpfvxyl9_f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:05:24 -0500 (0:00:00.452) 0:00:12.554 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:05:25 -0500 (0:00:00.902) 0:00:13.456 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:05:25 -0500 (0:00:00.057) 0:00:13.513 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:05:25 -0500 (0:00:00.061) 0:00:13.574 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.060) 0:00:13.635 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.052) 0:00:13.688 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.530) 0:00:14.219 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.039) 0:00:14.258 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.081) 0:00:14.340 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.105) 0:00:14.446 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:05:26 -0500 (0:00:00.062) 0:00:14.508 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737209125.7845187, "block_size": 4096, "blocks": 8, "ctime": 1737209125.7845187, "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": 1737209125.7845187, "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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:05:27 -0500 (0:00:00.396) 0:00:14.905 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:05:27 -0500 (0:00:00.063) 0:00:14.968 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017749", "end": "2025-01-18 09:05:27.732445", "rc": 1, "start": "2025-01-18 09:05:27.714696" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:05:27 -0500 (0:00:00.418) 0:00:15.387 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:05:27 -0500 (0:00:00.055) 0:00:15.442 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002950", "end": "2025-01-18 09:05:28.189562", "rc": 0, "start": "2025-01-18 09:05:28.186612" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:05:28 -0500 (0:00:00.410) 0:00:15.852 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:05:28 -0500 (0:00:00.112) 0:00:15.965 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002731", "end": "2025-01-18 09:05:28.730205", "rc": 0, "start": "2025-01-18 09:05:28.727474" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:05:28 -0500 (0:00:00.444) 0:00:16.410 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 18 January 2025 09:05:28 -0500 (0:00:00.069) 0:00:16.480 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 18 January 2025 09:05:28 -0500 (0:00:00.064) 0:00:16.544 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 18 January 2025 09:05:29 -0500 (0:00:00.063) 0:00:16.608 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:05:29 -0500 (0:00:00.061) 0:00:16.669 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:05:29 -0500 (0:00:00.066) 0:00:16.735 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:05:29 -0500 (0:00:00.077) 0:00:16.813 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:05:29 -0500 (0:00:00.142) 0:00:16.955 ****** 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.035914", "end": "2025-01-18 09:05:29.945323", "rc": 1, "start": "2025-01-18 09:05:29.909409" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.637) 0:00:17.593 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.063) 0:00:17.657 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.038) 0:00:17.695 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.113) 0:00:17.809 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.080) 0:00:17.890 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.090) 0:00:17.981 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003157", "end": "2025-01-18 09:05:30.747103", "rc": 0, "start": "2025-01-18 09:05:30.743946" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.415) 0:00:18.396 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.039) 0:00:18.435 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.038) 0:00:18.474 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 18 January 2025 09:05:30 -0500 (0:00:00.069) 0:00:18.543 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005481", "end": "2025-01-18 09:05:31.280707", "rc": 1, "start": "2025-01-18 09:05:31.275226" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 18 January 2025 09:05:31 -0500 (0:00:00.406) 0:00:18.950 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 18 January 2025 09:05:31 -0500 (0:00:00.114) 0:00:19.064 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 18 January 2025 09:05:31 -0500 (0:00:00.417) 0:00:19.481 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:05:31 -0500 (0:00:00.086) 0:00:19.567 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.074) 0:00:19.642 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.076) 0:00:19.719 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.076) 0:00:19.796 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.045) 0:00:19.842 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.038) 0:00:19.880 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:05:32 -0500 (0:00:00.037) 0:00:19.918 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:05:34 -0500 (0:00:01.697) 0:00:21.616 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:05:35 -0500 (0:00:01.503) 0:00:23.119 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.049) 0:00:23.169 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.045) 0:00:23.214 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.045) 0:00:23.260 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.071) 0:00:23.331 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.066) 0:00:23.398 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.043) 0:00:23.442 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:05:35 -0500 (0:00:00.049) 0:00:23.491 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.120) 0:00:23.612 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.037) 0:00:23.649 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.037) 0:00:23.686 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.051) 0:00:23.738 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.056) 0:00:23.794 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.058) 0:00:23.853 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:05:36 -0500 (0:00:00.557) 0:00:24.410 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpz_4w65g_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:05:37 -0500 (0:00:00.396) 0:00:24.807 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.774) 0:00:25.582 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.068) 0:00:25.650 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.068) 0:00:25.719 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.063) 0:00:25.783 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.045) 0:00:25.828 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.406) 0:00:26.234 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.044) 0:00:26.279 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.112) 0:00:26.392 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 18 January 2025 09:05:38 -0500 (0:00:00.102) 0:00:26.494 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.385) 0:00:26.880 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.041) 0:00:26.921 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.062) 0:00:26.984 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.037) 0:00:27.021 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737209137.8965883, "block_size": 4096, "blocks": 8, "ctime": 1737209137.8965883, "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": 1737209137.8965883, "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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.501) 0:00:27.522 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:05:39 -0500 (0:00:00.038) 0:00:27.561 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017517", "end": "2025-01-18 09:05:40.303881", "rc": 1, "start": "2025-01-18 09:05:40.286364" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:05:40 -0500 (0:00:00.399) 0:00:27.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:05:40 -0500 (0:00:00.037) 0:00:27.999 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003117", "end": "2025-01-18 09:05:40.720153", "rc": 0, "start": "2025-01-18 09:05:40.717036" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:05:40 -0500 (0:00:00.374) 0:00:28.373 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:05:40 -0500 (0:00:00.071) 0:00:28.444 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002792", "end": "2025-01-18 09:05:41.251479", "rc": 0, "start": "2025-01-18 09:05:41.248687" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.496) 0:00:28.941 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.073) 0:00:29.014 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.069) 0:00:29.084 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.066) 0:00:29.150 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.063) 0:00:29.213 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.065) 0:00:29.279 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.059) 0:00:29.338 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:05:41 -0500 (0:00:00.131) 0:00:29.470 ****** 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.035600", "end": "2025-01-18 09:05:42.291409", "rc": 1, "start": "2025-01-18 09:05:42.255809" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 18 January 2025 09:05:42 -0500 (0:00:00.537) 0:00:30.008 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:05:42 -0500 (0:00:00.102) 0:00:30.110 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:05:42 -0500 (0:00:00.060) 0:00:30.171 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:05:42 -0500 (0:00:00.188) 0:00:30.360 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:05:42 -0500 (0:00:00.142) 0:00:30.503 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.197) 0:00:30.701 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002953", "end": "2025-01-18 09:05:43.445867", "rc": 0, "start": "2025-01-18 09:05:43.442914" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.400) 0:00:31.101 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.056) 0:00:31.157 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.076) 0:00:31.234 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.177) 0:00:31.411 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:05:43 -0500 (0:00:00.115) 0:00:31.526 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:05:44 -0500 (0:00:00.171) 0:00:31.698 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:05:44 -0500 (0:00:00.071) 0:00:31.770 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:05:44 -0500 (0:00:00.041) 0:00:31.811 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:05:44 -0500 (0:00:00.046) 0:00:31.858 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:05:46 -0500 (0:00:01.751) 0:00:33.610 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:05:47 -0500 (0:00:01.559) 0:00:35.169 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.068) 0:00:35.237 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.049) 0:00:35.287 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.065) 0:00:35.353 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.057) 0:00:35.410 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.054) 0:00:35.465 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.043) 0:00:35.509 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:05:47 -0500 (0:00:00.053) 0:00:35.562 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.119) 0:00:35.682 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.059) 0:00:35.741 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.055) 0:00:35.796 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.071) 0:00:35.868 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.050) 0:00:35.918 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:05:48 -0500 (0:00:00.056) 0:00:35.974 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:05:49 -0500 (0:00:00.628) 0:00:36.602 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpsbx1ltsm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:05:49 -0500 (0:00:00.398) 0:00:37.001 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.629) 0:00:37.630 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.061) 0:00:37.691 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.063) 0:00:37.755 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.063) 0:00:37.819 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.050) 0:00:37.869 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.412) 0:00:38.282 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.039) 0:00:38.321 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.068) 0:00:38.389 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:05:50 -0500 (0:00:00.077) 0:00:38.467 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:05:51 -0500 (0:00:00.224) 0:00:38.692 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:05:51 -0500 (0:00:00.070) 0:00:38.762 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:05:51 -0500 (0:00:00.054) 0:00:38.817 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:05:51 -0500 (0:00:00.052) 0:00:38.869 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:05:52 -0500 (0:00:01.600) 0:00:40.470 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:05:54 -0500 (0:00:01.665) 0:00:42.135 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.066) 0:00:42.202 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.059) 0:00:42.261 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.047) 0:00:42.308 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.040) 0:00:42.349 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.047) 0:00:42.397 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.036) 0:00:42.433 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.041) 0:00:42.475 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:05:54 -0500 (0:00:00.075) 0:00:42.551 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.037) 0:00:42.588 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.036) 0:00:42.625 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.040) 0:00:42.665 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.036) 0:00:42.701 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.036) 0:00:42.738 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:05:55 -0500 (0:00:00.516) 0:00:43.255 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpgzrn39f6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:05:56 -0500 (0:00:00.397) 0:00:43.653 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:05:57 -0500 (0:00:01.010) 0:00:44.663 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.055) 0:00:44.719 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.062) 0:00:44.781 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.049) 0:00:44.830 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.042) 0:00:44.873 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.384) 0:00:45.258 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.115) 0:00:45.374 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 18 January 2025 09:05:57 -0500 (0:00:00.094) 0:00:45.469 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737209156.9014828, "block_size": 4096, "blocks": 0, "ctime": 1737209156.9014828, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34958, "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": 1737209156.9014828, "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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 18 January 2025 09:05:58 -0500 (0:00:00.584) 0:00:46.053 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 18 January 2025 09:05:58 -0500 (0:00:00.066) 0:00:46.120 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:05:58 -0500 (0:00:00.128) 0:00:46.248 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:05:58 -0500 (0:00:00.079) 0:00:46.328 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737209156.7446969, "block_size": 4096, "blocks": 8, "ctime": 1737209149.9536576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737209149.9536576, "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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:05:59 -0500 (0:00:00.452) 0:00:46.781 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:05:59 -0500 (0:00:00.122) 0:00:46.904 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018213", "end": "2025-01-18 09:05:59.751763", "rc": 1, "start": "2025-01-18 09:05:59.733550" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:05:59 -0500 (0:00:00.505) 0:00:47.409 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:05:59 -0500 (0:00:00.045) 0:00:47.454 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002901", "end": "2025-01-18 09:06:00.213990", "rc": 0, "start": "2025-01-18 09:06:00.211089" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:06:00 -0500 (0:00:00.429) 0:00:47.884 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:06:00 -0500 (0:00:00.065) 0:00:47.949 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003972", "end": "2025-01-18 09:06:01.728001", "rc": 0, "start": "2025-01-18 09:06:00.724029" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:06:01 -0500 (0:00:01.479) 0:00:49.429 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 18 January 2025 09:06:01 -0500 (0:00:00.112) 0:00:49.541 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.065) 0:00:49.607 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.058) 0:00:49.666 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.047) 0:00:49.713 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.043) 0:00:49.757 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.042) 0:00:49.799 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.083) 0:00:49.883 ****** 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.043896", "end": "2025-01-18 09:06:02.761504", "rc": 0, "start": "2025-01-18 09:06:02.717608" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.531) 0:00:50.414 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.076) 0:00:50.490 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:06:02 -0500 (0:00:00.077) 0:00:50.568 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:06:03 -0500 (0:00:00.136) 0:00:50.705 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:06:03 -0500 (0:00:00.254) 0:00:50.959 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:06:03 -0500 (0:00:00.182) 0:00:51.141 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002949", "end": "2025-01-18 09:06:03.985667", "rc": 0, "start": "2025-01-18 09:06:03.982718" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.499) 0:00:51.641 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.039) 0:00:51.681 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.043) 0:00:51.724 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.109) 0:00:51.834 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.104) 0:00:51.938 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.110) 0:00:52.049 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.052) 0:00:52.101 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.043) 0:00:52.145 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:04 -0500 (0:00:00.041) 0:00:52.187 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:06 -0500 (0:00:01.651) 0:00:53.839 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:07 -0500 (0:00:01.454) 0:00:55.293 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:07 -0500 (0:00:00.044) 0:00:55.338 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:07 -0500 (0:00:00.069) 0:00:55.408 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:07 -0500 (0:00:00.046) 0:00:55.454 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:07 -0500 (0:00:00.055) 0:00:55.509 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:07 -0500 (0:00:00.052) 0:00:55.562 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.044) 0:00:55.606 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.050) 0:00:55.657 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.098) 0:00:55.756 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.043) 0:00:55.799 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.038) 0:00:55.838 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.049) 0:00:55.887 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.058) 0:00:55.946 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:08 -0500 (0:00:00.057) 0:00:56.003 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:09 -0500 (0:00:00.606) 0:00:56.610 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpxba7gcu_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:09 -0500 (0:00:00.509) 0:00:57.119 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:10 -0500 (0:00:00.807) 0:00:57.926 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:10 -0500 (0:00:00.057) 0:00:57.984 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:10 -0500 (0:00:00.059) 0:00:58.044 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:10 -0500 (0:00:00.074) 0:00:58.119 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:10 -0500 (0:00:00.087) 0:00:58.206 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.614) 0:00:58.820 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.043) 0:00:58.864 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.061) 0:00:58.925 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.085) 0:00:59.011 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.069) 0:00:59.080 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.057) 0:00:59.138 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:11 -0500 (0:00:00.058) 0:00:59.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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:13 -0500 (0:00:01.649) 0:01:00.845 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:14 -0500 (0:00:01.522) 0:01:02.367 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:14 -0500 (0:00:00.049) 0:01:02.416 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:14 -0500 (0:00:00.062) 0:01:02.479 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:14 -0500 (0:00:00.070) 0:01:02.549 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.077) 0:01:02.627 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.070) 0:01:02.697 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.099) 0:01:02.797 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.071) 0:01:02.869 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.129) 0:01:02.998 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.081) 0:01:03.080 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.071) 0:01:03.151 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.065) 0:01:03.217 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.059) 0:01:03.277 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:15 -0500 (0:00:00.064) 0:01:03.342 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:16 -0500 (0:00:00.636) 0:01:03.978 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmp9r4a_g6j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:16 -0500 (0:00:00.531) 0:01:04.509 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:17 -0500 (0:00:00.776) 0:01:05.286 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:17 -0500 (0:00:00.059) 0:01:05.345 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:17 -0500 (0:00:00.110) 0:01:05.456 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:17 -0500 (0:00:00.064) 0:01:05.520 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:17 -0500 (0:00:00.056) 0:01:05.577 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.410) 0:01:05.987 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.085) 0:01:06.073 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.106) 0:01:06.180 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.073) 0:01:06.253 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.047) 0:01:06.301 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.036) 0:01:06.337 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:18 -0500 (0:00:00.037) 0:01:06.374 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:20 -0500 (0:00:01.600) 0:01:07.975 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:21 -0500 (0:00:01.518) 0:01:09.494 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:21 -0500 (0:00:00.072) 0:01:09.566 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.059) 0:01:09.625 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.076) 0:01:09.702 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.060) 0:01:09.762 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.067) 0:01:09.829 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.076) 0:01:09.906 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.051) 0:01:09.958 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.080) 0:01:10.038 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.037) 0:01:10.075 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.041) 0:01:10.117 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.061) 0:01:10.178 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.087) 0:01:10.266 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:22 -0500 (0:00:00.139) 0:01:10.405 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:23 -0500 (0:00:00.718) 0:01:11.123 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmp3ma96znz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:23 -0500 (0:00:00.414) 0:01:11.538 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:24 -0500 (0:00:00.544) 0:01:12.083 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:24 -0500 (0:00:00.036) 0:01:12.119 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:24 -0500 (0:00:00.082) 0:01:12.202 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:24 -0500 (0:00:00.059) 0:01:12.261 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:24 -0500 (0:00:00.067) 0:01:12.328 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.400) 0:01:12.729 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.098) 0:01:12.828 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.108) 0:01:12.937 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737209177.5276604, "block_size": 4096, "blocks": 0, "ctime": 1737209177.5276604, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35089, "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": 1737209177.5276604, "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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.392) 0:01:13.329 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.046) 0:01:13.376 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.111) 0:01:13.487 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:06:25 -0500 (0:00:00.061) 0:01:13.548 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:06:26 -0500 (0:00:00.423) 0:01:13.971 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:06:26 -0500 (0:00:00.058) 0:01:14.030 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017996", "end": "2025-01-18 09:06:26.778891", "rc": 1, "start": "2025-01-18 09:06:26.760895" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:06:26 -0500 (0:00:00.421) 0:01:14.452 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:06:26 -0500 (0:00:00.072) 0:01:14.524 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.062) 0:01:14.587 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.059) 0:01:14.646 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.059) 0:01:14.706 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.071) 0:01:14.778 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.069) 0:01:14.847 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.055) 0:01:14.903 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.061) 0:01:14.965 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.143) 0:01:15.108 ****** 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.043371", "end": "2025-01-18 09:06:27.881117", "rc": 0, "start": "2025-01-18 09:06:27.837746" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 18 January 2025 09:06:27 -0500 (0:00:00.424) 0:01:15.533 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:06:28 -0500 (0:00:00.198) 0:01:15.731 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:06:28 -0500 (0:00:00.068) 0:01:15.800 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:06:28 -0500 (0:00:00.174) 0:01:15.975 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:06:28 -0500 (0:00:00.228) 0:01:16.204 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:06:28 -0500 (0:00:00.144) 0:01:16.349 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003031", "end": "2025-01-18 09:06:29.110645", "rc": 0, "start": "2025-01-18 09:06:29.107614" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.420) 0:01:16.769 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.067) 0:01:16.837 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.064) 0:01:16.901 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.121) 0:01:17.023 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.102) 0:01:17.126 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.125) 0:01:17.252 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.054) 0:01:17.306 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.039) 0:01:17.346 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:29 -0500 (0:00:00.038) 0:01:17.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 : Check which packages are installed] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:31 -0500 (0:00:01.663) 0:01:19.049 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:33 -0500 (0:00:01.629) 0:01:20.678 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.107) 0:01:20.785 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.064) 0:01:20.850 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.059) 0:01:20.910 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.071) 0:01:20.982 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.062) 0:01:21.044 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.040) 0:01:21.085 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.050) 0:01:21.135 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.083) 0:01:21.218 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.051) 0:01:21.270 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.059) 0:01:21.329 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.064) 0:01:21.394 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.072) 0:01:21.467 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:33 -0500 (0:00:00.072) 0:01:21.539 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:34 -0500 (0:00:00.701) 0:01:22.240 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpf9c904ci" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.397) 0:01:22.637 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.571) 0:01:23.209 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.038) 0:01:23.247 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.039) 0:01:23.286 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.041) 0:01:23.328 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:35 -0500 (0:00:00.038) 0:01:23.366 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.362) 0:01:23.728 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.058) 0:01:23.786 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.082) 0:01:23.868 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.095) 0:01:23.964 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.050) 0:01:24.014 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.072) 0:01:24.086 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:36 -0500 (0:00:00.038) 0:01:24.125 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:38 -0500 (0:00:01.656) 0:01:25.781 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:39 -0500 (0:00:01.498) 0:01:27.279 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:39 -0500 (0:00:00.103) 0:01:27.383 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:39 -0500 (0:00:00.058) 0:01:27.441 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:39 -0500 (0:00:00.059) 0:01:27.501 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:39 -0500 (0:00:00.048) 0:01:27.549 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.049) 0:01:27.599 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.041) 0:01:27.641 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.049) 0:01:27.691 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.074) 0:01:27.765 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.036) 0:01:27.802 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.037) 0:01:27.840 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.046) 0:01:27.887 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.050) 0:01:27.937 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.058) 0:01:27.996 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:40 -0500 (0:00:00.581) 0:01:28.578 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmp9hehi72p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:41 -0500 (0:00:00.406) 0:01:28.985 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.727) 0:01:29.712 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.037) 0:01:29.750 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.040) 0:01:29.790 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.039) 0:01:29.830 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.037) 0:01:29.867 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.379) 0:01:30.247 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.067) 0:01:30.314 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.071) 0:01:30.385 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.045) 0:01:30.431 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.073) 0:01:30.505 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:42 -0500 (0:00:00.037) 0:01:30.542 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:44 -0500 (0:00:01.634) 0:01:32.177 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:46 -0500 (0:00:01.546) 0:01:33.723 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.101) 0:01:33.825 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.045) 0:01:33.870 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.043) 0:01:33.913 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.038) 0:01:33.952 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.043) 0:01:33.995 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.038) 0:01:34.033 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.045) 0:01:34.079 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.113) 0:01:34.192 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.114) 0:01:34.307 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.085) 0:01:34.392 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.073) 0:01:34.465 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:46 -0500 (0:00:00.066) 0:01:34.531 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:47 -0500 (0:00:00.090) 0:01:34.622 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:47 -0500 (0:00:00.763) 0:01:35.385 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpexr8_kvq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:48 -0500 (0:00:00.385) 0:01:35.770 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:48 -0500 (0:00:00.643) 0:01:36.414 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:48 -0500 (0:00:00.061) 0:01:36.475 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:48 -0500 (0:00:00.059) 0:01:36.534 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.064) 0:01:36.598 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.056) 0:01:36.655 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.388) 0:01:37.043 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.103) 0:01:37.146 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.098) 0:01:37.244 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.083) 0:01:37.328 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.045) 0:01:37.374 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.045) 0:01:37.420 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:06:49 -0500 (0:00:00.076) 0:01:37.496 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:06:51 -0500 (0:00:01.659) 0:01:39.156 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:06:53 -0500 (0:00:01.508) 0:01:40.664 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.060) 0:01:40.725 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.059) 0:01:40.784 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.059) 0:01:40.843 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.144) 0:01:40.988 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.117) 0:01:41.106 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.126) 0:01:41.232 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.113) 0:01:41.346 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.140) 0:01:41.486 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:06:53 -0500 (0:00:00.059) 0:01:41.546 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:06:54 -0500 (0:00:00.060) 0:01:41.606 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:06:54 -0500 (0:00:00.069) 0:01:41.676 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:06:54 -0500 (0:00:00.070) 0:01:41.746 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:06:54 -0500 (0:00:00.068) 0:01:41.815 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:06:54 -0500 (0:00:00.659) 0:01:42.474 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpgu3xjfvw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:06:55 -0500 (0:00:00.448) 0:01:42.923 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.768) 0:01:43.692 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.120) 0:01:43.813 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.061) 0:01:43.874 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.060) 0:01:43.934 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.046) 0:01:43.980 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:06:56 -0500 (0:00:00.454) 0:01:44.435 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 18 January 2025 09:06:57 -0500 (0:00:00.157) 0:01:44.592 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:06:57 -0500 (0:00:00.108) 0:01:44.701 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:06:57 -0500 (0:00:00.069) 0:01:44.771 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:06:57 -0500 (0:00:00.395) 0:01:45.166 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:06:57 -0500 (0:00:00.062) 0:01:45.228 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018795", "end": "2025-01-18 09:06:58.083920", "rc": 1, "start": "2025-01-18 09:06:58.065125" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.512) 0:01:45.740 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.094) 0:01:45.835 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.043) 0:01:45.878 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.038) 0:01:45.916 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.045) 0:01:45.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.050) 0:01:46.012 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.061) 0:01:46.074 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.053) 0:01:46.128 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.048) 0:01:46.176 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:06:58 -0500 (0:00:00.108) 0:01:46.285 ****** 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.043183", "end": "2025-01-18 09:06:59.066132", "rc": 0, "start": "2025-01-18 09:06:59.022949" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.432) 0:01:46.717 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.063) 0:01:46.781 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.049) 0:01:46.830 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.079) 0:01:46.910 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.095) 0:01:47.006 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.058) 0:01:47.065 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002989", "end": "2025-01-18 09:06:59.775961", "rc": 0, "start": "2025-01-18 09:06:59.772972" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.373) 0:01:47.438 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.062) 0:01:47.501 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 18 January 2025 09:06:59 -0500 (0:00:00.043) 0:01:47.545 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.098) 0:01:47.643 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.067) 0:01:47.710 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.070) 0:01:47.781 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.055) 0:01:47.837 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.037) 0:01:47.875 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:07:00 -0500 (0:00:00.071) 0:01:47.946 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:07:01 -0500 (0:00:01.603) 0:01:49.549 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:07:03 -0500 (0:00:01.508) 0:01:51.058 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.045) 0:01:51.103 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.076) 0:01:51.180 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.047) 0:01:51.228 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.037) 0:01:51.265 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.049) 0:01:51.315 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.039) 0:01:51.354 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.048) 0:01:51.402 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.100) 0:01:51.502 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:07:03 -0500 (0:00:00.065) 0:01:51.567 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:07:04 -0500 (0:00:00.059) 0:01:51.627 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:07:04 -0500 (0:00:00.097) 0:01:51.725 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:07:04 -0500 (0:00:00.085) 0:01:51.811 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:07:04 -0500 (0:00:00.127) 0:01:51.938 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:07:05 -0500 (0:00:00.744) 0:01:52.682 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmprt6xvfsc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:07:05 -0500 (0:00:00.421) 0:01:53.104 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.519) 0:01:53.624 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.039) 0:01:53.664 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.040) 0:01:53.704 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.040) 0:01:53.744 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.038) 0:01:53.783 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.480) 0:01:54.263 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.063) 0:01:54.326 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.086) 0:01:54.413 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:07:06 -0500 (0:00:00.100) 0:01:54.514 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:07:07 -0500 (0:00:00.084) 0:01:54.599 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:07:07 -0500 (0:00:00.045) 0:01:54.644 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:07:07 -0500 (0:00:00.083) 0:01:54.728 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:07:08 -0500 (0:00:01.568) 0:01:56.296 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:07:10 -0500 (0:00:01.494) 0:01:57.790 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.074) 0:01:57.864 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.100) 0:01:57.965 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.078) 0:01:58.043 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.073) 0:01:58.117 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.069) 0:01:58.186 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.057) 0:01:58.244 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.067) 0:01:58.311 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.101) 0:01:58.413 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.041) 0:01:58.455 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.042) 0:01:58.498 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:07:10 -0500 (0:00:00.052) 0:01:58.550 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:07:11 -0500 (0:00:00.038) 0:01:58.589 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:07:11 -0500 (0:00:00.036) 0:01:58.626 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:07:11 -0500 (0:00:00.531) 0:01:59.157 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpt9gwt7yb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:07:11 -0500 (0:00:00.368) 0:01:59.526 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:07:12 -0500 (0:00:00.781) 0:02:00.307 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:07:12 -0500 (0:00:00.040) 0:02:00.348 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:07:12 -0500 (0:00:00.039) 0:02:00.387 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:07:12 -0500 (0:00:00.043) 0:02:00.430 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:07:12 -0500 (0:00:00.043) 0:02:00.474 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.350) 0:02:00.825 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.063) 0:02:00.889 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.072) 0:02:00.961 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.045) 0:02:01.007 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.036) 0:02:01.044 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:07:13 -0500 (0:00:00.074) 0:02:01.118 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:07:15 -0500 (0:00:01.600) 0:02:02.719 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:07:16 -0500 (0:00:01.637) 0:02:04.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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:07:16 -0500 (0:00:00.111) 0:02:04.468 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.148) 0:02:04.616 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.050) 0:02:04.667 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.047) 0:02:04.714 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.054) 0:02:04.769 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.042) 0:02:04.812 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.041) 0:02:04.853 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.076) 0:02:04.930 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.038) 0:02:04.969 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.036) 0:02:05.006 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.044) 0:02:05.051 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.037) 0:02:05.088 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:07:17 -0500 (0:00:00.035) 0:02:05.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:07:18 -0500 (0:00:00.523) 0:02:05.647 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmpg3ruj0i8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:07:18 -0500 (0:00:00.397) 0:02:06.044 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:07:18 -0500 (0:00:00.493) 0:02:06.538 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:07:18 -0500 (0:00:00.042) 0:02:06.580 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.047) 0:02:06.627 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.047) 0:02:06.675 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.036) 0:02:06.712 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.348) 0:02:07.060 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.067) 0:02:07.127 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.062) 0:02:07.190 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.069) 0:02:07.260 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.046) 0:02:07.307 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.073) 0:02:07.380 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 18 January 2025 09:07:19 -0500 (0:00:00.038) 0:02:07.419 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 18 January 2025 09:07:21 -0500 (0:00:01.609) 0:02:09.028 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 18 January 2025 09:07:22 -0500 (0:00:01.515) 0:02:10.543 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.049) 0:02:10.593 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.063) 0:02:10.656 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.127) 0:02:10.784 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.059) 0:02:10.843 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.121) 0:02:10.965 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.080) 0:02:11.046 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.068) 0:02:11.114 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.105) 0:02:11.219 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.050) 0:02:11.269 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.074) 0:02:11.343 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.075) 0:02:11.419 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.044) 0:02:11.463 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 18 January 2025 09:07:23 -0500 (0:00:00.049) 0:02:11.512 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 18 January 2025 09:07:24 -0500 (0:00:00.632) 0:02:12.144 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49362a_krq61f/tmp2wz_ti79" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 18 January 2025 09:07:25 -0500 (0:00:00.492) 0:02:12.637 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 18 January 2025 09:07:25 -0500 (0:00:00.739) 0:02:13.376 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 18 January 2025 09:07:25 -0500 (0:00:00.059) 0:02:13.435 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 18 January 2025 09:07:25 -0500 (0:00:00.073) 0:02:13.509 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.075) 0:02:13.584 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.060) 0:02:13.645 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.428) 0:02:14.074 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.188) 0:02:14.263 ****** included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.164) 0:02:14.428 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 18 January 2025 09:07:26 -0500 (0:00:00.095) 0:02:14.523 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 18 January 2025 09:07:27 -0500 (0:00:00.441) 0:02:14.965 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 18 January 2025 09:07:27 -0500 (0:00:00.036) 0:02:15.002 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018479", "end": "2025-01-18 09:07:27.754814", "rc": 1, "start": "2025-01-18 09:07:27.736335" } 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 18 January 2025 09:07:27 -0500 (0:00:00.406) 0:02:15.408 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 18 January 2025 09:07:27 -0500 (0:00:00.098) 0:02:15.507 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 18 January 2025 09:07:27 -0500 (0:00:00.061) 0:02:15.568 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 18 January 2025 09:07:28 -0500 (0:00:00.043) 0:02:15.612 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 18 January 2025 09:07:28 -0500 (0:00:00.061) 0:02:15.673 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 18 January 2025 09:07:28 -0500 (0:00:00.049) 0:02:15.723 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 18 January 2025 09:07:28 -0500 (0:00:00.061) 0:02:15.784 ****** [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.881207", "end": "2025-01-18 09:07:29.380696", "rc": 0, "start": "2025-01-18 09:07:28.499489" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 18 January 2025 09:07:29 -0500 (0:00:01.249) 0:02:17.034 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 18 January 2025 09:07:29 -0500 (0:00:00.038) 0:02:17.073 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 18 January 2025 09:07:29 -0500 (0:00:00.038) 0:02:17.111 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 18 January 2025 09:07:29 -0500 (0:00:00.044) 0:02:17.155 ****** 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 18 January 2025 09:07:29 -0500 (0:00:00.037) 0:02:17.193 ****** included: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 18 January 2025 09:07:29 -0500 (0:00:00.112) 0:02:17.306 ****** 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.047501", "end": "2025-01-18 09:07:30.078024", "rc": 0, "start": "2025-01-18 09:07:30.030523" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 18 January 2025 09:07:30 -0500 (0:00:00.442) 0:02:17.748 ****** 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.008519", "end": "2025-01-18 09:07:30.475090", "rc": 0, "start": "2025-01-18 09:07:30.466571" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:8c:99:c3:54:1f brd ff:ff:ff:ff:ff:ff inet 10.31.10.123/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2725sec preferred_lft 2725sec inet6 fe80::108c:99ff:fec3:541f/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:49:d1:1a:86:6a brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.123 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.123 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-Qzt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 18 January 2025 09:07:30 -0500 (0:00:00.423) 0:02:18.172 ****** 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.352731", "end": "2025-01-18 09:07:31.394732", "rc": 0, "start": "2025-01-18 09:07:31.042001" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1431 0 --:--:-- --:--:-- --:--:-- 1431 % 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 2530 0 --:--:-- --:--:-- --:--:-- 2530 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 18 January 2025 09:07:31 -0500 (0:00:00.852) 0:02:19.024 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-Qzt/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-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-Qzt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26