[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.11] 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-MKK executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.008) 0:00:00.008 **** ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 21 September 2024 08:50:18 -0400 (0:00:01.214) 0:00:01.222 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.027) 0:00:01.250 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.532) 0:00:01.782 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.469) 0:00:02.252 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.024) 0:00:02.277 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.014) 0:00:02.292 **** included: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.048) 0:00:02.340 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.438) 0:00:02.778 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.018) 0:00:02.796 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.013) 0:00:02.810 **** ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.219157", "end": "2024-09-21 08:50:20.733208", "rc": 0, "start": "2024-09-21 08:50:20.514051" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.545) 0:00:03.355 **** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.013) 0:00:03.369 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 September 2024 08:50:20 -0400 (0:00:00.024) 0:00:03.394 **** ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.752) 0:00:04.146 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.033) 0:00:04.180 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.042) 0:00:04.222 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.036) 0:00:04.258 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.075) 0:00:04.334 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.040) 0:00:04.375 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:21 -0400 (0:00:00.039) 0:00:04.414 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2024-09-21 08:50:22.142188", "rc": 0, "start": "2024-09-21 08:50:22.139121" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.346) 0:00:04.760 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.035) 0:00:04.796 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.034) 0:00:04.831 **** included: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.046) 0:00:04.878 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007644", "end": "2024-09-21 08:50:22.629137", "rc": 1, "start": "2024-09-21 08:50:22.621493" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.376) 0:00:05.255 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.057) 0:00:05.312 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.390) 0:00:05.703 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.053) 0:00:05.757 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.067) 0:00:05.824 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.096) 0:00:05.921 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.058) 0:00:05.979 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.053) 0:00:06.033 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.057) 0:00:06.090 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.055) 0:00:06.146 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:25 -0400 (0:00:01.798) 0:00:07.944 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:27 -0400 (0:00:01.914) 0:00:09.859 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.059) 0:00:09.919 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.058) 0:00:09.978 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.051) 0:00:10.030 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.048) 0:00:10.079 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.062) 0:00:10.141 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.049) 0:00:10.191 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.057) 0:00:10.248 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.139) 0:00:10.387 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.049) 0:00:10.437 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.048) 0:00:10.486 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.061) 0:00:10.547 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.050) 0:00:10.598 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.048) 0:00:10.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.830) 0:00:11.477 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpe_52n8yx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.371) 0:00:11.848 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.618) 0:00:12.467 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.073) 0:00:12.540 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.079) 0:00:12.620 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.081) 0:00:12.702 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.120) 0:00:12.822 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.941) 0:00:13.763 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.147) 0:00:13.911 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.315) 0:00:14.226 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.128) 0:00:14.355 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.068) 0:00:14.423 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923029.8198845, "block_size": 4096, "blocks": 8, "ctime": 1726923029.8198845, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923029.8198845, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.398) 0:00:14.822 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.103) 0:00:14.926 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017015", "end": "2024-09-21 08:50:32.903319", "rc": 1, "start": "2024-09-21 08:50:32.886304" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.613) 0:00:15.540 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.051) 0:00:15.592 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002733", "end": "2024-09-21 08:50:33.312482", "rc": 0, "start": "2024-09-21 08:50:33.309749" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.461) 0:00:16.053 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.146) 0:00:16.199 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002765", "end": "2024-09-21 08:50:33.980991", "rc": 0, "start": "2024-09-21 08:50:33.978226" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.443) 0:00:16.643 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.087) 0:00:16.730 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.071) 0:00:16.802 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.074) 0:00:16.876 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.056) 0:00:16.932 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.052) 0:00:16.985 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.187) 0:00:17.172 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.121) 0:00:17.294 **** 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.033149", "end": "2024-09-21 08:50:35.057210", "rc": 1, "start": "2024-09-21 08:50:35.024061" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.426) 0:00:17.720 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.130) 0:00:17.851 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.074) 0:00:17.925 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.111) 0:00:18.037 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.080) 0:00:18.117 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.096) 0:00:18.213 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002946", "end": "2024-09-21 08:50:35.938986", "rc": 0, "start": "2024-09-21 08:50:35.936040" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.365) 0:00:18.578 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.070) 0:00:18.649 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.078) 0:00:18.728 **** included: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.174) 0:00:18.903 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005446", "end": "2024-09-21 08:50:36.723384", "rc": 1, "start": "2024-09-21 08:50:36.717938" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.455) 0:00:19.358 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.118) 0:00:19.476 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.408) 0:00:19.885 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.066) 0:00:19.951 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.077) 0:00:20.029 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.087) 0:00:20.116 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.130) 0:00:20.247 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.096) 0:00:20.343 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.077) 0:00:20.421 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.060) 0:00:20.481 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:39 -0400 (0:00:01.618) 0:00:22.100 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:41 -0400 (0:00:01.582) 0:00:23.682 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.062) 0:00:23.745 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.051) 0:00:23.796 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.049) 0:00:23.846 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.049) 0:00:23.895 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.062) 0:00:23.958 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.050) 0:00:24.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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.076) 0:00:24.085 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.139) 0:00:24.224 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.108) 0:00:24.333 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.112) 0:00:24.445 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.119) 0:00:24.565 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.083) 0:00:24.649 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.079) 0:00:24.728 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.744) 0:00:25.473 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp_lccp0yy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.377) 0:00:25.850 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.515) 0:00:26.366 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.067) 0:00:26.434 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.056) 0:00:26.490 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.068) 0:00:26.558 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.051) 0:00:26.609 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.442) 0:00:27.052 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.065) 0:00:27.117 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.083) 0:00:27.201 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.070) 0:00:27.272 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.403) 0:00:27.675 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.091) 0:00:27.767 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.174) 0:00:27.941 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.083) 0:00:28.024 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923043.7199676, "block_size": 4096, "blocks": 8, "ctime": 1726923043.7199676, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923043.7199676, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.374) 0:00:28.399 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.059) 0:00:28.459 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017128", "end": "2024-09-21 08:50:46.211317", "rc": 1, "start": "2024-09-21 08:50:46.194189" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.397) 0:00:28.857 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.061) 0:00:28.918 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002874", "end": "2024-09-21 08:50:46.655886", "rc": 0, "start": "2024-09-21 08:50:46.653012" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.372) 0:00:29.291 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.059) 0:00:29.350 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002855", "end": "2024-09-21 08:50:47.074201", "rc": 0, "start": "2024-09-21 08:50:47.071346" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.396) 0:00:29.747 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.098) 0:00:29.846 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.105) 0:00:29.951 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.095) 0:00:30.047 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.063) 0:00:30.110 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.058) 0:00:30.169 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.055) 0:00:30.225 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.109) 0:00:30.334 **** 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.032569", "end": "2024-09-21 08:50:48.090760", "rc": 1, "start": "2024-09-21 08:50:48.058191" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.393) 0:00:30.727 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.077) 0:00:30.805 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.053) 0:00:30.858 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.091) 0:00:30.949 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.073) 0:00:31.023 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.069) 0:00:31.093 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002983", "end": "2024-09-21 08:50:48.819266", "rc": 0, "start": "2024-09-21 08:50:48.816283" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.382) 0:00:31.476 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.082) 0:00:31.558 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.113) 0:00:31.672 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.175) 0:00:31.847 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.191) 0:00:32.038 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.132) 0:00:32.170 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.092) 0:00:32.262 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.081) 0:00:32.344 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.087) 0:00:32.431 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:51 -0400 (0:00:01.597) 0:00:34.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 : Print network provider] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:53 -0400 (0:00:01.556) 0:00:35.585 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.077) 0:00:35.662 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.059) 0:00:35.721 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.052) 0:00:35.774 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.062) 0:00:35.836 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.106) 0:00:35.943 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.085) 0:00:36.028 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.217) 0:00:36.246 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.134) 0:00:36.381 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.070) 0:00:36.451 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.057) 0:00:36.509 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:53 -0400 (0:00:00.060) 0:00:36.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:54 -0400 (0:00:00.054) 0:00:36.624 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:54 -0400 (0:00:00.080) 0:00:36.705 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:54 -0400 (0:00:00.643) 0:00:37.349 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmphuf79amp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.418) 0:00:37.768 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.522) 0:00:38.291 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.082) 0:00:38.374 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.080) 0:00:38.455 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.089) 0:00:38.544 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.080) 0:00:38.625 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.430) 0:00:39.055 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.146) 0:00:39.202 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.132) 0:00:39.335 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.160) 0:00:39.495 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.141) 0:00:39.636 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.111) 0:00:39.748 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.084) 0:00:39.832 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.101) 0:00:39.933 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:59 -0400 (0:00:01.661) 0:00:41.595 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:00 -0400 (0:00:01.550) 0:00:43.145 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.082) 0:00:43.228 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.062) 0:00:43.291 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.190) 0:00:43.481 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.077) 0:00:43.559 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.070) 0:00:43.629 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.052) 0:00:43.682 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.060) 0:00:43.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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.105) 0:00:43.848 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.082) 0:00:43.931 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.080) 0:00:44.012 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.127) 0:00:44.139 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.159) 0:00:44.299 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.073) 0:00:44.372 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:02 -0400 (0:00:00.563) 0:00:44.936 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpyo8plix7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:02 -0400 (0:00:00.394) 0:00:45.330 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:03 -0400 (0:00:00.762) 0:00:46.093 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:03 -0400 (0:00:00.076) 0:00:46.169 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:03 -0400 (0:00:00.062) 0:00:46.231 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:03 -0400 (0:00:00.147) 0:00:46.379 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:03 -0400 (0:00:00.073) 0:00:46.452 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.378) 0:00:46.831 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.083) 0:00:46.915 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.071) 0:00:46.986 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923063.3607194, "block_size": 4096, "blocks": 0, "ctime": 1726923063.3607194, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37352, "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": 1726923063.3607194, "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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.385) 0:00:47.372 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.092) 0:00:47.464 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.122) 0:00:47.587 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.069) 0:00:47.656 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923063.2060835, "block_size": 4096, "blocks": 8, "ctime": 1726923055.6210384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923055.6210384, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.395) 0:00:48.051 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.089) 0:00:48.141 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017639", "end": "2024-09-21 08:51:05.906646", "rc": 1, "start": "2024-09-21 08:51:05.889007" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.403) 0:00:48.544 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:51:06 -0400 (0:00:00.089) 0:00:48.634 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002870", "end": "2024-09-21 08:51:06.363679", "rc": 0, "start": "2024-09-21 08:51:06.360809" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:51:06 -0400 (0:00:00.386) 0:00:49.020 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:51:06 -0400 (0:00:00.095) 0:00:49.116 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002915", "end": "2024-09-21 08:51:06.882156", "rc": 0, "start": "2024-09-21 08:51:06.879241" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.471) 0:00:49.587 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.172) 0:00:49.759 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.145) 0:00:49.905 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.112) 0:00:50.017 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.158) 0:00:50.175 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.166) 0:00:50.342 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.173) 0:00:50.515 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.145) 0:00:50.661 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043004", "end": "2024-09-21 08:51:08.494426", "rc": 0, "start": "2024-09-21 08:51:08.451422" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.507) 0:00:51.168 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.144) 0:00:51.312 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.098) 0:00:51.411 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.121) 0:00:51.533 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.174) 0:00:51.707 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.161) 0:00:51.869 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2024-09-21 08:51:09.615207", "rc": 0, "start": "2024-09-21 08:51:09.611932" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.429) 0:00:52.299 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.088) 0:00:52.387 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.185) 0:00:52.572 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.123) 0:00:52.696 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.172) 0:00:52.868 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.095) 0:00:52.964 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.059) 0:00:53.023 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.054) 0:00:53.077 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.062) 0:00:53.139 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:12 -0400 (0:00:01.920) 0:00:55.060 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:13 -0400 (0:00:01.490) 0:00:56.551 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.097) 0:00:56.648 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.106) 0:00:56.754 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.073) 0:00:56.827 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.086) 0:00:56.914 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.078) 0:00:56.993 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.050) 0:00:57.043 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.062) 0:00:57.106 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.128) 0:00:57.234 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.066) 0:00:57.301 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.061) 0:00:57.363 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.067) 0:00:57.430 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.050) 0:00:57.481 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.158) 0:00:57.639 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.628) 0:00:58.267 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmphay_t37i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.435) 0:00:58.702 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.543) 0:00:59.246 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.052) 0:00:59.298 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.055) 0:00:59.354 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.059) 0:00:59.413 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:16 -0400 (0:00:00.052) 0:00:59.465 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.405) 0:00:59.871 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.098) 0:00:59.970 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.174) 0:01:00.144 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.114) 0:01:00.258 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.062) 0:01:00.320 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.134) 0:01:00.455 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.055) 0:01:00.510 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:19 -0400 (0:00:01.718) 0:01:02.228 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:21 -0400 (0:00:01.519) 0:01:03.748 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.068) 0:01:03.816 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.088) 0:01:03.905 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.064) 0:01:03.969 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.069) 0:01:04.038 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.076) 0:01:04.115 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.084) 0:01:04.199 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.094) 0:01:04.293 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.150) 0:01:04.444 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.076) 0:01:04.520 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.060) 0:01:04.580 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.155) 0:01:04.736 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.052) 0:01:04.789 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.066) 0:01:04.856 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.657) 0:01:05.513 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp5576_ky5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.529) 0:01:06.043 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.914) 0:01:06.957 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.082) 0:01:07.039 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.094) 0:01:07.134 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.089) 0:01:07.223 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.089) 0:01:07.313 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.454) 0:01:07.767 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.165) 0:01:07.932 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.177) 0:01:08.110 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.283) 0:01:08.393 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.099) 0:01:08.492 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:26 -0400 (0:00:00.129) 0:01:08.622 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:26 -0400 (0:00:00.108) 0:01:08.730 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:27 -0400 (0:00:01.615) 0:01:10.345 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:29 -0400 (0:00:01.491) 0:01:11.837 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.083) 0:01:11.921 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.080) 0:01:12.002 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.086) 0:01:12.089 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.080) 0:01:12.169 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.092) 0:01:12.262 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.084) 0:01:12.346 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.194) 0:01:12.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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.250) 0:01:12.791 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.085) 0:01:12.877 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.086) 0:01:12.964 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.100) 0:01:13.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.084) 0:01:13.148 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.105) 0:01:13.254 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.653) 0:01:13.907 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp0oung0ym" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.422) 0:01:14.329 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.604) 0:01:14.934 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.049) 0:01:14.984 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.058) 0:01:15.042 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.079) 0:01:15.122 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.083) 0:01:15.205 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.575) 0:01:15.781 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.214) 0:01:15.995 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.115) 0:01:16.110 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923084.2211366, "block_size": 4096, "blocks": 0, "ctime": 1726923084.2211366, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37483, "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": 1726923084.2211366, "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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.385) 0:01:16.496 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.091) 0:01:16.587 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.107) 0:01:16.695 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.057) 0:01:16.752 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.388) 0:01:17.141 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.087) 0:01:17.228 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017300", "end": "2024-09-21 08:51:34.985775", "rc": 1, "start": "2024-09-21 08:51:34.968475" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.421) 0:01:17.649 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.082) 0:01:17.732 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.067) 0:01:17.800 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.063) 0:01:17.863 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.058) 0:01:17.922 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.058) 0:01:17.980 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.104) 0:01:18.084 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.069) 0:01:18.153 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.067) 0:01:18.221 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.094) 0:01:18.315 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044386", "end": "2024-09-21 08:51:36.083120", "rc": 0, "start": "2024-09-21 08:51:36.038734" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.444) 0:01:18.760 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.162) 0:01:18.922 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.105) 0:01:19.028 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.159) 0:01:19.187 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.194) 0:01:19.381 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.179) 0:01:19.561 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002976", "end": "2024-09-21 08:51:37.555635", "rc": 0, "start": "2024-09-21 08:51:37.552659" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.655) 0:01:20.216 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.088) 0:01:20.304 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.113) 0:01:20.418 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.219) 0:01:20.637 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.102) 0:01:20.740 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.085) 0:01:20.825 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.084) 0:01:20.910 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.089) 0:01:21.000 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.088) 0:01:21.088 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:40 -0400 (0:00:01.639) 0:01:22.727 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:41 -0400 (0:00:01.578) 0:01:24.306 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.083) 0:01:24.390 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.083) 0:01:24.473 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.190) 0:01:24.664 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.098) 0:01:24.763 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.173) 0:01:24.936 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.099) 0:01:25.036 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.107) 0:01:25.143 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.127) 0:01:25.271 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.068) 0:01:25.340 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.054) 0:01:25.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 : Enable and start NetworkManager] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.086) 0:01:25.481 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.100) 0:01:25.581 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.133) 0:01:25.714 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.626) 0:01:26.340 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpvohu9bth" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.403) 0:01:26.743 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.516) 0:01:27.260 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.050) 0:01:27.311 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.066) 0:01:27.377 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.096) 0:01:27.473 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.050) 0:01:27.524 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.385) 0:01:27.910 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.056) 0:01:27.967 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.092) 0:01:28.060 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.087) 0:01:28.147 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.063) 0:01:28.210 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.056) 0:01:28.267 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.053) 0:01:28.321 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:47 -0400 (0:00:01.569) 0:01:29.890 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:48 -0400 (0:00:01.504) 0:01:31.395 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.155) 0:01:31.550 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.069) 0:01:31.620 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.083) 0:01:31.703 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.082) 0:01:31.786 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.103) 0:01:31.889 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.082) 0:01:31.971 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.102) 0:01:32.074 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.137) 0:01:32.212 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.056) 0:01:32.268 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.067) 0:01:32.335 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.065) 0:01:32.401 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.050) 0:01:32.451 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.054) 0:01:32.506 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:50 -0400 (0:00:00.550) 0:01:33.057 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpx0c6t8t2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:50 -0400 (0:00:00.364) 0:01:33.421 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.734) 0:01:34.155 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.095) 0:01:34.251 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.054) 0:01:34.306 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.058) 0:01:34.364 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.050) 0:01:34.414 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.370) 0:01:34.784 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.088) 0:01:34.873 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.081) 0:01:34.954 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.062) 0:01:35.016 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.072) 0:01:35.089 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.089) 0:01:35.178 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:54 -0400 (0:00:01.681) 0:01:36.860 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:56 -0400 (0:00:01.734) 0:01:38.595 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.058) 0:01:38.654 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.064) 0:01:38.718 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.051) 0:01:38.769 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.055) 0:01:38.824 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.062) 0:01:38.887 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.051) 0:01:38.938 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.079) 0:01:39.017 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.139) 0:01:39.157 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.081) 0:01:39.239 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.083) 0:01:39.322 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.094) 0:01:39.417 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.056) 0:01:39.474 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.093) 0:01:39.567 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.610) 0:01:40.177 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpzl0efm4z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.418) 0:01:40.596 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.704) 0:01:41.301 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.131) 0:01:41.433 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.097) 0:01:41.530 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:59 -0400 (0:00:00.121) 0:01:41.652 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:59 -0400 (0:00:00.118) 0:01:41.771 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:51:59 -0400 (0:00:00.695) 0:01:42.466 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:51:59 -0400 (0:00:00.086) 0:01:42.553 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.089) 0:01:42.642 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.105) 0:01:42.748 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.103) 0:01:42.851 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.103) 0:01:42.955 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.113) 0:01:43.068 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:02 -0400 (0:00:01.942) 0:01:45.011 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:03 -0400 (0:00:01.546) 0:01:46.557 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.056) 0:01:46.614 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.062) 0:01:46.677 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.086) 0:01:46.764 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.106) 0:01:46.870 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.120) 0:01:46.990 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.087) 0:01:47.078 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.133) 0:01:47.212 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.131) 0:01:47.344 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.057) 0:01:47.401 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.064) 0:01:47.466 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.068) 0:01:47.534 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.068) 0:01:47.603 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.257) 0:01:47.861 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.664) 0:01:48.525 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpfom92dv7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.390) 0:01:48.916 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.472) 0:01:49.388 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.052) 0:01:49.440 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.054) 0:01:49.495 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.058) 0:01:49.553 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.052) 0:01:49.606 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.384) 0:01:49.991 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.103) 0:01:50.094 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.096) 0:01:50.190 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.056) 0:01:50.246 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.367) 0:01:50.614 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.094) 0:01:50.709 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017218", "end": "2024-09-21 08:52:08.452074", "rc": 1, "start": "2024-09-21 08:52:08.434856" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.377) 0:01:51.086 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.058) 0:01:51.144 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.064) 0:01:51.209 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.080) 0:01:51.290 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.105) 0:01:51.395 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.117) 0:01:51.513 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.153) 0:01:51.666 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.121) 0:01:51.788 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.092) 0:01:51.880 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.158) 0:01:52.039 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041865", "end": "2024-09-21 08:52:09.852141", "rc": 0, "start": "2024-09-21 08:52:09.810276" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.471) 0:01:52.510 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.091) 0:01:52.602 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.070) 0:01:52.673 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.093) 0:01:52.766 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.166) 0:01:52.933 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.093) 0:01:53.027 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003083", "end": "2024-09-21 08:52:10.824089", "rc": 0, "start": "2024-09-21 08:52:10.821006" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.434) 0:01:53.462 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.054) 0:01:53.517 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.057) 0:01:53.574 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.087) 0:01:53.662 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.102) 0:01:53.764 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.139) 0:01:53.903 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.095) 0:01:53.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 : Set flag to indicate system is ostree] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.088) 0:01:54.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 : Check which services are running] **** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.061) 0:01:54.149 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:13 -0400 (0:00:01.669) 0:01:55.818 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:14 -0400 (0:00:01.483) 0:01:57.301 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.085) 0:01:57.386 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.070) 0:01:57.457 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.059) 0:01:57.517 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.102) 0:01:57.619 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.098) 0:01:57.717 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.085) 0:01:57.802 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.119) 0:01:57.922 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.228) 0:01:58.151 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.112) 0:01:58.264 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.117) 0:01:58.381 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.121) 0:01:58.502 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.190) 0:01:58.692 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.087) 0:01:58.780 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.653) 0:01:59.434 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmpjq_4xjpu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.735) 0:02:00.169 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.512) 0:02:00.682 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.061) 0:02:00.743 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.063) 0:02:00.807 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.084) 0:02:00.891 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.086) 0:02:00.977 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.415) 0:02:01.393 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.059) 0:02:01.452 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.088) 0:02:01.540 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.081) 0:02:01.622 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.130) 0:02:01.753 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.074) 0:02:01.827 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.070) 0:02:01.898 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:20 -0400 (0:00:01.571) 0:02:03.469 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:22 -0400 (0:00:01.446) 0:02:04.916 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.055) 0:02:04.971 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.051) 0:02:05.023 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.051) 0:02:05.075 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.056) 0:02:05.131 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.085) 0:02:05.216 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.084) 0:02:05.301 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.102) 0:02:05.403 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.138) 0:02:05.541 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.071) 0:02:05.613 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.113) 0:02:05.727 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.063) 0:02:05.791 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.056) 0:02:05.847 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.060) 0:02:05.908 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.575) 0:02:06.483 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp6fben60f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.428) 0:02:06.911 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.737) 0:02:07.649 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.052) 0:02:07.701 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.054) 0:02:07.756 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.058) 0:02:07.814 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.051) 0:02:07.866 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.369) 0:02:08.235 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.089) 0:02:08.324 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.127) 0:02:08.452 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.074) 0:02:08.526 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.076) 0:02:08.603 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.064) 0:02:08.667 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:27 -0400 (0:00:01.607) 0:02:10.275 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:29 -0400 (0:00:01.464) 0:02:11.740 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.054) 0:02:11.794 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.056) 0:02:11.851 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.084) 0:02:11.936 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.079) 0:02:12.015 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.097) 0:02:12.113 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.073) 0:02:12.187 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.073) 0:02:12.260 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.086) 0:02:12.347 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:29 -0400 (0:00:00.175) 0:02:12.523 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:30 -0400 (0:00:00.082) 0:02:12.605 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:30 -0400 (0:00:00.094) 0:02:12.700 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:30 -0400 (0:00:00.087) 0:02:12.787 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:30 -0400 (0:00:00.070) 0:02:12.858 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:30 -0400 (0:00:00.623) 0:02:13.481 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp3inp0poa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.411) 0:02:13.892 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.614) 0:02:14.507 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.080) 0:02:14.587 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.141) 0:02:14.729 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.130) 0:02:14.859 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.092) 0:02:14.952 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.447) 0:02:15.399 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.133) 0:02:15.533 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.201) 0:02:15.735 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.105) 0:02:15.841 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.077) 0:02:15.918 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.086) 0:02:16.004 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.090) 0:02:16.094 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:35 -0400 (0:00:01.701) 0:02:17.795 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:36 -0400 (0:00:01.479) 0:02:19.275 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.057) 0:02:19.333 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.052) 0:02:19.385 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.051) 0:02:19.437 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.084) 0:02:19.522 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.081) 0:02:19.603 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.240) 0:02:19.843 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.102) 0:02:19.946 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.137) 0:02:20.083 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.085) 0:02:20.168 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.086) 0:02:20.255 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.149) 0:02:20.405 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:37 -0400 (0:00:00.101) 0:02:20.506 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:38 -0400 (0:00:00.107) 0:02:20.613 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:38 -0400 (0:00:00.628) 0:02:21.242 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37240f4oignpp/tmp4odhtirc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.408) 0:02:21.650 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.574) 0:02:22.225 **** 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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.126) 0:02:22.352 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.106) 0:02:22.458 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.073) 0:02:22.531 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.066) 0:02:22.598 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.729) 0:02:23.328 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.167) 0:02:23.495 **** included: /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.186) 0:02:23.682 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.093) 0:02:23.776 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.397) 0:02:24.173 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.052) 0:02:24.225 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018092", "end": "2024-09-21 08:52:41.968439", "rc": 1, "start": "2024-09-21 08:52:41.950347" } 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.383) 0:02:24.608 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.086) 0:02:24.695 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.089) 0:02:24.784 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.061) 0:02:24.845 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.069) 0:02:24.915 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.053) 0:02:24.969 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.054) 0:02:25.023 **** ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.855149", "end": "2024-09-21 08:52:43.604633", "rc": 0, "start": "2024-09-21 08:52:42.749484" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 September 2024 08:52:43 -0400 (0:00:01.228) 0:02:26.251 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.064) 0:02:26.316 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.149) 0:02:26.465 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.056) 0:02:26.522 **** 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:52:44 -0400 (0:00:00.053) 0:02:26.576 **** included: /tmp/collections-MKK/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-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:52:44 -0400 (0:00:00.123) 0:02:26.699 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045997", "end": "2024-09-21 08:52:44.710981", "rc": 0, "start": "2024-09-21 08:52:44.664984" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 September 2024 08:52:44 -0400 (0:00:00.668) 0:02:27.368 **** 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.007952", "end": "2024-09-21 08:52:45.144716", "rc": 0, "start": "2024-09-21 08:52:45.136764" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:75:e4:ee:b5:11 brd ff:ff:ff:ff:ff:ff inet 10.31.42.167/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2712sec preferred_lft 2712sec inet6 fe80::c75:e4ff:feee:b511/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.167 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.167 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-MKK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 September 2024 08:52:45 -0400 (0:00:00.415) 0:02:27.783 **** 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.196669", "end": "2024-09-21 08:52:45.718853", "rc": 0, "start": "2024-09-21 08:52:45.522184" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 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 6767 0 --:--:-- --:--:-- --:--:-- 6767 PLAY RECAP ********************************************************************* managed_node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 21 September 2024 08:52:45 -0400 (0:00:00.643) 0:02:28.427 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-MKK/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-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-MKK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26