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-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 17 August 2024 08:47:22 -0400 (0:00:00.023) 0:00:00.023 ******* ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.999) 0:00:01.023 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.042) 0:00:01.065 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.725) 0:00:01.791 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.586) 0:00:02.378 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.087) 0:00:02.465 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.053) 0:00:02.519 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.100) 0:00:02.619 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.451) 0:00:03.071 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.021) 0:00:03.093 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.020) 0:00:03.113 ******* [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.217679", "end": "2024-08-17 08:47:25.898134", "rc": 0, "start": "2024-08-17 08:47:25.680455" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.565) 0:00:03.678 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.025) 0:00:03.704 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 17 August 2024 08:47:25 -0400 (0:00:00.023) 0:00:03.727 ******* ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.660) 0:00:04.388 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.021) 0:00:04.410 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.038) 0:00:04.449 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.024) 0:00:04.473 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.085) 0:00:04.559 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.030) 0:00:04.589 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:47:26 -0400 (0:00:00.027) 0:00:04.616 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002889", "end": "2024-08-17 08:47:27.183375", "rc": 0, "start": "2024-08-17 08:47:27.180486" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.348) 0:00:04.965 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.024) 0:00:04.989 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.023) 0:00:05.012 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.042) 0:00:05.055 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007051", "end": "2024-08-17 08:47:27.629358", "rc": 1, "start": "2024-08-17 08:47:27.622307" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.373) 0:00:05.429 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.051) 0:00:05.480 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.450) 0:00:05.930 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.036) 0:00:05.966 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.070) 0:00:06.037 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.209) 0:00:06.246 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.066) 0:00:06.313 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.031) 0:00:06.344 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.023) 0:00:06.368 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.032) 0:00:06.400 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:47:30 -0400 (0:00:01.880) 0:00:08.281 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:47:32 -0400 (0:00:01.994) 0:00:10.275 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.042) 0:00:10.317 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.041) 0:00:10.359 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.046) 0:00:10.405 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.062) 0:00:10.468 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.063) 0:00:10.531 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.053) 0:00:10.584 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.058) 0:00:10.642 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.083) 0:00:10.725 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:47:33 -0400 (0:00:00.040) 0:00:10.766 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:47:33 -0400 (0:00:00.045) 0:00:10.811 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:47:33 -0400 (0:00:00.077) 0:00:10.888 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:47:33 -0400 (0:00:00.084) 0:00:10.973 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:47:33 -0400 (0:00:00.049) 0:00:11.023 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:47:34 -0400 (0:00:00.894) 0:00:11.918 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpbbsf1vo5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:47:34 -0400 (0:00:00.468) 0:00:12.386 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:47:35 -0400 (0:00:00.831) 0:00:13.217 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:47:35 -0400 (0:00:00.069) 0:00:13.287 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:47:35 -0400 (0:00:00.072) 0:00:13.359 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:47:35 -0400 (0:00:00.073) 0:00:13.432 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:47:35 -0400 (0:00:00.102) 0:00:13.535 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.906) 0:00:14.442 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.087) 0:00:14.529 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.130) 0:00:14.660 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.133) 0:00:14.794 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.067) 0:00:14.861 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898855.3719122, "block_size": 4096, "blocks": 8, "ctime": 1723898855.3719122, "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": 1723898855.3719122, "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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.379) 0:00:15.240 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.049) 0:00:15.290 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016708", "end": "2024-08-17 08:47:37.923764", "rc": 1, "start": "2024-08-17 08:47:37.907056" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.456) 0:00:15.747 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.086) 0:00:15.833 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002811", "end": "2024-08-17 08:47:38.490323", "rc": 0, "start": "2024-08-17 08:47:38.487512" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.460) 0:00:16.294 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.051) 0:00:16.345 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004004", "end": "2024-08-17 08:47:39.929992", "rc": 0, "start": "2024-08-17 08:47:38.925988" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:47:40 -0400 (0:00:01.416) 0:00:17.762 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.092) 0:00:17.854 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.134) 0:00:17.989 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.096) 0:00:18.085 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.061) 0:00:18.146 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.088) 0:00:18.235 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.063) 0:00:18.298 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:47:40 -0400 (0:00:00.078) 0:00:18.376 ******* 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.033743", "end": "2024-08-17 08:47:41.009458", "rc": 1, "start": "2024-08-17 08:47:40.975715" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.532) 0:00:18.909 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.206) 0:00:19.115 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.073) 0:00:19.189 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.200) 0:00:19.389 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.090) 0:00:19.479 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:47:41 -0400 (0:00:00.083) 0:00:19.563 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002917", "end": "2024-08-17 08:47:42.135132", "rc": 0, "start": "2024-08-17 08:47:42.132215" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.396) 0:00:19.959 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.063) 0:00:20.022 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.074) 0:00:20.097 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.094) 0:00:20.191 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005456", "end": "2024-08-17 08:47:42.778898", "rc": 1, "start": "2024-08-17 08:47:42.773442" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.399) 0:00:20.590 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:47:42 -0400 (0:00:00.104) 0:00:20.695 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.409) 0:00:21.105 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.073) 0:00:21.178 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.160) 0:00:21.339 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.179) 0:00:21.519 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.110) 0:00:21.629 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.053) 0:00:21.682 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:47:43 -0400 (0:00:00.042) 0:00:21.724 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:47:44 -0400 (0:00:00.042) 0:00:21.767 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:47:45 -0400 (0:00:01.692) 0:00:23.460 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:47:47 -0400 (0:00:01.508) 0:00:24.968 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.043) 0:00:25.011 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.043) 0:00:25.054 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.044) 0:00:25.099 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.041) 0:00:25.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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.058) 0:00:25.198 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.066) 0:00:25.265 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.079) 0:00:25.345 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.183) 0:00:25.528 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.113) 0:00:25.642 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:47:47 -0400 (0:00:00.071) 0:00:25.713 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:47:48 -0400 (0:00:00.080) 0:00:25.794 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:47:48 -0400 (0:00:00.065) 0:00:25.860 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:47:48 -0400 (0:00:00.069) 0:00:25.930 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:47:48 -0400 (0:00:00.698) 0:00:26.628 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpdmw7muv5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:47:49 -0400 (0:00:00.463) 0:00:27.091 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.700) 0:00:27.791 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.060) 0:00:27.852 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.052) 0:00:27.905 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.053) 0:00:27.959 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.042) 0:00:28.001 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.512) 0:00:28.513 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:47:50 -0400 (0:00:00.092) 0:00:28.605 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.165) 0:00:28.770 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.165) 0:00:28.936 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.417) 0:00:29.353 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.046) 0:00:29.400 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.072) 0:00:29.473 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:47:51 -0400 (0:00:00.044) 0:00:29.518 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898869.9559736, "block_size": 4096, "blocks": 8, "ctime": 1723898869.9559736, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723898869.9559736, "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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:47:52 -0400 (0:00:00.409) 0:00:29.928 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:47:52 -0400 (0:00:00.071) 0:00:29.999 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017159", "end": "2024-08-17 08:47:52.624066", "rc": 1, "start": "2024-08-17 08:47:52.606907" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:47:52 -0400 (0:00:00.479) 0:00:30.479 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:47:52 -0400 (0:00:00.072) 0:00:30.552 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002704", "end": "2024-08-17 08:47:53.167151", "rc": 0, "start": "2024-08-17 08:47:53.164447" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:47:53 -0400 (0:00:00.457) 0:00:31.010 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:47:53 -0400 (0:00:00.091) 0:00:31.102 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003823", "end": "2024-08-17 08:47:54.728208", "rc": 0, "start": "2024-08-17 08:47:53.724385" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:47:54 -0400 (0:00:01.476) 0:00:32.578 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:47:54 -0400 (0:00:00.092) 0:00:32.671 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.076) 0:00:32.747 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.075) 0:00:32.823 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.081) 0:00:32.904 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.093) 0:00:32.998 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.099) 0:00:33.098 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:47:55 -0400 (0:00:00.202) 0:00:33.301 ******* 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.032560", "end": "2024-08-17 08:47:55.966614", "rc": 1, "start": "2024-08-17 08:47:55.934054" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.472) 0:00:33.773 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.067) 0:00:33.841 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.041) 0:00:33.883 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.108) 0:00:33.991 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.120) 0:00:34.111 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:47:56 -0400 (0:00:00.119) 0:00:34.231 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002891", "end": "2024-08-17 08:47:57.139259", "rc": 0, "start": "2024-08-17 08:47:57.136368" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.744) 0:00:34.975 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.078) 0:00:35.054 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.079) 0:00:35.134 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.155) 0:00:35.289 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.128) 0:00:35.418 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.166) 0:00:35.584 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:47:57 -0400 (0:00:00.083) 0:00:35.668 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.066) 0:00:35.735 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.048) 0:00:35.783 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:47:59 -0400 (0:00:01.582) 0:00:37.366 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:01 -0400 (0:00:01.562) 0:00:38.929 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.046) 0:00:38.975 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.045) 0:00:39.020 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.047) 0:00:39.068 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.052) 0:00:39.121 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.078) 0:00:39.199 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.072) 0:00:39.272 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.069) 0:00:39.342 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.133) 0:00:39.476 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.060) 0:00:39.537 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.046) 0:00:39.583 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.093) 0:00:39.676 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:01 -0400 (0:00:00.047) 0:00:39.724 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:02 -0400 (0:00:00.042) 0:00:39.767 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:02 -0400 (0:00:00.630) 0:00:40.398 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpz47v72p8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.477) 0:00:40.875 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.654) 0:00:41.530 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.043) 0:00:41.573 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.045) 0:00:41.618 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.046) 0:00:41.665 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.043) 0:00:41.709 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.396) 0:00:42.105 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.125) 0:00:42.230 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.112) 0:00:42.343 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.139) 0:00:42.483 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.145) 0:00:42.629 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.086) 0:00:42.715 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.069) 0:00:42.784 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.093) 0:00:42.878 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:07 -0400 (0:00:01.855) 0:00:44.733 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:08 -0400 (0:00:01.811) 0:00:46.544 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.132) 0:00:46.677 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.075) 0:00:46.752 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.067) 0:00:46.820 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.107) 0:00:46.927 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.073) 0:00:47.001 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.056) 0:00:47.058 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.089) 0:00:47.147 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.138) 0:00:47.286 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.072) 0:00:47.358 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.060) 0:00:47.418 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.117) 0:00:47.536 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.068) 0:00:47.604 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.067) 0:00:47.671 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:10 -0400 (0:00:00.633) 0:00:48.305 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpc_qq_bbb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.612) 0:00:48.917 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.860) 0:00:49.778 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.055) 0:00:49.834 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.052) 0:00:49.886 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.049) 0:00:49.936 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.046) 0:00:49.982 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.479) 0:00:50.462 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.191) 0:00:50.654 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.134) 0:00:50.789 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898891.8804603, "block_size": 4096, "blocks": 0, "ctime": 1723898891.8804603, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35330, "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": 1723898891.8804603, "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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.474) 0:00:51.263 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.089) 0:00:51.353 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.134) 0:00:51.487 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.069) 0:00:51.557 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898891.730065, "block_size": 4096, "blocks": 8, "ctime": 1723898883.7210314, "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": 1723898883.7210314, "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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.450) 0:00:52.007 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.110) 0:00:52.118 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017526", "end": "2024-08-17 08:48:14.958127", "rc": 1, "start": "2024-08-17 08:48:14.940601" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.694) 0:00:52.812 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.082) 0:00:52.895 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002729", "end": "2024-08-17 08:48:15.489749", "rc": 0, "start": "2024-08-17 08:48:15.487020" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.428) 0:00:53.323 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.119) 0:00:53.443 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003136", "end": "2024-08-17 08:48:16.085044", "rc": 0, "start": "2024-08-17 08:48:16.081908" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.470) 0:00:53.914 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.085) 0:00:53.999 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.071) 0:00:54.071 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.055) 0:00:54.126 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.057) 0:00:54.183 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.050) 0:00:54.234 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.053) 0:00:54.288 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.115) 0:00:54.403 ******* 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.041992", "end": "2024-08-17 08:48:17.159630", "rc": 0, "start": "2024-08-17 08:48:17.117638" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.605) 0:00:55.009 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.181) 0:00:55.191 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.122) 0:00:55.314 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.199) 0:00:55.513 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.117) 0:00:55.630 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:48:17 -0400 (0:00:00.077) 0:00:55.708 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002851", "end": "2024-08-17 08:48:18.284199", "rc": 0, "start": "2024-08-17 08:48:18.281348" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.387) 0:00:56.095 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.054) 0:00:56.149 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.047) 0:00:56.197 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.083) 0:00:56.280 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.073) 0:00:56.353 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.082) 0:00:56.436 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.052) 0:00:56.488 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.073) 0:00:56.562 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:18 -0400 (0:00:00.043) 0:00:56.605 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:20 -0400 (0:00:01.529) 0:00:58.135 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:22 -0400 (0:00:01.624) 0:00:59.759 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.114) 0:00:59.874 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.175) 0:01:00.050 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.061) 0:01:00.111 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.057) 0:01:00.168 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.057) 0:01:00.226 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.042) 0:01:00.268 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.047) 0:01:00.316 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.087) 0:01:00.404 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.047) 0:01:00.451 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.046) 0:01:00.498 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.078) 0:01:00.576 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.071) 0:01:00.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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.064) 0:01:00.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:23 -0400 (0:00:00.606) 0:01:01.319 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpz1k3vkvu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.496) 0:01:01.815 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.881) 0:01:02.697 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.070) 0:01:02.767 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.086) 0:01:02.853 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.108) 0:01:02.961 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.146) 0:01:03.108 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.421) 0:01:03.530 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.105) 0:01:03.635 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.202) 0:01:03.837 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.144) 0:01:03.982 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.087) 0:01:04.069 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.078) 0:01:04.148 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.075) 0:01:04.223 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:28 -0400 (0:00:01.787) 0:01:06.011 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:29 -0400 (0:00:01.483) 0:01:07.495 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.054) 0:01:07.550 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.049) 0:01:07.599 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.041) 0:01:07.641 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.040) 0:01:07.682 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.079) 0:01:07.761 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.041) 0:01:07.803 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.049) 0:01:07.852 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.110) 0:01:07.963 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.070) 0:01:08.034 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.053) 0:01:08.087 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.056) 0:01:08.143 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.050) 0:01:08.194 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.050) 0:01:08.245 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.541) 0:01:08.786 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpkhc2gv44" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.421) 0:01:09.207 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.851) 0:01:10.058 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.103) 0:01:10.162 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.075) 0:01:10.238 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.052) 0:01:10.291 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.052) 0:01:10.343 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.411) 0:01:10.755 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.222) 0:01:10.977 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.229) 0:01:11.207 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.166) 0:01:11.373 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.084) 0:01:11.457 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.094) 0:01:11.552 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:33 -0400 (0:00:00.079) 0:01:11.631 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:35 -0400 (0:00:01.640) 0:01:13.271 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:37 -0400 (0:00:01.524) 0:01:14.795 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.079) 0:01:14.875 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.061) 0:01:14.936 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.052) 0:01:14.989 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.068) 0:01:15.057 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.106) 0:01:15.163 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.069) 0:01:15.233 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.080) 0:01:15.313 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.132) 0:01:15.445 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.071) 0:01:15.517 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.073) 0:01:15.590 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.073) 0:01:15.663 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.086) 0:01:15.750 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.069) 0:01:15.819 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.613) 0:01:16.433 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpjilfvk_j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.473) 0:01:16.906 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.605) 0:01:17.511 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.041) 0:01:17.553 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.095) 0:01:17.648 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.143) 0:01:17.791 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.099) 0:01:17.890 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.421) 0:01:18.312 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.086) 0:01:18.398 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.075) 0:01:18.474 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898912.1487117, "block_size": 4096, "blocks": 0, "ctime": 1723898912.1487117, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35461, "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": 1723898912.1487117, "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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.422) 0:01:18.897 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.054) 0:01:18.952 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.073) 0:01:19.025 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.051) 0:01:19.077 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.459) 0:01:19.537 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.110) 0:01:19.648 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017646", "end": "2024-08-17 08:48:42.286875", "rc": 1, "start": "2024-08-17 08:48:42.269229" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.531) 0:01:20.179 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.099) 0:01:20.279 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.129) 0:01:20.408 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.080) 0:01:20.489 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.068) 0:01:20.557 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.071) 0:01:20.629 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.067) 0:01:20.696 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.047) 0:01:20.744 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.044) 0:01:20.788 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.094) 0:01:20.883 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041655", "end": "2024-08-17 08:48:43.541426", "rc": 0, "start": "2024-08-17 08:48:43.499771" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.488) 0:01:21.372 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.250) 0:01:21.623 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.068) 0:01:21.691 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.163) 0:01:21.855 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.138) 0:01:21.994 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.126) 0:01:22.120 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002957", "end": "2024-08-17 08:48:44.800008", "rc": 0, "start": "2024-08-17 08:48:44.797051" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.529) 0:01:22.650 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.062) 0:01:22.712 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.054) 0:01:22.767 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.125) 0:01:22.893 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.124) 0:01:23.017 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.137) 0:01:23.155 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.263) 0:01:23.418 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.125) 0:01:23.544 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.145) 0:01:23.690 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:47 -0400 (0:00:01.605) 0:01:25.295 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:48 -0400 (0:00:01.434) 0:01:26.730 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.048) 0:01:26.778 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.084) 0:01:26.862 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.047) 0:01:26.909 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.042) 0:01:26.952 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.052) 0:01:27.004 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.041) 0:01:27.046 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.052) 0:01:27.098 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.085) 0:01:27.184 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.042) 0:01:27.227 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.041) 0:01:27.268 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.048) 0:01:27.317 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.044) 0:01:27.361 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.050) 0:01:27.411 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.587) 0:01:27.999 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpa_m_o43o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.598) 0:01:28.598 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.790) 0:01:29.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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.081) 0:01:29.470 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.102) 0:01:29.572 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.076) 0:01:29.648 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.068) 0:01:29.717 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.400) 0:01:30.118 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.078) 0:01:30.196 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.181) 0:01:30.378 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.236) 0:01:30.614 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.107) 0:01:30.722 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.070) 0:01:30.792 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.065) 0:01:30.857 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:54 -0400 (0:00:01.576) 0:01:32.434 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:56 -0400 (0:00:01.462) 0:01:33.896 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.069) 0:01:33.966 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.070) 0:01:34.036 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.071) 0:01:34.108 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.054) 0:01:34.162 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.090) 0:01:34.253 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.051) 0:01:34.304 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.056) 0:01:34.361 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.087) 0:01:34.448 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.043) 0:01:34.491 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.062) 0:01:34.554 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:56 -0400 (0:00:00.129) 0:01:34.683 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:57 -0400 (0:00:00.093) 0:01:34.777 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:57 -0400 (0:00:00.101) 0:01:34.878 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:57 -0400 (0:00:00.673) 0:01:35.551 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpd4qu5r7b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.465) 0:01:36.017 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:59 -0400 (0:00:01.057) 0:01:37.075 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.050) 0:01:37.126 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.120) 0:01:37.246 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.089) 0:01:37.336 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.068) 0:01:37.405 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.379) 0:01:37.784 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.138) 0:01:37.923 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.208) 0:01:38.132 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.087) 0:01:38.219 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.097) 0:01:38.317 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.073) 0:01:38.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 : Check which packages are installed] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:02 -0400 (0:00:01.628) 0:01:40.018 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:03 -0400 (0:00:01.549) 0:01:41.568 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.134) 0:01:41.702 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.147) 0:01:41.849 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.113) 0:01:41.963 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.073) 0:01:42.037 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.143) 0:01:42.180 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.123) 0:01:42.304 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.150) 0:01:42.454 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.141) 0:01:42.595 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.068) 0:01:42.664 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.067) 0:01:42.731 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.073) 0:01:42.805 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.070) 0:01:42.876 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.056) 0:01:42.932 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.694) 0:01:43.627 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmp82i34kh_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.472) 0:01:44.099 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.775) 0:01:44.875 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.053) 0:01:44.928 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.046) 0:01:44.975 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.045) 0:01:45.020 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.048) 0:01:45.069 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.440) 0:01:45.509 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.077) 0:01:45.586 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.128) 0:01:45.714 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.140) 0:01:45.855 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.086) 0:01:45.942 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.072) 0:01:46.014 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.050) 0:01:46.064 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:09 -0400 (0:00:01.567) 0:01:47.632 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:11 -0400 (0:00:01.513) 0:01:49.146 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.079) 0:01:49.226 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.072) 0:01:49.298 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.073) 0:01:49.371 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.068) 0:01:49.440 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.085) 0:01:49.526 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.054) 0:01:49.580 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.062) 0:01:49.642 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.094) 0:01:49.736 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.076) 0:01:49.813 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.041) 0:01:49.855 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.049) 0:01:49.904 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.043) 0:01:49.948 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.042) 0:01:49.990 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:12 -0400 (0:00:00.541) 0:01:50.532 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmplaigxdhj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.388) 0:01:50.921 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.551) 0:01:51.472 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.043) 0:01:51.515 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.046) 0:01:51.562 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.060) 0:01:51.623 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.043) 0:01:51.666 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.364) 0:01:52.030 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.076) 0:01:52.107 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.073) 0:01:52.180 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.043) 0:01:52.224 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.397) 0:01:52.622 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.086) 0:01:52.708 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017771", "end": "2024-08-17 08:49:15.345956", "rc": 1, "start": "2024-08-17 08:49:15.328185" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.468) 0:01:53.177 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.075) 0:01:53.253 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.073) 0:01:53.327 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.050) 0:01:53.377 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.059) 0:01:53.436 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.101) 0:01:53.538 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.047) 0:01:53.585 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.050) 0:01:53.636 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.060) 0:01:53.697 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.087) 0:01:53.784 ******* 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.042821", "end": "2024-08-17 08:49:16.446541", "rc": 0, "start": "2024-08-17 08:49:16.403720" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.474) 0:01:54.259 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.074) 0:01:54.334 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.044) 0:01:54.378 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.093) 0:01:54.472 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.072) 0:01:54.544 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.101) 0:01:54.646 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002907", "end": "2024-08-17 08:49:17.270019", "rc": 0, "start": "2024-08-17 08:49:17.267112" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.421) 0:01:55.068 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.044) 0:01:55.113 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.044) 0:01:55.157 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.137) 0:01:55.295 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.126) 0:01:55.422 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.138) 0:01:55.561 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.086) 0:01:55.647 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.077) 0:01:55.725 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.078) 0:01:55.804 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:19 -0400 (0:00:01.699) 0:01:57.504 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:21 -0400 (0:00:01.558) 0:01:59.063 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.089) 0:01:59.152 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.102) 0:01:59.255 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.115) 0:01:59.370 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.133) 0:01:59.504 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.106) 0:01:59.611 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.126) 0:01:59.737 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.172) 0:01:59.910 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.166) 0:02:00.076 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.069) 0:02:00.146 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.069) 0:02:00.215 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.077) 0:02:00.293 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.051) 0:02:00.344 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.049) 0:02:00.394 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.665) 0:02:01.060 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpnoj6mynm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.487) 0:02:01.547 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.658) 0:02:02.206 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.046) 0:02:02.252 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.069) 0:02:02.322 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.085) 0:02:02.407 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.200) 0:02:02.608 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.525) 0:02:03.134 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.051) 0:02:03.185 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.091) 0:02:03.277 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.121) 0:02:03.399 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.063) 0:02:03.462 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.053) 0:02:03.515 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.047) 0:02:03.563 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:27 -0400 (0:00:01.560) 0:02:05.124 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:28 -0400 (0:00:01.500) 0:02:06.624 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:28 -0400 (0:00:00.069) 0:02:06.693 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.069) 0:02:06.763 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.074) 0:02:06.838 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.078) 0:02:06.916 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.116) 0:02:07.033 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.069) 0:02:07.103 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.067) 0:02:07.170 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.125) 0:02:07.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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.074) 0:02:07.370 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.041) 0:02:07.412 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.049) 0:02:07.461 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.043) 0:02:07.504 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:29 -0400 (0:00:00.041) 0:02:07.546 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:30 -0400 (0:00:00.780) 0:02:08.326 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmp0bss3poe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.531) 0:02:08.857 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.807) 0:02:09.665 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.070) 0:02:09.735 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.066) 0:02:09.802 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.063) 0:02:09.865 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.069) 0:02:09.935 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.419) 0:02:10.354 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.081) 0:02:10.436 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.083) 0:02:10.519 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.051) 0:02:10.570 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.049) 0:02:10.620 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.050) 0:02:10.670 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:34 -0400 (0:00:01.545) 0:02:12.215 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:35 -0400 (0:00:01.451) 0:02:13.666 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:35 -0400 (0:00:00.046) 0:02:13.713 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.041) 0:02:13.754 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.041) 0:02:13.796 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.043) 0:02:13.840 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.056) 0:02:13.896 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.072) 0:02:13.969 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.074) 0:02:14.044 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.133) 0:02:14.178 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.071) 0:02:14.249 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.072) 0:02:14.321 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.106) 0:02:14.428 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.065) 0:02:14.493 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.051) 0:02:14.545 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:37 -0400 (0:00:00.660) 0:02:15.205 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpogwstr0j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:37 -0400 (0:00:00.512) 0:02:15.718 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.603) 0:02:16.321 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.071) 0:02:16.393 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.084) 0:02:16.478 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.075) 0:02:16.553 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.051) 0:02:16.604 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.454) 0:02:17.059 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.278) 0:02:17.337 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.202) 0:02:17.540 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.181) 0:02:17.722 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.082) 0:02:17.804 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.088) 0:02:17.892 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.119) 0:02:18.012 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:41 -0400 (0:00:01.609) 0:02:19.622 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:43 -0400 (0:00:01.624) 0:02:21.246 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.051) 0:02:21.297 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.076) 0:02:21.373 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.070) 0:02:21.444 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.060) 0:02:21.504 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.061) 0:02:21.566 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.044) 0:02:21.611 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:43 -0400 (0:00:00.050) 0:02:21.661 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.103) 0:02:21.764 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.043) 0:02:21.808 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.051) 0:02:21.859 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.114) 0:02:21.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.067) 0:02:22.040 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.052) 0:02:22.092 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.566) 0:02:22.659 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-448728hiedca5/tmpr6i6hchd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.379) 0:02:23.039 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.560) 0:02:23.599 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.067) 0:02:23.667 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.073) 0:02:23.740 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.088) 0:02:23.828 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.074) 0:02:23.903 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.453) 0:02:24.357 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.142) 0:02:24.499 ******* included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.090) 0:02:24.590 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.048) 0:02:24.638 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.516) 0:02:25.154 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.067) 0:02:25.222 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017489", "end": "2024-08-17 08:49:47.874447", "rc": 1, "start": "2024-08-17 08:49:47.856958" } 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.451) 0:02:25.673 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.043) 0:02:25.716 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.043) 0:02:25.760 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.049) 0:02:25.809 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.048) 0:02:25.857 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.069) 0:02:25.927 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.083) 0:02:26.011 ******* [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.848837", "end": "2024-08-17 08:49:49.467555", "rc": 0, "start": "2024-08-17 08:49:48.618718" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 August 2024 08:49:49 -0400 (0:00:01.257) 0:02:27.268 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.043) 0:02:27.312 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.044) 0:02:27.356 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.051) 0:02:27.408 ******* 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.044) 0:02:27.453 ******* included: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.087) 0:02:27.540 ******* 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.045574", "end": "2024-08-17 08:49:50.151333", "rc": 0, "start": "2024-08-17 08:49:50.105759" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 17 August 2024 08:49:50 -0400 (0:00:00.412) 0:02:27.953 ******* 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.007973", "end": "2024-08-17 08:49:50.531243", "rc": 0, "start": "2024-08-17 08:49:50.523270" } 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 02:33:1b:4c:a3:d9 brd ff:ff:ff:ff:ff:ff inet 10.31.45.52/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2670sec preferred_lft 2670sec inet6 fe80::33:1bff:fe4c:a3d9/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 2e:c8:14:35:f4:43 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.44.1 dev eth0 proto dhcp src 10.31.45.52 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.52 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-Nlj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 17 August 2024 08:49:50 -0400 (0:00:00.379) 0:02:28.332 ******* 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.316268", "end": "2024-08-17 08:49:51.255564", "rc": 0, "start": "2024-08-17 08:49:50.939296" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1392 0 --:--:-- --:--:-- --:--:-- 1386 % 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 3932 0 --:--:-- --:--:-- --:--:-- 3932 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 17 August 2024 08:49:51 -0400 (0:00:00.702) 0:02:29.035 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-Nlj/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-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-Nlj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26