ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-xFN executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.011) 0:00:00.011 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 21 December 2024 07:50:36 -0500 (0:00:01.196) 0:00:01.208 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 December 2024 07:50:37 -0500 (0:00:00.036) 0:00:01.244 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 December 2024 07:50:37 -0500 (0:00:00.512) 0:00:01.757 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 December 2024 07:50:37 -0500 (0:00:00.447) 0:00:02.205 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.031) 0:00:02.237 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.014) 0:00:02.251 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.045) 0:00:02.297 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.444) 0:00:02.742 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.013) 0:00:02.756 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.013) 0:00:02.769 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243506", "end": "2024-12-21 07:50:39.080571", "rc": 0, "start": "2024-12-21 07:50:38.837065" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.583) 0:00:03.353 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.012) 0:00:03.366 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.016) 0:00:03.382 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.813) 0:00:04.196 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.050) 0:00:04.247 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.064) 0:00:04.312 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.052) 0:00:04.364 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.111) 0:00:04.475 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.067) 0:00:04.543 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.063) 0:00:04.607 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-12-21 07:50:40.742345", "rc": 0, "start": "2024-12-21 07:50:40.738621" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.411) 0:00:05.018 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.055) 0:00:05.074 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.055) 0:00:05.129 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.075) 0:00:05.204 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007578", "end": "2024-12-21 07:50:41.346911", "rc": 1, "start": "2024-12-21 07:50:41.339333" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.447) 0:00:05.652 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.057) 0:00:05.709 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.683) 0:00:06.392 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.055) 0:00:06.447 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.059) 0:00:06.507 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.101) 0:00:06.608 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.090) 0:00:06.699 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.053) 0:00:06.752 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.053) 0:00:06.806 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.052) 0:00:06.858 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:50:44 -0500 (0:00:02.025) 0:00:08.884 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:50:46 -0500 (0:00:01.768) 0:00:10.653 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.078) 0:00:10.731 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.062) 0:00:10.794 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.059) 0:00:10.854 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.061) 0:00:10.915 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.060) 0:00:10.976 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.046) 0:00:11.023 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.058) 0:00:11.082 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.145) 0:00:11.227 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.078) 0:00:11.305 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.081) 0:00:11.386 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.093) 0:00:11.480 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.080) 0:00:11.561 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.060) 0:00:11.622 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.958) 0:00:12.580 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpvad245fe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.458) 0:00:13.039 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.754) 0:00:13.794 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.053) 0:00:13.847 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.063) 0:00:13.911 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.069) 0:00:13.981 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.049) 0:00:14.030 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.485) 0:00:14.515 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.065) 0:00:14.581 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.110) 0:00:14.692 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.078) 0:00:14.771 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.075) 0:00:14.846 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785449.4778473, "block_size": 4096, "blocks": 8, "ctime": 1734785449.4778473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785449.4778473, "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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.441) 0:00:15.287 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.075) 0:00:15.363 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018680", "end": "2024-12-21 07:50:51.476553", "rc": 1, "start": "2024-12-21 07:50:51.457873" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.426) 0:00:15.789 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.082) 0:00:15.872 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003125", "end": "2024-12-21 07:50:51.981585", "rc": 0, "start": "2024-12-21 07:50:51.978460" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.401) 0:00:16.273 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.069) 0:00:16.342 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003138", "end": "2024-12-21 07:50:52.467327", "rc": 0, "start": "2024-12-21 07:50:52.464189" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.507) 0:00:16.849 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.114) 0:00:16.964 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.122) 0:00:17.087 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.119) 0:00:17.206 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.100) 0:00:17.307 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.086) 0:00:17.393 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.089) 0:00:17.483 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.190) 0:00:17.673 ***** 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.038071", "end": "2024-12-21 07:50:53.807741", "rc": 1, "start": "2024-12-21 07:50:53.769670" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.447) 0:00:18.121 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.123) 0:00:18.245 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.085) 0:00:18.330 ***** 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. '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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.143) 0:00:18.474 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.077) 0:00:18.551 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.076) 0:00:18.628 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003260", "end": "2024-12-21 07:50:54.715411", "rc": 0, "start": "2024-12-21 07:50:54.712151" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.460) 0:00:19.088 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.094) 0:00:19.183 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.087) 0:00:19.270 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.103) 0:00:19.374 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006595", "end": "2024-12-21 07:50:55.468507", "rc": 1, "start": "2024-12-21 07:50:55.461912" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.416) 0:00:19.791 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.069) 0:00:19.860 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.375) 0:00:20.235 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.061) 0:00:20.297 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.090) 0:00:20.387 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.146) 0:00:20.533 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.134) 0:00:20.668 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.090) 0:00:20.759 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.094) 0:00:20.854 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.082) 0:00:20.936 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:50:58 -0500 (0:00:01.928) 0:00:22.865 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:00 -0500 (0:00:01.609) 0:00:24.475 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.052) 0:00:24.528 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.051) 0:00:24.579 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.051) 0:00:24.631 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.069) 0:00:24.700 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.071) 0:00:24.772 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.061) 0:00:24.834 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.061) 0:00:24.895 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.085) 0:00:24.981 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.048) 0:00:25.029 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.047) 0:00:25.076 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.068) 0:00:25.144 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.066) 0:00:25.211 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.078) 0:00:25.289 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.933) 0:00:26.224 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmp2zpt_91j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.434) 0:00:26.658 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.536) 0:00:27.195 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.054) 0:00:27.249 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.052) 0:00:27.302 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.051) 0:00:27.353 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.066) 0:00:27.420 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.500) 0:00:27.920 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.075) 0:00:27.996 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.103) 0:00:28.099 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.084) 0:00:28.184 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.379) 0:00:28.563 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.055) 0:00:28.619 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.073) 0:00:28.692 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.140) 0:00:28.833 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785462.9039757, "block_size": 4096, "blocks": 8, "ctime": 1734785462.9039757, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785462.9039757, "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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.485) 0:00:29.319 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.089) 0:00:29.409 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019363", "end": "2024-12-21 07:51:05.635980", "rc": 1, "start": "2024-12-21 07:51:05.616617" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.542) 0:00:29.951 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.156) 0:00:30.107 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003130", "end": "2024-12-21 07:51:06.251653", "rc": 0, "start": "2024-12-21 07:51:06.248523" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.438) 0:00:30.546 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.071) 0:00:30.618 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004171", "end": "2024-12-21 07:51:07.863818", "rc": 0, "start": "2024-12-21 07:51:06.859647" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:07 -0500 (0:00:01.541) 0:00:32.159 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.055) 0:00:32.215 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.054) 0:00:32.269 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.052) 0:00:32.322 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.049) 0:00:32.371 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.047) 0:00:32.419 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.049) 0:00:32.468 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.090) 0:00:32.559 ***** 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.038829", "end": "2024-12-21 07:51:08.767852", "rc": 1, "start": "2024-12-21 07:51:08.729023" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.630) 0:00:33.189 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.134) 0:00:33.323 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.066) 0:00:33.390 ***** 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. '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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.144) 0:00:33.534 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.157) 0:00:33.692 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.136) 0:00:33.828 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2024-12-21 07:51:09.928649", "rc": 0, "start": "2024-12-21 07:51:09.925410" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.414) 0:00:34.243 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.085) 0:00:34.328 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.081) 0:00:34.410 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.121) 0:00:34.532 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.191) 0:00:34.723 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.160) 0:00:34.884 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.074) 0:00:34.958 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.054) 0:00:35.013 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.051) 0:00:35.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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:12 -0500 (0:00:01.870) 0:00:36.935 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:14 -0500 (0:00:01.620) 0:00:38.555 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.063) 0:00:38.618 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.054) 0:00:38.673 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.071) 0:00:38.744 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.061) 0:00:38.806 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.075) 0:00:38.881 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.051) 0:00:38.933 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.077) 0:00:39.010 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.308) 0:00:39.319 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.093) 0:00:39.413 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.077) 0:00:39.491 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.089) 0:00:39.581 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.077) 0:00:39.659 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.065) 0:00:39.725 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.668) 0:00:40.394 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmp8ktddppw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.394) 0:00:40.788 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.496) 0:00:41.284 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.064) 0:00:41.348 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.085) 0:00:41.433 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.089) 0:00:41.522 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.079) 0:00:41.602 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.412) 0:00:42.015 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.068) 0:00:42.083 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.111) 0:00:42.194 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.088) 0:00:42.282 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.080) 0:00:42.363 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.056) 0:00:42.419 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.050) 0:00:42.470 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.053) 0:00:42.523 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:20 -0500 (0:00:01.785) 0:00:44.309 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:21 -0500 (0:00:01.535) 0:00:45.844 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.076) 0:00:45.921 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.077) 0:00:45.998 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.084) 0:00:46.082 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.125) 0:00:46.208 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.096) 0:00:46.304 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.104) 0:00:46.409 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.093) 0:00:46.503 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.134) 0:00:46.637 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.081) 0:00:46.719 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.079) 0:00:46.798 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.093) 0:00:46.892 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.103) 0:00:46.995 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.110) 0:00:47.106 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.719) 0:00:47.825 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpbfyxmedp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.487) 0:00:48.313 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.825) 0:00:49.139 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.089) 0:00:49.228 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.099) 0:00:49.327 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.080) 0:00:49.408 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.078) 0:00:49.486 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.630) 0:00:50.117 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.165) 0:00:50.282 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.103) 0:00:50.386 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785484.7053492, "block_size": 4096, "blocks": 0, "ctime": 1734785484.7053492, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33657, "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": 1734785484.7053492, "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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.416) 0:00:50.802 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.079) 0:00:50.881 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.093) 0:00:50.975 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.056) 0:00:51.031 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785484.5441825, "block_size": 4096, "blocks": 8, "ctime": 1734785476.9861104, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785476.9861104, "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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.504) 0:00:51.536 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.114) 0:00:51.651 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019439", "end": "2024-12-21 07:51:27.910408", "rc": 1, "start": "2024-12-21 07:51:27.890969" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.548) 0:00:52.199 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.051) 0:00:52.251 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003159", "end": "2024-12-21 07:51:28.349441", "rc": 0, "start": "2024-12-21 07:51:28.346282" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.388) 0:00:52.640 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.092) 0:00:52.732 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003153", "end": "2024-12-21 07:51:28.828691", "rc": 0, "start": "2024-12-21 07:51:28.825538" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.386) 0:00:53.119 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.060) 0:00:53.179 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.053) 0:00:53.233 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.053) 0:00:53.286 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.055) 0:00:53.342 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.047) 0:00:53.389 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.077) 0:00:53.467 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.159) 0:00:53.627 ***** 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.046592", "end": "2024-12-21 07:51:29.785409", "rc": 0, "start": "2024-12-21 07:51:29.738817" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.447) 0:00:54.075 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.077) 0:00:54.153 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.050) 0:00:54.204 ***** 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. '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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.093) 0:00:54.297 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.069) 0:00:54.366 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.146) 0:00:54.513 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-12-21 07:51:30.603679", "rc": 0, "start": "2024-12-21 07:51:30.599876" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.381) 0:00:54.894 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.089) 0:00:54.984 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.089) 0:00:55.073 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.144) 0:00:55.218 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.154) 0:00:55.373 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.165) 0:00:55.538 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.130) 0:00:55.669 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.126) 0:00:55.795 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.099) 0:00:55.894 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:33 -0500 (0:00:02.068) 0:00:57.963 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:35 -0500 (0:00:01.705) 0:00:59.669 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.110) 0:00:59.779 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.078) 0:00:59.857 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.079) 0:00:59.937 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.077) 0:01:00.015 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.092) 0:01:00.107 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.084) 0:01:00.192 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.093) 0:01:00.285 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.121) 0:01:00.407 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.057) 0:01:00.464 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.057) 0:01:00.522 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.057) 0:01:00.579 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.051) 0:01:00.631 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.048) 0:01:00.679 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.629) 0:01:01.309 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmp1bt8kaj1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.517) 0:01:01.827 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.530) 0:01:02.357 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.066) 0:01:02.424 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.089) 0:01:02.513 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.089) 0:01:02.602 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.080) 0:01:02.683 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.469) 0:01:03.152 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.085) 0:01:03.237 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.119) 0:01:03.357 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.108) 0:01:03.466 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.084) 0:01:03.550 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.058) 0:01:03.609 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.066) 0:01:03.676 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:41 -0500 (0:00:01.912) 0:01:05.588 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:43 -0500 (0:00:01.808) 0:01:07.397 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.062) 0:01:07.459 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.056) 0:01:07.515 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.051) 0:01:07.566 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.051) 0:01:07.618 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.063) 0:01:07.681 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.074) 0:01:07.756 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.094) 0:01:07.850 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.153) 0:01:08.003 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.084) 0:01:08.088 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.086) 0:01:08.174 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.094) 0:01:08.269 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.078) 0:01:08.347 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.184) 0:01:08.532 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.572) 0:01:09.104 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpy39tz56s" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.404) 0:01:09.509 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.797) 0:01:10.306 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.059) 0:01:10.366 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.060) 0:01:10.426 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.055) 0:01:10.482 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.049) 0:01:10.532 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.418) 0:01:10.950 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.098) 0:01:11.048 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.102) 0:01:11.151 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.092) 0:01:11.244 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.131) 0:01:11.375 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.055) 0:01:11.430 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.089) 0:01:11.520 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:49 -0500 (0:00:01.982) 0:01:13.503 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:50 -0500 (0:00:01.549) 0:01:15.052 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.093) 0:01:15.146 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.081) 0:01:15.228 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.059) 0:01:15.288 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.054) 0:01:15.343 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.068) 0:01:15.411 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.105) 0:01:15.517 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.209) 0:01:15.726 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.187) 0:01:15.914 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.080) 0:01:15.994 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.182) 0:01:16.177 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.094) 0:01:16.271 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.081) 0:01:16.353 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.118) 0:01:16.472 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.824) 0:01:17.297 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpxnfr_pws" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.494) 0:01:17.792 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.741) 0:01:18.533 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.073) 0:01:18.606 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.142) 0:01:18.748 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.161) 0:01:18.910 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.126) 0:01:19.037 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.684) 0:01:19.721 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.143) 0:01:19.865 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.149) 0:01:20.014 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785505.9279618, "block_size": 4096, "blocks": 0, "ctime": 1734785505.9279618, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33788, "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": 1734785505.9279618, "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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.427) 0:01:20.442 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.083) 0:01:20.526 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.125) 0:01:20.651 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.078) 0:01:20.730 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.423) 0:01:21.154 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.094) 0:01:21.248 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019758", "end": "2024-12-21 07:51:57.476837", "rc": 1, "start": "2024-12-21 07:51:57.457079" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.537) 0:01:21.786 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.082) 0:01:21.868 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.078) 0:01:21.946 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.080) 0:01:22.026 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.072) 0:01:22.098 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.081) 0:01:22.180 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.087) 0:01:22.267 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.075) 0:01:22.342 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.082) 0:01:22.425 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.207) 0:01:22.632 ***** 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.048674", "end": "2024-12-21 07:51:58.787956", "rc": 0, "start": "2024-12-21 07:51:58.739282" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.467) 0:01:23.100 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.121) 0:01:23.222 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.082) 0:01:23.304 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.147) 0:01:23.452 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.117) 0:01:23.570 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.110) 0:01:23.681 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003223", "end": "2024-12-21 07:51:59.791676", "rc": 0, "start": "2024-12-21 07:51:59.788453" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.411) 0:01:24.092 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.076) 0:01:24.169 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.089) 0:01:24.258 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.150) 0:01:24.409 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.183) 0:01:24.592 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.128) 0:01:24.721 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.081) 0:01:24.803 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.055) 0:01:24.859 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.054) 0:01:24.914 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:02 -0500 (0:00:01.880) 0:01:26.794 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:04 -0500 (0:00:01.493) 0:01:28.288 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.055) 0:01:28.343 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.049) 0:01:28.393 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.047) 0:01:28.441 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.051) 0:01:28.493 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.060) 0:01:28.553 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.131) 0:01:28.685 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.075) 0:01:28.761 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.141) 0:01:28.902 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.120) 0:01:29.022 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.079) 0:01:29.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.124) 0:01:29.226 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.144) 0:01:29.371 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.120) 0:01:29.491 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.747) 0:01:30.239 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmp01a9mk2o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.386) 0:01:30.625 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.527) 0:01:31.152 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.051) 0:01:31.204 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.051) 0:01:31.256 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.055) 0:01:31.311 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.062) 0:01:31.374 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.467) 0:01:31.841 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.077) 0:01:31.919 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.144) 0:01:32.064 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.151) 0:01:32.215 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.092) 0:01:32.308 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.083) 0:01:32.392 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.081) 0:01:32.473 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:10 -0500 (0:00:01.783) 0:01:34.256 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:11 -0500 (0:00:01.546) 0:01:35.803 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.085) 0:01:35.888 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.094) 0:01:35.982 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.105) 0:01:36.088 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.239) 0:01:36.327 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.155) 0:01:36.483 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.086) 0:01:36.570 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.129) 0:01:36.699 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.142) 0:01:36.842 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.081) 0:01:36.923 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.089) 0:01:37.013 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.083) 0:01:37.097 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.069) 0:01:37.166 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.083) 0:01:37.249 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.699) 0:01:37.949 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpx9k40ahl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.513) 0:01:38.463 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.788) 0:01:39.252 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.079) 0:01:39.331 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.085) 0:01:39.417 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.100) 0:01:39.517 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.136) 0:01:39.653 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.493) 0:01:40.146 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.201) 0:01:40.348 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.150) 0:01:40.499 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.097) 0:01:40.597 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.072) 0:01:40.669 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.063) 0:01:40.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 : Check which packages are installed] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:18 -0500 (0:00:01.827) 0:01:42.560 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:20 -0500 (0:00:01.684) 0:01:44.244 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.054) 0:01:44.299 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.052) 0:01:44.351 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.194) 0:01:44.546 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.078) 0:01:44.625 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.111) 0:01:44.736 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.134) 0:01:44.871 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.100) 0:01:44.971 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.132) 0:01:45.104 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.082) 0:01:45.187 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.081) 0:01:45.268 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.087) 0:01:45.355 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.073) 0:01:45.429 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.100) 0:01:45.529 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.628) 0:01:46.158 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpzuv1bc6e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.462) 0:01:46.621 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.636) 0:01:47.258 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.118) 0:01:47.376 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.120) 0:01:47.497 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.115) 0:01:47.612 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.052) 0:01:47.665 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.468) 0:01:48.133 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.128) 0:01:48.261 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.133) 0:01:48.395 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.128) 0:01:48.523 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.076) 0:01:48.599 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.058) 0:01:48.658 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.063) 0:01:48.721 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:26 -0500 (0:00:01.778) 0:01:50.500 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:27 -0500 (0:00:01.560) 0:01:52.061 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.056) 0:01:52.117 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.050) 0:01:52.167 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.052) 0:01:52.220 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.050) 0:01:52.270 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.059) 0:01:52.330 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.051) 0:01:52.381 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.059) 0:01:52.441 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.083) 0:01:52.525 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.051) 0:01:52.576 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.049) 0:01:52.625 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.057) 0:01:52.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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.073) 0:01:52.757 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.084) 0:01:52.841 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.659) 0:01:53.500 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpxayr88q0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.430) 0:01:53.931 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.697) 0:01:54.629 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.051) 0:01:54.680 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.056) 0:01:54.736 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.054) 0:01:54.790 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.064) 0:01:54.855 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.443) 0:01:55.298 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.101) 0:01:55.400 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.125) 0:01:55.526 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.142) 0:01:55.668 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.628) 0:01:56.297 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.053) 0:01:56.350 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018884", "end": "2024-12-21 07:52:32.457980", "rc": 1, "start": "2024-12-21 07:52:32.439096" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.404) 0:01:56.755 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.062) 0:01:56.818 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.053) 0:01:56.871 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.133) 0:01:57.005 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.077) 0:01:57.082 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.081) 0:01:57.164 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.070) 0:01:57.234 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.064) 0:01:57.299 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.056) 0:01:57.355 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.080) 0:01:57.436 ***** 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.045377", "end": "2024-12-21 07:52:33.644792", "rc": 0, "start": "2024-12-21 07:52:33.599415" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.517) 0:01:57.953 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.098) 0:01:58.052 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.095) 0:01:58.147 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.115) 0:01:58.263 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.071) 0:01:58.334 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.103) 0:01:58.437 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003869", "end": "2024-12-21 07:52:34.527108", "rc": 0, "start": "2024-12-21 07:52:34.523239" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.378) 0:01:58.816 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.057) 0:01:58.874 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.053) 0:01:58.927 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.118) 0:01:59.046 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.160) 0:01:59.206 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.136) 0:01:59.343 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.092) 0:01:59.435 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.084) 0:01:59.520 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.087) 0:01:59.607 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:37 -0500 (0:00:01.923) 0:02:01.531 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:38 -0500 (0:00:01.603) 0:02:03.134 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.055) 0:02:03.190 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.050) 0:02:03.241 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.048) 0:02:03.289 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.060) 0:02:03.350 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.059) 0:02:03.409 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.051) 0:02:03.460 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.059) 0:02:03.520 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.084) 0:02:03.604 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.051) 0:02:03.655 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.049) 0:02:03.705 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.063) 0:02:03.769 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.081) 0:02:03.850 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.053) 0:02:03.903 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.580) 0:02:04.484 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpvnqkddia" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.389) 0:02:04.873 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.622) 0:02:05.496 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.080) 0:02:05.576 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.087) 0:02:05.664 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.087) 0:02:05.751 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.077) 0:02:05.828 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.447) 0:02:06.275 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.054) 0:02:06.330 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.100) 0:02:06.430 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.082) 0:02:06.513 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.062) 0:02:06.576 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.083) 0:02:06.659 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.080) 0:02:06.740 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:44 -0500 (0:00:01.840) 0:02:08.581 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:45 -0500 (0:00:01.624) 0:02:10.205 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.087) 0:02:10.293 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.086) 0:02:10.379 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.078) 0:02:10.458 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.097) 0:02:10.555 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.074) 0:02:10.630 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.058) 0:02:10.688 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.062) 0:02:10.751 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.087) 0:02:10.839 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.061) 0:02:10.900 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.082) 0:02:10.983 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.096) 0:02:11.080 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.081) 0:02:11.161 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.083) 0:02:11.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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.841) 0:02:12.086 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpejc_edrt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.392) 0:02:12.479 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.820) 0:02:13.299 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.089) 0:02:13.388 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.078) 0:02:13.467 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.075) 0:02:13.543 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.080) 0:02:13.623 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.413) 0:02:14.037 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.090) 0:02:14.127 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.114) 0:02:14.242 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.094) 0:02:14.336 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.086) 0:02:14.422 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.083) 0:02:14.505 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:52 -0500 (0:00:01.984) 0:02:16.490 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:53 -0500 (0:00:01.556) 0:02:18.046 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.069) 0:02:18.116 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.083) 0:02:18.200 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.063) 0:02:18.264 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.064) 0:02:18.328 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.066) 0:02:18.394 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.050) 0:02:18.445 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.061) 0:02:18.507 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.087) 0:02:18.594 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.048) 0:02:18.643 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.051) 0:02:18.694 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.078) 0:02:18.773 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.064) 0:02:18.838 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.164) 0:02:19.002 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.578) 0:02:19.581 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmp85l8oi2u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.390) 0:02:19.971 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.519) 0:02:20.490 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.056) 0:02:20.546 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.052) 0:02:20.599 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.056) 0:02:20.656 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.050) 0:02:20.707 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.500) 0:02:21.207 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.209) 0:02:21.417 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.225) 0:02:21.643 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.184) 0:02:21.827 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.379) 0:02:22.207 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.097) 0:02:22.304 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.094) 0:02:22.399 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:00 -0500 (0:00:01.944) 0:02:24.343 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:01 -0500 (0:00:01.650) 0:02:25.993 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.056) 0:02:26.050 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.053) 0:02:26.104 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.049) 0:02:26.154 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.052) 0:02:26.206 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.068) 0:02:26.274 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.078) 0:02:26.353 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.072) 0:02:26.425 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.102) 0:02:26.527 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.051) 0:02:26.579 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.142) 0:02:26.721 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.062) 0:02:26.784 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.050) 0:02:26.834 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.053) 0:02:26.887 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.579) 0:02:27.467 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41950j3679i7u/tmpj1cs9qbd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.423) 0:02:27.890 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.599) 0:02:28.490 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.080) 0:02:28.571 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.062) 0:02:28.634 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.067) 0:02:28.701 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.052) 0:02:28.754 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.444) 0:02:29.198 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.161) 0:02:29.360 ***** included: /tmp/collections-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.146) 0:02:29.506 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.056) 0:02:29.562 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.397) 0:02:29.960 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.085) 0:02:30.046 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020157", "end": "2024-12-21 07:53:06.186012", "rc": 1, "start": "2024-12-21 07:53:06.165855" } 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.433) 0:02:30.479 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.088) 0:02:30.568 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.081) 0:02:30.650 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.079) 0:02:30.730 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.083) 0:02:30.813 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.081) 0:02:30.895 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.084) 0:02:30.979 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.887669", "end": "2024-12-21 07:53:07.995908", "rc": 0, "start": "2024-12-21 07:53:07.108239" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 December 2024 07:53:08 -0500 (0:00:01.312) 0:02:32.292 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.056) 0:02:32.348 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.052) 0:02:32.400 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.056) 0:02:32.457 ***** 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.052) 0:02:32.510 ***** included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.158) 0:02:32.669 ***** 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.044978", "end": "2024-12-21 07:53:08.809539", "rc": 0, "start": "2024-12-21 07:53:08.764561" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.433) 0:02:33.102 ***** 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.009697", "end": "2024-12-21 07:53:09.197442", "rc": 0, "start": "2024-12-21 07:53:09.187745" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d1:b7:d0:cb brd ff:ff:ff:ff:ff:ff inet 10.31.12.229/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2705sec preferred_lft 2705sec inet6 fe80::8ff:d1ff:feb7:d0cb/64 scope link valid_lft forever preferred_lft forever 44: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:0c:89:b6:1c:ed brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.229 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.229 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-xFN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.384) 0:02:33.487 ***** 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.302950", "end": "2024-12-21 07:53:09.885296", "rc": 0, "start": "2024-12-21 07:53:09.582346" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3812 0 --:--:-- --:--:-- --:--:-- 3812 % 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 1462 0 --:--:-- --:--:-- --:--:-- 1462 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 21 December 2024 07:53:09 -0500 (0:00:00.678) 0:02:34.165 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-xFN/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-xFN/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-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-xFN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26