ansible-playbook [core 2.16.13] 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-Zqz 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_nm.yml ************************************************** 2 plays in /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.011) 0:00:00.011 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 23 November 2024 07:54:47 -0500 (0:00:01.215) 0:00:01.226 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.019) 0:00:01.245 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.541) 0:00:01.787 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.584) 0:00:02.371 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.031) 0:00:02.403 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.014) 0:00:02.418 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.044) 0:00:02.463 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.452) 0:00:02.915 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.021) 0:00:02.936 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.024) 0:00:02.960 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.234571", "end": "2024-11-23 07:54:49.395858", "rc": 0, "start": "2024-11-23 07:54:49.161287" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.601) 0:00:03.562 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.020) 0:00:03.582 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.024) 0:00:03.606 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.838) 0:00:04.445 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.032) 0:00:04.477 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.037) 0:00:04.515 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.024) 0:00:04.539 ***** 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": true, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.104) 0:00:04.644 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.030) 0:00:04.675 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.025) 0:00:04.701 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-11-23 07:54:50.884296", "rc": 0, "start": "2024-11-23 07:54:50.880654" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.373) 0:00:05.074 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.026) 0:00:05.101 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.025) 0:00:05.126 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.043) 0:00:05.170 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007562", "end": "2024-11-23 07:54:51.354181", "rc": 1, "start": "2024-11-23 07:54:51.346619" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.347) 0:00:05.518 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.028) 0:00:05.546 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.356) 0:00:05.903 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.017) 0:00:05.920 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.027) 0:00:05.948 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.060) 0:00:06.008 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.046) 0:00:06.055 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.052) 0:00:06.108 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.026) 0:00:06.134 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.024) 0:00:06.159 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:53 -0500 (0:00:01.801) 0:00:07.961 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:55 -0500 (0:00:01.786) 0:00:09.747 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.045) 0:00:09.793 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.028) 0:00:09.822 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.029) 0:00:09.852 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.049) 0:00:09.901 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.057) 0:00:09.959 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.049) 0:00:10.008 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.058) 0:00:10.067 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.085) 0:00:10.153 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.054) 0:00:10.207 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.031) 0:00:10.238 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.057) 0:00:10.296 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.792) 0:00:11.089 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.097) 0:00:11.186 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.049) 0:00:11.236 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.048) 0:00:11.284 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.965) 0:00:12.249 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.100) 0:00:12.350 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.058) 0:00:12.408 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.077) 0:00:12.486 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.052) 0:00:12.539 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.553) 0:00:13.093 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e40986f6-5abb-48cb-8111-aa8c7aefe2d6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.057) 0:00:13.150 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.145) 0:00:13.296 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.092) 0:00:13.389 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.063) 0:00:13.452 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366497.9786143, "block_size": 4096, "blocks": 8, "ctime": 1732366497.919615, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366497.919615, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.500) 0:00:13.953 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.033) 0:00:13.986 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019448", "end": "2024-11-23 07:55:00.180370", "rc": 0, "start": "2024-11-23 07:55:00.160922" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.374) 0:00:14.361 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.047) 0:00:14.409 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.050) 0:00:14.459 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.053) 0:00:14.513 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.052) 0:00:14.565 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.085) 0:00:14.651 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.087) 0:00:14.738 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.056) 0:00:14.795 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.045) 0:00:14.841 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.169) 0:00:15.011 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.092) 0:00:15.104 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366497.9213312, "block_size": 4096, "blocks": 0, "ctime": 1732366497.9213312, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37210, "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": 1732366497.9213312, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.410) 0:00:15.514 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.057) 0:00:15.572 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.059) 0:00:15.631 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.100) 0:00:15.732 ***** 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.060494", "end": "2024-11-23 07:55:01.972526", "rc": 1, "start": "2024-11-23 07:55:01.912032" } STDOUT: Connection 'statebr' (e40986f6-5abb-48cb-8111-aa8c7aefe2d6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.509) 0:00:16.241 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.143) 0:00:16.384 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.096) 0:00:16.481 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.165) 0:00:16.646 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.141) 0:00:16.788 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.092) 0:00:16.881 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-11-23 07:55:03.117299", "rc": 0, "start": "2024-11-23 07:55:03.113914" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.444) 0:00:17.325 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.033) 0:00:17.358 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.032) 0:00:17.390 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.055) 0:00:17.446 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005740", "end": "2024-11-23 07:55:03.615403", "rc": 1, "start": "2024-11-23 07:55:03.609663" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.344) 0:00:17.791 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.049) 0:00:17.840 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.341) 0:00:18.181 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.034) 0:00:18.216 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.053) 0:00:18.269 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.067) 0:00:18.337 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.059) 0:00:18.396 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.110) 0:00:18.507 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.044) 0:00:18.551 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.042) 0:00:18.593 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:06 -0500 (0:00:01.789) 0:00:20.383 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:08 -0500 (0:00:01.828) 0:00:22.211 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.039) 0:00:22.251 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.033) 0:00:22.285 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.029) 0:00:22.314 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.053) 0:00:22.368 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.084) 0:00:22.453 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.104) 0:00:22.557 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.154) 0:00:22.712 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.145) 0:00:22.857 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.044) 0:00:22.901 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.076) 0:00:22.978 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.059) 0:00:23.038 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.643) 0:00:23.682 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.149) 0:00:23.831 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.057) 0:00:23.889 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.052) 0:00:23.941 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.668) 0:00:24.610 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.050) 0:00:24.660 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.060) 0:00:24.721 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.065) 0:00:24.787 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.049) 0:00:24.837 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.416) 0:00:25.253 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5df2f3ea-b606-458a-9e3f-e46ca507d54a" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.034) 0:00:25.288 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.062) 0:00:25.350 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.081) 0:00:25.432 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.341) 0:00:25.773 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.036) 0:00:25.810 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.076) 0:00:25.887 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.051) 0:00:25.939 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366510.3924572, "block_size": 4096, "blocks": 8, "ctime": 1732366510.3924572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366510.3924572, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.358) 0:00:26.297 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.034) 0:00:26.332 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018814", "end": "2024-11-23 07:55:12.522795", "rc": 0, "start": "2024-11-23 07:55:12.503981" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.383) 0:00:26.715 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.038) 0:00:26.754 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.039) 0:00:26.794 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.044) 0:00:26.838 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.034) 0:00:26.872 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.031) 0:00:26.904 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.034) 0:00:26.939 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.033) 0:00:26.973 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.066) 0:00:27.039 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.048) 0:00:27.087 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.034) 0:00:27.122 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.057) 0:00:27.180 ***** 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.037358", "end": "2024-11-23 07:55:13.409798", "rc": 1, "start": "2024-11-23 07:55:13.372440" } STDOUT: Connection 'statebr' (5df2f3ea-b606-458a-9e3f-e46ca507d54a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.428) 0:00:27.608 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.095) 0:00:27.703 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.056) 0:00:27.760 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.106) 0:00:27.866 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.086) 0:00:27.953 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.084) 0:00:28.037 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-11-23 07:55:14.323326", "rc": 0, "start": "2024-11-23 07:55:14.319790" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.482) 0:00:28.520 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.054) 0:00:28.574 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.052) 0:00:28.627 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.171) 0:00:28.799 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.160) 0:00:28.959 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.105) 0:00:29.064 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.134) 0:00:29.198 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.091) 0:00:29.290 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.062) 0:00:29.353 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:17 -0500 (0:00:01.805) 0:00:31.158 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:18 -0500 (0:00:01.632) 0:00:32.790 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.036) 0:00:32.827 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.030) 0:00:32.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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.063) 0:00:32.921 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.054) 0:00:32.975 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.121) 0:00:33.097 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.119) 0:00:33.217 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.078) 0:00:33.295 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.104) 0:00:33.399 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.031) 0:00:33.431 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.028) 0:00:33.459 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.074) 0:00:33.534 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.615) 0:00:34.150 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.092) 0:00:34.243 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.052) 0:00:34.296 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.043) 0:00:34.339 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.678) 0:00:35.018 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.079) 0:00:35.097 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.121) 0:00:35.219 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.109) 0:00:35.328 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.153) 0:00:35.482 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.472) 0:00:35.955 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.060) 0:00:36.015 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.092) 0:00:36.108 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.113) 0:00:36.222 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.115) 0:00:36.337 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.113) 0:00:36.451 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.091) 0:00:36.542 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.093) 0:00:36.635 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:24 -0500 (0:00:01.807) 0:00:38.443 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:25 -0500 (0:00:01.534) 0:00:39.977 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.039) 0:00:40.017 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.039) 0:00:40.056 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.046) 0:00:40.103 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.080) 0:00:40.183 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.092) 0:00:40.276 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.075) 0:00:40.351 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.122) 0:00:40.474 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.193) 0:00:40.668 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.067) 0:00:40.736 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.075) 0:00:40.812 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.190) 0:00:41.003 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.932) 0:00:41.935 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.105) 0:00:42.041 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.046) 0:00:42.088 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.031) 0:00:42.120 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.591) 0:00:42.711 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.035) 0:00:42.746 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.049) 0:00:42.796 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfc1fdd9-cae8-43fd-897a-654b3cb3160e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.086) 0:00:42.883 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.107) 0:00:42.991 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.382) 0:00:43.373 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.090) 0:00:43.463 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.103) 0:00:43.567 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366520.6790876, "block_size": 4096, "blocks": 0, "ctime": 1732366520.6790876, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37341, "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": 1732366520.6790876, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.518) 0:00:44.085 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.049) 0:00:44.135 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.099) 0:00:44.234 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.077) 0:00:44.312 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366520.7223265, "block_size": 4096, "blocks": 8, "ctime": 1732366520.677327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366520.677327, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.566) 0:00:44.878 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.073) 0:00:44.952 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019750", "end": "2024-11-23 07:55:31.198120", "rc": 0, "start": "2024-11-23 07:55:31.178370" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.423) 0:00:45.376 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.036) 0:00:45.412 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.032) 0:00:45.445 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.033) 0:00:45.478 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.035) 0:00:45.514 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.032) 0:00:45.546 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.039) 0:00:45.585 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.054) 0:00:45.640 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.056) 0:00:45.697 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.055) 0:00:45.752 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.040) 0:00:45.793 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.067) 0:00:45.860 ***** 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.067112", "end": "2024-11-23 07:55:32.093060", "rc": 1, "start": "2024-11-23 07:55:32.025948" } STDOUT: Connection 'statebr' (dfc1fdd9-cae8-43fd-897a-654b3cb3160e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.409) 0:00:46.270 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.087) 0:00:46.357 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.038) 0:00:46.395 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.092) 0:00:46.487 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.087) 0:00:46.575 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.081) 0:00:46.657 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-11-23 07:55:32.939227", "rc": 0, "start": "2024-11-23 07:55:32.935689" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.458) 0:00:47.116 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.033) 0:00:47.149 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.033) 0:00:47.183 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.075) 0:00:47.258 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.108) 0:00:47.367 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.102) 0:00:47.469 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.142) 0:00:47.612 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.035) 0:00:47.647 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.034) 0:00:47.682 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:35 -0500 (0:00:01.700) 0:00:49.382 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:36 -0500 (0:00:01.487) 0:00:50.870 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.034) 0:00:50.904 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.031) 0:00:50.935 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.029) 0:00:50.964 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.052) 0:00:51.017 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.077) 0:00:51.095 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.093) 0:00:51.188 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.095) 0:00:51.284 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.132) 0:00:51.416 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.051) 0:00:51.467 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.107) 0:00:51.575 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.071) 0:00:51.646 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.644) 0:00:52.291 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.137) 0:00:52.429 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.060) 0:00:52.490 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.077) 0:00:52.567 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.639) 0:00:53.206 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.031) 0:00:53.238 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.033) 0:00:53.271 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.045) 0:00:53.317 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.029) 0:00:53.347 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.358) 0:00:53.705 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.035) 0:00:53.741 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.064) 0:00:53.806 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.096) 0:00:53.902 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.056) 0:00:53.959 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.035) 0:00:53.994 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.035) 0:00:54.029 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:41 -0500 (0:00:01.656) 0:00:55.686 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:43 -0500 (0:00:01.466) 0:00:57.152 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.035) 0:00:57.188 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.033) 0:00:57.221 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.045) 0:00:57.267 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.071) 0:00:57.338 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.084) 0:00:57.423 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.060) 0:00:57.484 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.056) 0:00:57.540 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.180) 0:00:57.721 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.053) 0:00:57.775 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.051) 0:00:57.827 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.072) 0:00:57.899 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.583) 0:00:58.483 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.092) 0:00:58.575 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.051) 0:00:58.626 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.041) 0:00:58.668 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.692) 0:00:59.360 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.073) 0:00:59.434 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.058) 0:00:59.492 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b62ebf23-ae8d-4b60-ab97-182621a5a0d5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.072) 0:00:59.565 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.107) 0:00:59.672 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.517) 0:01:00.190 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.091) 0:01:00.281 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.079) 0:01:00.361 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.107) 0:01:00.469 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.091) 0:01:00.560 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.062) 0:01:00.623 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.069) 0:01:00.693 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:48 -0500 (0:00:01.710) 0:01:02.403 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:49 -0500 (0:00:01.663) 0:01:04.067 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.108) 0:01:04.176 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.079) 0:01:04.255 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.050) 0:01:04.305 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.088) 0:01:04.394 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.211) 0:01:04.606 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.070) 0:01:04.677 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.066) 0:01:04.743 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.129) 0:01:04.872 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.051) 0:01:04.924 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.049) 0:01:04.974 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.091) 0:01:05.066 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:51 -0500 (0:00:00.736) 0:01:05.802 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:51 -0500 (0:00:00.104) 0:01:05.907 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:51 -0500 (0:00:00.046) 0:01:05.954 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:51 -0500 (0:00:00.042) 0:01:05.996 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:52 -0500 (0:00:00.576) 0:01:06.572 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:52 -0500 (0:00:00.051) 0:01:06.623 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:52 -0500 (0:00:00.054) 0:01:06.678 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:52 -0500 (0:00:00.057) 0:01:06.736 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:52 -0500 (0:00:00.045) 0:01:06.781 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.652) 0:01:07.433 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.132) 0:01:07.566 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.094) 0:01:07.661 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366538.9779289, "block_size": 4096, "blocks": 0, "ctime": 1732366538.9779289, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37472, "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": 1732366538.9779289, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.451) 0:01:08.112 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.041) 0:01:08.154 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.102) 0:01:08.256 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.055) 0:01:08.312 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.363) 0:01:08.675 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.051) 0:01:08.727 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019385", "end": "2024-11-23 07:55:54.953822", "rc": 1, "start": "2024-11-23 07:55:54.934437" } 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.447) 0:01:09.174 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.056) 0:01:09.230 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.054) 0:01:09.285 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.049) 0:01:09.335 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.111) 0:01:09.446 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.052) 0:01:09.499 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.053) 0:01:09.553 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.077) 0:01:09.631 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.053) 0:01:09.684 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.070) 0:01:09.755 ***** 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.070405", "end": "2024-11-23 07:55:56.022317", "rc": 1, "start": "2024-11-23 07:55:55.951912" } STDOUT: Connection 'statebr' (b62ebf23-ae8d-4b60-ab97-182621a5a0d5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.478) 0:01:10.234 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.099) 0:01:10.333 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.071) 0:01:10.405 ***** 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": true, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.110) 0:01:10.515 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.110) 0:01:10.626 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.090) 0:01:10.716 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003469", "end": "2024-11-23 07:55:57.011448", "rc": 0, "start": "2024-11-23 07:55:57.007979" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.534) 0:01:11.251 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.064) 0:01:11.315 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.058) 0:01:11.373 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.111) 0:01:11.485 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.123) 0:01:11.608 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.106) 0:01:11.715 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.089) 0:01:11.804 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.058) 0:01:11.863 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.055) 0:01:11.918 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:59 -0500 (0:00:01.714) 0:01:13.633 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:01 -0500 (0:00:01.583) 0:01:15.217 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.046) 0:01:15.264 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.054) 0:01:15.319 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.052) 0:01:15.371 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.084) 0:01:15.455 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.101) 0:01:15.557 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.083) 0:01:15.641 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.096) 0:01:15.737 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.136) 0:01:15.874 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.052) 0:01:15.927 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.053) 0:01:15.980 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.098) 0:01:16.078 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.628) 0:01:16.707 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.061) 0:01:16.768 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.030) 0:01:16.798 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.030) 0:01:16.828 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.599) 0:01:17.428 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.092) 0:01:17.521 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.062) 0:01:17.583 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.079) 0:01:17.663 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.051) 0:01:17.715 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.417) 0:01:18.133 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.055) 0:01:18.189 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.126) 0:01:18.315 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.105) 0:01:18.420 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.087) 0:01:18.508 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.056) 0:01:18.564 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.057) 0:01:18.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 : Check which packages are installed] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:06 -0500 (0:00:01.717) 0:01:20.339 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:07 -0500 (0:00:01.533) 0:01:21.873 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.035) 0:01:21.908 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.032) 0:01:21.940 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.030) 0:01:21.971 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.049) 0:01:22.021 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.062) 0:01:22.084 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.052) 0:01:22.136 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.058) 0:01:22.194 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.085) 0:01:22.280 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.031) 0:01:22.312 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.028) 0:01:22.340 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.059) 0:01:22.400 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.579) 0:01:22.980 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.107) 0:01:23.087 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.058) 0:01:23.146 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.162) 0:01:23.308 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.645) 0:01:23.954 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.057) 0:01:24.011 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.057) 0:01:24.069 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d62a43aa-3927-4e27-923f-882b0f89c147 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.038) 0:01:24.107 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.036) 0:01:24.144 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.367) 0:01:24.511 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.119) 0:01:24.630 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.111) 0:01:24.742 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.100) 0:01:24.842 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.076) 0:01:24.919 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.059) 0:01:24.979 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:12 -0500 (0:00:01.728) 0:01:26.708 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:14 -0500 (0:00:01.581) 0:01:28.290 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.036) 0:01:28.326 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.031) 0:01:28.358 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.032) 0:01:28.390 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.053) 0:01:28.444 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.063) 0:01:28.507 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.050) 0:01:28.557 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.090) 0:01:28.648 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.138) 0:01:28.787 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.049) 0:01:28.836 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.039) 0:01:28.875 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.067) 0:01:28.942 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.563) 0:01:29.506 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.063) 0:01:29.569 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.074) 0:01:29.643 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.037) 0:01:29.681 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.533) 0:01:30.214 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.040) 0:01:30.254 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.059) 0:01:30.314 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.058) 0:01:30.373 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.054) 0:01:30.427 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.434) 0:01:30.861 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.100) 0:01:30.961 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.124) 0:01:31.086 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.204) 0:01:31.290 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.171) 0:01:31.461 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.129) 0:01:31.591 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.071) 0:01:31.662 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:19 -0500 (0:00:01.740) 0:01:33.403 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:20 -0500 (0:00:01.470) 0:01:34.874 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.034) 0:01:34.908 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.030) 0:01:34.939 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.032) 0:01:34.971 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.053) 0:01:35.025 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.068) 0:01:35.093 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.079) 0:01:35.173 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.093) 0:01:35.267 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.115) 0:01:35.382 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.060) 0:01:35.443 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.053) 0:01:35.496 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.154) 0:01:35.651 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.590) 0:01:36.242 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.088) 0:01:36.330 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.035) 0:01:36.366 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.036) 0:01:36.403 ***** 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.615) 0:01:37.018 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.059) 0:01:37.078 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.055) 0:01:37.133 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.040) 0:01:37.173 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.050) 0:01:37.224 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.448) 0:01:37.673 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.101) 0:01:37.775 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.101) 0:01:37.876 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.071) 0:01:37.947 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.645) 0:01:38.593 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.054) 0:01:38.648 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018985", "end": "2024-11-23 07:56:24.874042", "rc": 1, "start": "2024-11-23 07:56:24.855057" } 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.426) 0:01:39.075 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.055) 0:01:39.131 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.052) 0:01:39.183 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.053) 0:01:39.237 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.052) 0:01:39.290 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.038) 0:01:39.328 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.040) 0:01:39.368 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.092) 0:01:39.460 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.053) 0:01:39.514 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.377) 0:01:39.891 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.039) 0:01:39.931 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.044) 0:01:39.976 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.184) 0:01:40.161 ***** 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.036884", "end": "2024-11-23 07:56:26.413755", "rc": 1, "start": "2024-11-23 07:56:26.376871" } 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.449) 0:01:40.610 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.090) 0:01:40.700 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.059) 0:01:40.760 ***** 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": true, "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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.113) 0:01:40.874 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.087) 0:01:40.961 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.083) 0:01:41.045 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2024-11-23 07:56:27.272131", "rc": 0, "start": "2024-11-23 07:56:27.268919" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.432) 0:01:41.477 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.066) 0:01:41.543 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.060) 0:01:41.604 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.102) 0:01:41.706 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.170) 0:01:41.877 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.137) 0:01:42.014 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.073) 0:01:42.087 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.050) 0:01:42.137 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.058) 0:01:42.196 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:29 -0500 (0:00:01.647) 0:01:43.844 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:31 -0500 (0:00:01.454) 0:01:45.299 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.059) 0:01:45.358 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.053) 0:01:45.412 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.053) 0:01:45.465 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.145) 0:01:45.610 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.101) 0:01:45.712 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.184) 0:01:45.896 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.096) 0:01:45.992 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.124) 0:01:46.117 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.055) 0:01:46.172 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.058) 0:01:46.231 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.135) 0:01:46.367 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.653) 0:01:47.021 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.092) 0:01:47.113 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.037) 0:01:47.151 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.034) 0:01:47.186 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.679) 0:01:47.865 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.058) 0:01:47.924 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.059) 0:01:47.984 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.064) 0:01:48.048 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.038) 0:01:48.087 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.513) 0:01:48.600 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.102) 0:01:48.703 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.105) 0:01:48.808 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.089) 0:01:48.898 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.066) 0:01:48.964 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.035) 0:01:48.999 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.038) 0:01:49.038 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:36 -0500 (0:00:01.706) 0:01:50.744 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:38 -0500 (0:00:01.513) 0:01:52.258 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.054) 0:01:52.312 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.035) 0:01:52.348 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.036) 0:01:52.385 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.112) 0:01:52.498 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.062) 0:01:52.560 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.057) 0:01:52.617 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.087) 0:01:52.704 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.132) 0:01:52.837 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.056) 0:01:52.894 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.051) 0:01:52.945 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.089) 0:01:53.034 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.611) 0:01:53.646 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.111) 0:01:53.758 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.050) 0:01:53.808 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.037) 0:01:53.846 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.509) 0:01:54.355 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.030) 0:01:54.385 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.034) 0:01:54.420 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2efbecd4-6e9f-4e71-ae36-9091e66339a0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.035) 0:01:54.456 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.041) 0:01:54.497 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.403) 0:01:54.901 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.069) 0:01:54.971 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.064) 0:01:55.035 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.058) 0:01:55.094 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.035) 0:01:55.129 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.036) 0:01:55.166 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:42 -0500 (0:00:01.671) 0:01:56.838 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:44 -0500 (0:00:01.469) 0:01:58.308 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.056) 0:01:58.364 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.050) 0:01:58.414 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.110) 0:01:58.525 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.097) 0:01:58.623 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.106) 0:01:58.729 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.071) 0:01:58.800 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.067) 0:01:58.868 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.097) 0:01:58.965 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.032) 0:01:58.998 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.031) 0:01:59.030 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.065) 0:01:59.095 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.646) 0:01:59.742 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.059) 0:01:59.801 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.030) 0:01:59.832 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.030) 0:01:59.862 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.574) 0:02:00.437 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.031) 0:02:00.469 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.034) 0:02:00.504 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.035) 0:02:00.540 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.072) 0:02:00.612 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.363) 0:02:00.976 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.059) 0:02:01.035 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.069) 0:02:01.105 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.069) 0:02:01.174 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.089) 0:02:01.264 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.040) 0:02:01.305 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.058) 0:02:01.363 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:48 -0500 (0:00:01.702) 0:02:03.066 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:50 -0500 (0:00:01.597) 0:02:04.663 ***** ok: [managed-node2] => {} MSG: Using network provider: nm 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.040) 0:02:04.703 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.048) 0:02:04.752 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.038) 0:02:04.791 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.051) 0:02:04.842 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.063) 0:02:04.906 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.054) 0:02:04.960 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.080) 0:02:05.041 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.124) 0:02:05.166 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.038) 0:02:05.204 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.050) 0:02:05.254 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.096) 0:02:05.351 ***** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.583) 0:02:05.935 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.064) 0:02:05.999 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.043) 0:02:06.043 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.053) 0:02:06.097 ***** 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.647) 0:02:06.745 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.108) 0:02:06.853 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.060) 0:02:06.914 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.058) 0:02:06.972 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.052) 0:02:07.025 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.386) 0:02:07.411 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.070) 0:02:07.482 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.094) 0:02:07.576 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.057) 0:02:07.634 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.377) 0:02:08.012 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.035) 0:02:08.047 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018385", "end": "2024-11-23 07:56:54.233912", "rc": 1, "start": "2024-11-23 07:56:54.215527" } 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.370) 0:02:08.417 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.042) 0:02:08.459 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.034) 0:02:08.494 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.076) 0:02:08.571 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.033) 0:02:08.605 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.033) 0:02:08.638 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.038) 0:02:08.677 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.886262", "end": "2024-11-23 07:56:55.795820", "rc": 0, "start": "2024-11-23 07:56:54.909558" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 November 2024 07:56:55 -0500 (0:00:01.333) 0:02:10.011 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 November 2024 07:56:55 -0500 (0:00:00.061) 0:02:10.072 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.059) 0:02:10.132 ***** included: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.145) 0:02:10.278 ***** included: /tmp/collections-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.095) 0:02:10.374 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.459) 0:02:10.833 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.084) 0:02:10.918 ***** 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.064) 0:02:10.982 ***** included: /tmp/collections-Zqz/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-Zqz/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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.115) 0:02:11.098 ***** 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.036475", "end": "2024-11-23 07:56:57.334754", "rc": 1, "start": "2024-11-23 07:56:57.298279" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.470) 0:02:11.568 ***** 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.008992", "end": "2024-11-23 07:56:57.750871", "rc": 0, "start": "2024-11-23 07:56:57.741879" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:dd:b6:e8:6d brd ff:ff:ff:ff:ff:ff inet 10.31.15.221/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2677sec preferred_lft 2677sec inet6 fe80::8ff:ddff:feb6:e86d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.221 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.221 metric 100 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-Zqz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.441) 0:02:12.010 ***** 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.118713", "end": "2024-11-23 07:56:58.351938", "rc": 0, "start": "2024-11-23 07:56:58.233225" } STDOUT: CHECK DNS AND CONNECTIVITY 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 4236 0 --:--:-- --:--:-- --:--:-- 4236 % 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 13227 0 --:--:-- --:--:-- --:--:-- 13227 PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 23 November 2024 07:56:58 -0500 (0:00:00.507) 0:02:12.518 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-Zqz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26