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-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 31 August 2024 08:48:15 -0400 (0:00:00.019) 0:00:00.019 ******* ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 31 August 2024 08:48:16 -0400 (0:00:01.094) 0:00:01.113 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 31 August 2024 08:48:16 -0400 (0:00:00.058) 0:00:01.172 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 31 August 2024 08:48:17 -0400 (0:00:00.656) 0:00:01.828 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 31 August 2024 08:48:17 -0400 (0:00:00.501) 0:00:02.330 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 31 August 2024 08:48:17 -0400 (0:00:00.041) 0:00:02.371 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 31 August 2024 08:48:17 -0400 (0:00:00.034) 0:00:02.406 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 31 August 2024 08:48:17 -0400 (0:00:00.061) 0:00:02.468 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.540) 0:00:03.008 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.022) 0:00:03.031 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.028) 0:00:03.060 ******* [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.214690", "end": "2024-08-31 08:48:18.875433", "rc": 0, "start": "2024-08-31 08:48:18.660743" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.626) 0:00:03.686 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.016) 0:00:03.703 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 31 August 2024 08:48:18 -0400 (0:00:00.016) 0:00:03.720 ******* ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.611) 0:00:04.331 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.024) 0:00:04.356 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.033) 0:00:04.390 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.038) 0:00:04.428 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.084) 0:00:04.513 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.025) 0:00:04.539 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:48:19 -0400 (0:00:00.025) 0:00:04.564 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002910", "end": "2024-08-31 08:48:20.095625", "rc": 0, "start": "2024-08-31 08:48:20.092715" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.342) 0:00:04.907 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.019) 0:00:04.927 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.018) 0:00:04.946 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.035) 0:00:04.982 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007224", "end": "2024-08-31 08:48:20.537713", "rc": 1, "start": "2024-08-31 08:48:20.530489" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.366) 0:00:05.349 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.025) 0:00:05.374 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.340) 0:00:05.714 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:48:20 -0400 (0:00:00.021) 0:00:05.736 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.037) 0:00:05.773 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.141) 0:00:05.915 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.058) 0:00:05.973 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.027) 0:00:06.001 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.023) 0:00:06.024 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:21 -0400 (0:00:00.024) 0:00:06.048 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:22 -0400 (0:00:01.696) 0:00:07.745 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:24 -0400 (0:00:01.914) 0:00:09.659 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:24 -0400 (0:00:00.048) 0:00:09.708 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:24 -0400 (0:00:00.042) 0:00:09.750 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.035) 0:00:09.786 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.041) 0:00:09.828 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.057) 0:00:09.885 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.065) 0:00:09.951 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.076) 0:00:10.028 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.104) 0:00:10.132 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.049) 0:00:10.182 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.038) 0:00:10.221 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.069) 0:00:10.290 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.041) 0:00:10.332 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:48:25 -0400 (0:00:00.058) 0:00:10.390 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:48:26 -0400 (0:00:00.937) 0:00:11.328 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpif4ft6xj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:48:26 -0400 (0:00:00.408) 0:00:11.737 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:48:27 -0400 (0:00:00.678) 0:00:12.416 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:48:27 -0400 (0:00:00.043) 0:00:12.459 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:48:27 -0400 (0:00:00.060) 0:00:12.519 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:48:27 -0400 (0:00:00.048) 0:00:12.567 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:48:27 -0400 (0:00:00.044) 0:00:12.612 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.488) 0:00:13.100 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.039) 0:00:13.139 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.088) 0:00:13.228 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.095) 0:00:13.324 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.045) 0:00:13.370 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108507.5811286, "block_size": 4096, "blocks": 8, "ctime": 1725108507.5811286, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108507.5811286, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:48:28 -0400 (0:00:00.364) 0:00:13.734 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:48:29 -0400 (0:00:00.040) 0:00:13.775 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016145", "end": "2024-08-31 08:48:29.352457", "rc": 1, "start": "2024-08-31 08:48:29.336312" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:48:29 -0400 (0:00:00.438) 0:00:14.213 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:48:29 -0400 (0:00:00.065) 0:00:14.279 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002510", "end": "2024-08-31 08:48:29.884301", "rc": 0, "start": "2024-08-31 08:48:29.881791" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.489) 0:00:14.769 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.074) 0:00:14.843 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002716", "end": "2024-08-31 08:48:30.489641", "rc": 0, "start": "2024-08-31 08:48:30.486925" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.558) 0:00:15.402 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.089) 0:00:15.491 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.111) 0:00:15.602 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.082) 0:00:15.685 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:48:30 -0400 (0:00:00.069) 0:00:15.755 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.070) 0:00:15.825 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.051) 0:00:15.876 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.084) 0:00:15.961 ******* 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.033325", "end": "2024-08-31 08:48:31.522375", "rc": 1, "start": "2024-08-31 08:48:31.489050" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.465) 0:00:16.426 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.114) 0:00:16.541 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.061) 0:00:16.603 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:48:31 -0400 (0:00:00.124) 0:00:16.727 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.116) 0:00:16.843 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.069) 0:00:16.913 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002672", "end": "2024-08-31 08:48:32.469507", "rc": 0, "start": "2024-08-31 08:48:32.466835" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.412) 0:00:17.325 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.060) 0:00:17.386 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.059) 0:00:17.445 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:48:32 -0400 (0:00:00.103) 0:00:17.549 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005247", "end": "2024-08-31 08:48:33.133929", "rc": 1, "start": "2024-08-31 08:48:33.128682" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.428) 0:00:17.977 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.075) 0:00:18.053 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.389) 0:00:18.442 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.040) 0:00:18.483 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.120) 0:00:18.603 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:33 -0400 (0:00:00.156) 0:00:18.760 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:34 -0400 (0:00:00.172) 0:00:18.933 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:34 -0400 (0:00:00.083) 0:00:19.016 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:34 -0400 (0:00:00.075) 0:00:19.092 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:34 -0400 (0:00:00.060) 0:00:19.152 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:35 -0400 (0:00:01.573) 0:00:20.726 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:37 -0400 (0:00:01.463) 0:00:22.189 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.044) 0:00:22.233 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.035) 0:00:22.269 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.035) 0:00:22.305 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.035) 0:00:22.341 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.042) 0:00:22.384 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.037) 0:00:22.421 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.041) 0:00:22.463 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.070) 0:00:22.533 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.036) 0:00:22.569 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.082) 0:00:22.652 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.066) 0:00:22.718 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:38 -0400 (0:00:00.055) 0:00:22.773 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:48:38 -0400 (0:00:00.042) 0:00:22.816 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:48:38 -0400 (0:00:00.613) 0:00:23.430 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmp3_1uzjl0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.550) 0:00:23.980 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.717) 0:00:24.698 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.044) 0:00:24.742 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.046) 0:00:24.788 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.039) 0:00:24.828 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.043) 0:00:24.871 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.419) 0:00:25.291 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.101) 0:00:25.392 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.077) 0:00:25.470 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.059) 0:00:25.529 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.420) 0:00:25.950 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.071) 0:00:26.022 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.114) 0:00:26.136 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.046) 0:00:26.183 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108519.8601398, "block_size": 4096, "blocks": 8, "ctime": 1725108519.8601398, "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": 1725108519.8601398, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.380) 0:00:26.563 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.044) 0:00:26.608 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016688", "end": "2024-08-31 08:48:42.146412", "rc": 1, "start": "2024-08-31 08:48:42.129724" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.415) 0:00:27.024 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.076) 0:00:27.100 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003819", "end": "2024-08-31 08:48:43.760437", "rc": 0, "start": "2024-08-31 08:48:42.756618" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:48:43 -0400 (0:00:01.501) 0:00:28.601 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:48:43 -0400 (0:00:00.051) 0:00:28.652 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002753", "end": "2024-08-31 08:48:44.186216", "rc": 0, "start": "2024-08-31 08:48:44.183463" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.387) 0:00:29.040 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.059) 0:00:29.099 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.048) 0:00:29.147 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.049) 0:00:29.197 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.047) 0:00:29.245 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.045) 0:00:29.290 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.059) 0:00:29.349 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:48:44 -0400 (0:00:00.107) 0:00:29.457 ******* 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.033276", "end": "2024-08-31 08:48:45.209641", "rc": 1, "start": "2024-08-31 08:48:45.176365" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.580) 0:00:30.038 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.062) 0:00:30.100 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.038) 0:00:30.139 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.079) 0:00:30.218 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.059) 0:00:30.278 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.056) 0:00:30.334 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002761", "end": "2024-08-31 08:48:45.899899", "rc": 0, "start": "2024-08-31 08:48:45.897138" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:48:45 -0400 (0:00:00.415) 0:00:30.750 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.061) 0:00:30.811 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.057) 0:00:30.868 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.106) 0:00:30.974 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.150) 0:00:31.125 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.171) 0:00:31.296 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.082) 0:00:31.379 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.090) 0:00:31.470 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.104) 0:00:31.574 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:48 -0400 (0:00:01.720) 0:00:33.294 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:50 -0400 (0:00:01.541) 0:00:34.836 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.075) 0:00:34.912 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.042) 0:00:34.955 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.052) 0:00:35.007 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.050) 0:00:35.058 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.056) 0:00:35.115 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.039) 0:00:35.155 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.041) 0:00:35.196 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.099) 0:00:35.295 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.056) 0:00:35.351 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.045) 0:00:35.397 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.055) 0:00:35.452 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.042) 0:00:35.495 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.041) 0:00:35.537 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.779) 0:00:36.316 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpy_aqpvpp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.401) 0:00:36.717 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.529) 0:00:37.246 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.035) 0:00:37.282 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.038) 0:00:37.321 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.045) 0:00:37.366 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.045) 0:00:37.412 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.495) 0:00:37.908 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.081) 0:00:37.989 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.106) 0:00:38.096 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.134) 0:00:38.230 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.071) 0:00:38.301 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.051) 0:00:38.353 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.054) 0:00:38.408 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.055) 0:00:38.463 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:55 -0400 (0:00:01.604) 0:00:40.068 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:56 -0400 (0:00:01.514) 0:00:41.582 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:56 -0400 (0:00:00.111) 0:00:41.694 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:56 -0400 (0:00:00.047) 0:00:41.741 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.067) 0:00:41.809 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.058) 0:00:41.867 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.071) 0:00:41.938 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.058) 0:00:41.996 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.064) 0:00:42.061 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.102) 0:00:42.164 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.040) 0:00:42.205 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.036) 0:00:42.242 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.040) 0:00:42.282 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.036) 0:00:42.319 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:48:57 -0400 (0:00:00.035) 0:00:42.355 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.535) 0:00:42.890 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpmmzhget_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.415) 0:00:43.306 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.944) 0:00:44.250 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.076) 0:00:44.327 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.062) 0:00:44.390 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.060) 0:00:44.451 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.059) 0:00:44.510 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.407) 0:00:44.918 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.097) 0:00:45.016 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.075) 0:00:45.091 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108539.316601, "block_size": 4096, "blocks": 0, "ctime": 1725108539.316601, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35546, "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": 1725108539.316601, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.410) 0:00:45.502 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.064) 0:00:45.566 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.101) 0:00:45.667 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.046) 0:00:45.714 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108539.1631575, "block_size": 4096, "blocks": 8, "ctime": 1725108532.4151514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108532.4151514, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.391) 0:00:46.105 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.073) 0:00:46.178 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016875", "end": "2024-08-31 08:49:01.831113", "rc": 1, "start": "2024-08-31 08:49:01.814238" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.482) 0:00:46.660 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.046) 0:00:46.707 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002577", "end": "2024-08-31 08:49:02.274492", "rc": 0, "start": "2024-08-31 08:49:02.271915" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.401) 0:00:47.108 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.046) 0:00:47.155 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002552", "end": "2024-08-31 08:49:02.716880", "rc": 0, "start": "2024-08-31 08:49:02.714328" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.392) 0:00:47.547 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.090) 0:00:47.638 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.108) 0:00:47.746 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.104) 0:00:47.851 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.106) 0:00:47.958 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.092) 0:00:48.051 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.060) 0:00:48.112 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.115) 0:00:48.227 ******* 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.041302", "end": "2024-08-31 08:49:04.005146", "rc": 0, "start": "2024-08-31 08:49:03.963844" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.676) 0:00:48.904 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.097) 0:00:49.001 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.054) 0:00:49.056 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.096) 0:00:49.153 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.057) 0:00:49.211 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.112) 0:00:49.324 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002840", "end": "2024-08-31 08:49:05.013156", "rc": 0, "start": "2024-08-31 08:49:05.010316" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.525) 0:00:49.850 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.045) 0:00:49.895 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.050) 0:00:49.946 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.127) 0:00:50.074 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.081) 0:00:50.155 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.105) 0:00:50.261 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.080) 0:00:50.342 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.051) 0:00:50.394 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.058) 0:00:50.452 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:07 -0400 (0:00:01.595) 0:00:52.048 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:08 -0400 (0:00:01.401) 0:00:53.449 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:08 -0400 (0:00:00.038) 0:00:53.487 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:08 -0400 (0:00:00.036) 0:00:53.523 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:08 -0400 (0:00:00.036) 0:00:53.560 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:08 -0400 (0:00:00.051) 0:00:53.611 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:08 -0400 (0:00:00.072) 0:00:53.683 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.101) 0:00:53.785 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.089) 0:00:53.875 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.114) 0:00:53.990 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.080) 0:00:54.070 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.063) 0:00:54.133 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.065) 0:00:54.199 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.058) 0:00:54.258 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.058) 0:00:54.317 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.581) 0:00:54.898 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmp8qgv73g2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.393) 0:00:55.292 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.603) 0:00:55.895 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.106) 0:00:56.001 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.109) 0:00:56.111 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.072) 0:00:56.183 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.056) 0:00:56.240 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.431) 0:00:56.672 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.072) 0:00:56.745 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.112) 0:00:56.857 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.236) 0:00:57.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 : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.113) 0:00:57.207 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.101) 0:00:57.308 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.073) 0:00:57.382 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:14 -0400 (0:00:01.554) 0:00:58.936 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:15 -0400 (0:00:01.504) 0:01:00.440 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.064) 0:01:00.505 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.066) 0:01:00.571 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.053) 0:01:00.624 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.056) 0:01:00.681 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.065) 0:01:00.746 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.065) 0:01:00.812 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.163) 0:01:00.975 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.126) 0:01:01.101 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.059) 0:01:01.161 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.069) 0:01:01.230 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.066) 0:01:01.296 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.058) 0:01:01.355 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.070) 0:01:01.426 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.556) 0:01:01.982 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmput2y25dq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.398) 0:01:02.381 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.814) 0:01:03.195 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.067) 0:01:03.262 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.066) 0:01:03.328 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.111) 0:01:03.440 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.119) 0:01:03.559 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.419) 0:01:03.979 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.100) 0:01:04.079 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.126) 0:01:04.206 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.177) 0:01:04.383 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.112) 0:01:04.496 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.061) 0:01:04.557 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.054) 0:01:04.612 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:21 -0400 (0:00:01.534) 0:01:06.146 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:22 -0400 (0:00:01.569) 0:01:07.716 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.054) 0:01:07.770 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.057) 0:01:07.828 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.050) 0:01:07.878 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.044) 0:01:07.923 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.043) 0:01:07.966 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.034) 0:01:08.001 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.053) 0:01:08.055 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.113) 0:01:08.169 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.039) 0:01:08.209 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.078) 0:01:08.287 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.046) 0:01:08.333 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.035) 0:01:08.369 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.036) 0:01:08.406 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.514) 0:01:08.921 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpo44bx9x5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.426) 0:01:09.347 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.605) 0:01:09.953 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.060) 0:01:10.013 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.064) 0:01:10.077 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.049) 0:01:10.127 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.035) 0:01:10.162 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.386) 0:01:10.549 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.072) 0:01:10.621 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.082) 0:01:10.703 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108558.261415, "block_size": 4096, "blocks": 0, "ctime": 1725108558.261415, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35677, "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": 1725108558.261415, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.478) 0:01:11.182 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.074) 0:01:11.256 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.117) 0:01:11.373 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.094) 0:01:11.468 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.469) 0:01:11.938 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.054) 0:01:11.992 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017492", "end": "2024-08-31 08:49:27.690149", "rc": 1, "start": "2024-08-31 08:49:27.672657" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.544) 0:01:12.536 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.045) 0:01:12.582 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.126) 0:01:12.708 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.059) 0:01:12.768 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.045) 0:01:12.813 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.048) 0:01:12.862 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.047) 0:01:12.909 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.034) 0:01:12.943 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.042) 0:01:12.986 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.096) 0:01:13.083 ******* 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.040868", "end": "2024-08-31 08:49:28.681121", "rc": 0, "start": "2024-08-31 08:49:28.640253" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.441) 0:01:13.524 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.069) 0:01:13.594 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.062) 0:01:13.656 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.116) 0:01:13.773 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.093) 0:01:13.867 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.148) 0:01:14.015 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002709", "end": "2024-08-31 08:49:29.655700", "rc": 0, "start": "2024-08-31 08:49:29.652991" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.473) 0:01:14.489 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.044) 0:01:14.534 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.039) 0:01:14.574 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.075) 0:01:14.649 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.065) 0:01:14.715 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.099) 0:01:14.814 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.071) 0:01:14.886 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.045) 0:01:14.931 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.039) 0:01:14.971 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:31 -0400 (0:00:01.497) 0:01:16.469 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:33 -0400 (0:00:01.450) 0:01:17.919 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.064) 0:01:17.984 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.049) 0:01:18.033 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.041) 0:01:18.075 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.038) 0:01:18.113 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.093) 0:01:18.206 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.057) 0:01:18.264 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.063) 0:01:18.327 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.108) 0:01:18.436 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.055) 0:01:18.492 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.059) 0:01:18.552 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.051) 0:01:18.603 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.044) 0:01:18.648 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.043) 0:01:18.692 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.526) 0:01:19.219 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpl8r32fq0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.497) 0:01:19.717 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.671) 0:01:20.388 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.035) 0:01:20.424 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.073) 0:01:20.498 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.040) 0:01:20.538 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.035) 0:01:20.574 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.353) 0:01:20.927 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.038) 0:01:20.965 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.061) 0:01:21.026 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.068) 0:01:21.094 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.046) 0:01:21.140 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.036) 0:01:21.177 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.035) 0:01:21.213 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:37 -0400 (0:00:01.499) 0:01:22.712 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:39 -0400 (0:00:01.452) 0:01:24.165 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.046) 0:01:24.211 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.038) 0:01:24.250 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.041) 0:01:24.291 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.047) 0:01:24.339 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.045) 0:01:24.385 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.067) 0:01:24.453 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.042) 0:01:24.495 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.070) 0:01:24.565 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.038) 0:01:24.604 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.045) 0:01:24.650 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.065) 0:01:24.715 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.072) 0:01:24.788 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.057) 0:01:24.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.576) 0:01:25.422 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpou2p76nd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.459) 0:01:25.882 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.942) 0:01:26.824 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.042) 0:01:26.866 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.105) 0:01:26.972 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.065) 0:01:27.038 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.092) 0:01:27.130 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.600) 0:01:27.731 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.100) 0:01:27.831 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.096) 0:01:27.928 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.060) 0:01:27.988 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.038) 0:01:28.027 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.034) 0:01:28.061 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:44 -0400 (0:00:01.562) 0:01:29.624 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:46 -0400 (0:00:01.471) 0:01:31.096 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.038) 0:01:31.135 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.051) 0:01:31.187 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.052) 0:01:31.239 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.099) 0:01:31.338 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.070) 0:01:31.409 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.056) 0:01:31.466 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.067) 0:01:31.533 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.124) 0:01:31.658 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.056) 0:01:31.714 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.080) 0:01:31.795 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.051) 0:01:31.846 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.037) 0:01:31.883 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.036) 0:01:31.920 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.522) 0:01:32.442 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpezfepcks" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.403) 0:01:32.846 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.675) 0:01:33.521 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.053) 0:01:33.575 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.044) 0:01:33.619 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.053) 0:01:33.672 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.046) 0:01:33.719 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.415) 0:01:34.134 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.110) 0:01:34.245 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.200) 0:01:34.446 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.125) 0:01:34.572 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.071) 0:01:34.643 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.055) 0:01:34.699 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.058) 0:01:34.757 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:51 -0400 (0:00:01.546) 0:01:36.304 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:53 -0400 (0:00:01.477) 0:01:37.782 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.051) 0:01:37.834 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.037) 0:01:37.871 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.035) 0:01:37.906 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.035) 0:01:37.942 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.042) 0:01:37.985 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.034) 0:01:38.019 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.041) 0:01:38.060 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.070) 0:01:38.131 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.035) 0:01:38.166 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.082) 0:01:38.249 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.066) 0:01:38.315 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.048) 0:01:38.364 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.042) 0:01:38.407 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.529) 0:01:38.936 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpuj5bc1r7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.528) 0:01:39.465 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.543) 0:01:40.008 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.036) 0:01:40.045 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.038) 0:01:40.083 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.038) 0:01:40.122 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.035) 0:01:40.157 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.369) 0:01:40.526 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.114) 0:01:40.641 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.064) 0:01:40.705 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.036) 0:01:40.742 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.377) 0:01:41.119 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.052) 0:01:41.172 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017077", "end": "2024-08-31 08:49:56.719933", "rc": 1, "start": "2024-08-31 08:49:56.702856" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.401) 0:01:41.573 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.056) 0:01:41.629 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.068) 0:01:41.698 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.070) 0:01:41.768 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.058) 0:01:41.827 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.060) 0:01:41.888 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.055) 0:01:41.943 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.048) 0:01:41.992 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.082) 0:01:42.074 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.071) 0:01:42.146 ******* 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.041335", "end": "2024-08-31 08:49:57.709854", "rc": 0, "start": "2024-08-31 08:49:57.668519" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.393) 0:01:42.539 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.063) 0:01:42.603 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.038) 0:01:42.641 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.080) 0:01:42.722 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.059) 0:01:42.782 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.057) 0:01:42.840 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002832", "end": "2024-08-31 08:49:58.374095", "rc": 0, "start": "2024-08-31 08:49:58.371263" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.389) 0:01:43.230 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.060) 0:01:43.290 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.118) 0:01:43.408 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.145) 0:01:43.554 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.084) 0:01:43.639 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.074) 0:01:43.714 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.044) 0:01:43.759 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.037) 0:01:43.796 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.035) 0:01:43.832 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:00 -0400 (0:00:01.590) 0:01:45.422 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:02 -0400 (0:00:01.489) 0:01:46.911 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.046) 0:01:46.957 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.064) 0:01:47.022 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.060) 0:01:47.082 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.057) 0:01:47.140 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.071) 0:01:47.212 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.055) 0:01:47.267 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.144) 0:01:47.412 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.227) 0:01:47.640 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.072) 0:01:47.712 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.065) 0:01:47.778 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.105) 0:01:47.883 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.068) 0:01:47.951 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.070) 0:01:48.022 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.573) 0:01:48.596 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpsud8pox3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.378) 0:01:48.975 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.476) 0:01:49.451 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.046) 0:01:49.497 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.060) 0:01:49.558 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.059) 0:01:49.617 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.047) 0:01:49.665 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.397) 0:01:50.062 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.101) 0:01:50.164 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.083) 0:01:50.247 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.076) 0:01:50.324 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.044) 0:01:50.369 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.037) 0:01:50.406 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.036) 0:01:50.443 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:07 -0400 (0:00:01.509) 0:01:51.953 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:08 -0400 (0:00:01.520) 0:01:53.473 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.054) 0:01:53.528 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.060) 0:01:53.589 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.042) 0:01:53.632 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.046) 0:01:53.678 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.048) 0:01:53.726 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.035) 0:01:53.762 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.049) 0:01:53.811 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.079) 0:01:53.891 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.054) 0:01:53.946 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.058) 0:01:54.005 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.065) 0:01:54.070 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.106) 0:01:54.176 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.054) 0:01:54.231 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.525) 0:01:54.757 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpmrq9wnn1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.396) 0:01:55.153 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.805) 0:01:55.959 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.058) 0:01:56.017 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.046) 0:01:56.064 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.043) 0:01:56.107 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.043) 0:01:56.151 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.370) 0:01:56.521 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.146) 0:01:56.667 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.117) 0:01:56.785 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.069) 0:01:56.854 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.111) 0:01:56.966 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.067) 0:01:57.034 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:13 -0400 (0:00:01.553) 0:01:58.588 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:15 -0400 (0:00:01.406) 0:01:59.994 ******* ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.048) 0:02:00.043 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.037) 0:02:00.081 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.035) 0:02:00.116 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.035) 0:02:00.152 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.044) 0:02:00.196 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.036) 0:02:00.233 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.042) 0:02:00.276 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.072) 0:02:00.348 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.036) 0:02:00.384 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.036) 0:02:00.421 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.090) 0:02:00.512 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.085) 0:02:00.597 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.059) 0:02:00.657 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.812) 0:02:01.470 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmpg4yi32k_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.394) 0:02:01.864 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.594) 0:02:02.459 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.075) 0:02:02.534 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.064) 0:02:02.599 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.068) 0:02:02.667 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.042) 0:02:02.710 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.415) 0:02:03.125 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.098) 0:02:03.223 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.121) 0:02:03.345 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.092) 0:02:03.437 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.081) 0:02:03.518 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.061) 0:02:03.580 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.070) 0:02:03.650 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:20 -0400 (0:00:01.668) 0:02:05.318 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:22 -0400 (0:00:01.460) 0:02:06.779 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.043) 0:02:06.823 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.060) 0:02:06.883 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.045) 0:02:06.928 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.063) 0:02:06.992 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.080) 0:02:07.073 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.067) 0:02:07.140 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.064) 0:02:07.205 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.126) 0:02:07.332 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.072) 0:02:07.404 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.058) 0:02:07.463 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.071) 0:02:07.535 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.080) 0:02:07.615 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.120) 0:02:07.735 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.586) 0:02:08.322 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44847cvao1_90/tmp1rnpesda" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.430) 0:02:08.752 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.513) 0:02:09.266 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.055) 0:02:09.321 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.062) 0:02:09.383 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.046) 0:02:09.430 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.056) 0:02:09.487 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.434) 0:02:09.921 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.177) 0:02:10.098 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.158) 0:02:10.257 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.054) 0:02:10.312 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.381) 0:02:10.694 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.071) 0:02:10.766 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017267", "end": "2024-08-31 08:50:26.362220", "rc": 1, "start": "2024-08-31 08:50:26.344953" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.453) 0:02:11.219 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.065) 0:02:11.284 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.043) 0:02:11.327 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.040) 0:02:11.368 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.045) 0:02:11.413 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.046) 0:02:11.459 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.049) 0:02:11.509 ******* [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.842038", "end": "2024-08-31 08:50:27.872948", "rc": 0, "start": "2024-08-31 08:50:27.030910" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 31 August 2024 08:50:27 -0400 (0:00:01.210) 0:02:12.719 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.042) 0:02:12.762 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.038) 0:02:12.800 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.041) 0:02:12.842 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.038) 0:02:12.881 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.092) 0:02:12.973 ******* 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.041371", "end": "2024-08-31 08:50:28.681109", "rc": 0, "start": "2024-08-31 08:50:28.639738" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.573) 0:02:13.546 ******* 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.007807", "end": "2024-08-31 08:50:29.130829", "rc": 0, "start": "2024-08-31 08:50:29.123022" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:28:ed:11:29:6b brd ff:ff:ff:ff:ff:ff inet 10.31.40.191/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2743sec preferred_lft 2743sec inet6 fe80::c28:edff:fe11:296b/64 scope link valid_lft forever preferred_lft forever 52: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:3d:aa:74:05:fd brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.191 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.191 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.445) 0:02:13.991 ******* 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.393977", "end": "2024-08-31 08:50:29.936650", "rc": 0, "start": "2024-08-31 08:50:29.542673" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 2310 0 --:--:-- --:--:-- --:--:-- 2310 % 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 1217 0 --:--:-- --:--:-- --:--:-- 1217 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 31 August 2024 08:50:30 -0400 (0:00:00.800) 0:02:14.792 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-0Lv/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-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.50s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49