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-AIX 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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.007) 0:00:00.007 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 05 October 2024 08:58:59 -0400 (0:00:01.162) 0:00:01.169 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 05 October 2024 08:58:59 -0400 (0:00:00.053) 0:00:01.223 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.635) 0:00:01.858 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.497) 0:00:02.356 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.024) 0:00:02.380 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.014) 0:00:02.394 ****** included: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.041) 0:00:02.435 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.441) 0:00:02.876 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.013) 0:00:02.890 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.013) 0:00:02.903 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.236420", "end": "2024-10-05 08:59:01.757960", "rc": 0, "start": "2024-10-05 08:59:01.521540" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.571) 0:00:03.475 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.013) 0:00:03.488 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.026) 0:00:03.515 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.783) 0:00:04.298 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.035) 0:00:04.334 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.043) 0:00:04.377 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.036) 0:00:04.414 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.075) 0:00:04.489 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.040) 0:00:04.530 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.048) 0:00:04.579 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004189", "end": "2024-10-05 08:59:04.221884", "rc": 0, "start": "2024-10-05 08:59:03.217695" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:04 -0400 (0:00:01.373) 0:00:05.953 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.055) 0:00:06.008 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.047) 0:00:06.055 ****** included: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.070) 0:00:06.126 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007507", "end": "2024-10-05 08:59:04.827318", "rc": 1, "start": "2024-10-05 08:59:04.819811" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.418) 0:00:06.544 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.054) 0:00:06.599 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.399) 0:00:06.998 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.052) 0:00:07.050 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.070) 0:00:07.120 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.108) 0:00:07.228 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.069) 0:00:07.297 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.051) 0:00:07.349 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.107) 0:00:07.457 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.100) 0:00:07.557 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:07 -0400 (0:00:01.828) 0:00:09.386 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:09 -0400 (0:00:01.837) 0:00:11.223 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.051) 0:00:11.275 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.051) 0:00:11.326 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.049) 0:00:11.375 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.048) 0:00:11.423 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.060) 0:00:11.484 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.055) 0:00:11.540 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.114) 0:00:11.655 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.270) 0:00:11.926 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.083) 0:00:12.009 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.079) 0:00:12.089 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.098) 0:00:12.187 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.079) 0:00:12.266 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.078) 0:00:12.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.934) 0:00:13.280 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp231tq840" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.473) 0:00:13.753 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:13 -0400 (0:00:01.044) 0:00:14.797 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.053) 0:00:14.850 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.062) 0:00:14.912 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.086) 0:00:14.999 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.097) 0:00:15.097 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.722) 0:00:15.819 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.088) 0:00:15.908 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.150) 0:00:16.059 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.148) 0:00:16.207 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.076) 0:00:16.284 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133153.0635781, "block_size": 4096, "blocks": 8, "ctime": 1728133153.0635781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133153.0635781, "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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.435) 0:00:16.719 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.070) 0:00:16.790 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018069", "end": "2024-10-05 08:59:15.464139", "rc": 1, "start": "2024-10-05 08:59:15.446070" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.417) 0:00:17.208 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.092) 0:00:17.300 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003066", "end": "2024-10-05 08:59:15.957947", "rc": 0, "start": "2024-10-05 08:59:15.954881" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.434) 0:00:17.735 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.090) 0:00:17.825 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003506", "end": "2024-10-05 08:59:16.495541", "rc": 0, "start": "2024-10-05 08:59:16.492035" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.406) 0:00:18.232 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.076) 0:00:18.308 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.060) 0:00:18.368 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.054) 0:00:18.423 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.052) 0:00:18.475 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.056) 0:00:18.532 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.282) 0:00:18.815 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.221) 0:00:19.036 ****** 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.036611", "end": "2024-10-05 08:59:17.881538", "rc": 1, "start": "2024-10-05 08:59:17.844927" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.597) 0:00:19.634 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.117) 0:00:19.751 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.059) 0:00:19.811 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.111) 0:00:19.923 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.069) 0:00:19.992 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.068) 0:00:20.061 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003086", "end": "2024-10-05 08:59:18.703736", "rc": 0, "start": "2024-10-05 08:59:18.700650" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.374) 0:00:20.435 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.053) 0:00:20.488 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.060) 0:00:20.548 ****** included: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.177) 0:00:20.726 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005569", "end": "2024-10-05 08:59:19.467404", "rc": 1, "start": "2024-10-05 08:59:19.461835" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.472) 0:00:21.199 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.071) 0:00:21.271 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.374) 0:00:21.645 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.055) 0:00:21.701 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.075) 0:00:21.776 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.089) 0:00:21.865 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.080) 0:00:21.946 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.058) 0:00:22.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 : Set flag to indicate system is ostree] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.053) 0:00:22.057 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:20 -0400 (0:00:00.052) 0:00:22.110 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:22 -0400 (0:00:01.732) 0:00:23.843 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:23 -0400 (0:00:01.563) 0:00:25.406 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.053) 0:00:25.460 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.064) 0:00:25.525 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.055) 0:00:25.580 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.081) 0:00:25.662 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.099) 0:00:25.761 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.082) 0:00:25.844 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.096) 0:00:25.940 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.155) 0:00:26.096 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.099) 0:00:26.196 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.065) 0:00:26.261 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.074) 0:00:26.336 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.053) 0:00:26.390 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.049) 0:00:26.440 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.781) 0:00:27.221 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpzkq_93dz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.437) 0:00:27.659 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.554) 0:00:28.214 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.083) 0:00:28.297 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.079) 0:00:28.376 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.066) 0:00:28.443 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.059) 0:00:28.502 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.411) 0:00:28.914 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.068) 0:00:28.982 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.087) 0:00:29.070 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.070) 0:00:29.141 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.374) 0:00:29.515 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.085) 0:00:29.601 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.174) 0:00:29.776 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.083) 0:00:29.859 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133166.461603, "block_size": 4096, "blocks": 8, "ctime": 1728133166.461603, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250801, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133166.461603, "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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.416) 0:00:30.275 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.053) 0:00:30.329 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018486", "end": "2024-10-05 08:59:28.989109", "rc": 1, "start": "2024-10-05 08:59:28.970623" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.393) 0:00:30.722 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.053) 0:00:30.776 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002999", "end": "2024-10-05 08:59:29.435810", "rc": 0, "start": "2024-10-05 08:59:29.432811" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.412) 0:00:31.188 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.092) 0:00:31.280 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003635", "end": "2024-10-05 08:59:29.963045", "rc": 0, "start": "2024-10-05 08:59:29.959410" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.453) 0:00:31.734 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.104) 0:00:31.839 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.074) 0:00:31.913 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.086) 0:00:31.999 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.061) 0:00:32.061 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.051) 0:00:32.112 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.052) 0:00:32.164 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.111) 0:00:32.276 ****** 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.034306", "end": "2024-10-05 08:59:30.962377", "rc": 1, "start": "2024-10-05 08:59:30.928071" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.436) 0:00:32.712 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.088) 0:00:32.800 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.053) 0:00:32.854 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.089) 0:00:32.944 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.073) 0:00:33.017 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.083) 0:00:33.101 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-10-05 08:59:31.786219", "rc": 0, "start": "2024-10-05 08:59:31.782813" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.441) 0:00:33.542 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.081) 0:00:33.624 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.088) 0:00:33.713 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.228) 0:00:33.941 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.231) 0:00:34.173 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.142) 0:00:34.315 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.096) 0:00:34.412 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.093) 0:00:34.505 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.083) 0:00:34.589 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:34 -0400 (0:00:01.749) 0:00:36.338 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:36 -0400 (0:00:01.708) 0:00:38.047 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.080) 0:00:38.127 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.060) 0:00:38.188 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.064) 0:00:38.253 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.085) 0:00:38.338 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.095) 0:00:38.434 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.083) 0:00:38.517 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.230) 0:00:38.748 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.142) 0:00:38.891 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.134) 0:00:39.026 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.098) 0:00:39.124 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.127) 0:00:39.252 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.156) 0:00:39.409 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.143) 0:00:39.553 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.886) 0:00:40.439 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpa351gte4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.434) 0:00:40.874 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.558) 0:00:41.433 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.133) 0:00:41.566 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.096) 0:00:41.662 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:40 -0400 (0:00:00.091) 0:00:41.754 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:40 -0400 (0:00:00.081) 0:00:41.836 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:40 -0400 (0:00:00.533) 0:00:42.369 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:40 -0400 (0:00:00.268) 0:00:42.638 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.248) 0:00:42.887 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.201) 0:00:43.088 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.147) 0:00:43.236 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.110) 0:00:43.346 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.134) 0:00:43.480 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:41 -0400 (0:00:00.110) 0:00:43.591 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:43 -0400 (0:00:01.869) 0:00:45.460 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:45 -0400 (0:00:01.552) 0:00:47.013 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.052) 0:00:47.066 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.050) 0:00:47.116 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.147) 0:00:47.263 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.073) 0:00:47.337 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.093) 0:00:47.431 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.083) 0:00:47.515 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.077) 0:00:47.593 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.128) 0:00:47.721 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.070) 0:00:47.792 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.057) 0:00:47.850 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.061) 0:00:47.912 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.054) 0:00:47.966 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.050) 0:00:48.016 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.578) 0:00:48.595 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpzs8u4h1m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:47 -0400 (0:00:00.422) 0:00:49.017 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.730) 0:00:49.748 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.062) 0:00:49.811 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.059) 0:00:49.870 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.095) 0:00:49.965 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.062) 0:00:50.027 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.457) 0:00:50.484 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.138) 0:00:50.623 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.116) 0:00:50.739 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133187.914213, "block_size": 4096, "blocks": 0, "ctime": 1728133187.914213, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34888, "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": 1728133187.914213, "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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.476) 0:00:51.216 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.097) 0:00:51.313 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.149) 0:00:51.462 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.090) 0:00:51.553 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133187.7586424, "block_size": 4096, "blocks": 8, "ctime": 1728133179.6796274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133179.6796274, "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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.479) 0:00:52.032 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.122) 0:00:52.155 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019151", "end": "2024-10-05 08:59:50.986883", "rc": 1, "start": "2024-10-05 08:59:50.967732" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.590) 0:00:52.745 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.053) 0:00:52.799 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002953", "end": "2024-10-05 08:59:51.483591", "rc": 0, "start": "2024-10-05 08:59:51.480638" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.507) 0:00:53.306 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.076) 0:00:53.383 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003016", "end": "2024-10-05 08:59:52.079969", "rc": 0, "start": "2024-10-05 08:59:52.076953" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.484) 0:00:53.868 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.111) 0:00:53.980 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.093) 0:00:54.073 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.095) 0:00:54.169 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.102) 0:00:54.271 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.071) 0:00:54.343 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.061) 0:00:54.404 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.102) 0:00:54.507 ****** 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.042292", "end": "2024-10-05 08:59:53.193389", "rc": 0, "start": "2024-10-05 08:59:53.151097" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.441) 0:00:54.948 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.091) 0:00:55.040 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.118) 0:00:55.159 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.177) 0:00:55.336 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.194) 0:00:55.531 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.130) 0:00:55.661 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003141", "end": "2024-10-05 08:59:54.488992", "rc": 0, "start": "2024-10-05 08:59:54.485851" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:54 -0400 (0:00:00.559) 0:00:56.220 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:54 -0400 (0:00:00.067) 0:00:56.288 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:54 -0400 (0:00:00.176) 0:00:56.464 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.224) 0:00:56.689 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.148) 0:00:56.838 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.156) 0:00:56.995 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.086) 0:00:57.081 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.061) 0:00:57.143 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:55 -0400 (0:00:00.067) 0:00:57.210 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:57 -0400 (0:00:01.885) 0:00:59.096 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:59 -0400 (0:00:01.606) 0:01:00.702 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.095) 0:01:00.798 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.142) 0:01:00.940 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.109) 0:01:01.049 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.089) 0:01:01.139 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.115) 0:01:01.254 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.082) 0:01:01.337 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.102) 0:01:01.439 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.142) 0:01:01.582 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.059) 0:01:01.641 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.074) 0:01:01.716 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.075) 0:01:01.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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.051) 0:01:01.843 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.142) 0:01:01.986 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.598) 0:01:02.585 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpl7_fn08f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:01 -0400 (0:00:00.510) 0:01:03.096 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:02 -0400 (0:00:00.754) 0:01:03.850 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:02 -0400 (0:00:00.067) 0:01:03.918 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:02 -0400 (0:00:00.089) 0:01:04.007 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:02 -0400 (0:00:00.097) 0:01:04.105 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:02 -0400 (0:00:00.104) 0:01:04.209 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.462) 0:01:04.672 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.089) 0:01:04.762 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.209) 0:01:04.971 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.230) 0:01:05.202 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.150) 0:01:05.352 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.176) 0:01:05.529 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.057) 0:01:05.587 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:05 -0400 (0:00:01.774) 0:01:07.361 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:07 -0400 (0:00:01.636) 0:01:08.997 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.137) 0:01:09.135 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.141) 0:01:09.276 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.111) 0:01:09.388 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.091) 0:01:09.480 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.145) 0:01:09.625 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.110) 0:01:09.736 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.107) 0:01:09.843 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.144) 0:01:09.987 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.088) 0:01:10.076 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.073) 0:01:10.150 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.155) 0:01:10.306 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.053) 0:01:10.359 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:08 -0400 (0:00:00.051) 0:01:10.410 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:09 -0400 (0:00:00.583) 0:01:10.994 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpmn5fo3s4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:09 -0400 (0:00:00.400) 0:01:11.394 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.776) 0:01:12.170 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.056) 0:01:12.227 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.056) 0:01:12.283 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.058) 0:01:12.341 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.080) 0:01:12.422 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.428) 0:01:12.850 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.116) 0:01:12.966 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.144) 0:01:13.111 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.265) 0:01:13.377 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.090) 0:01:13.467 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.087) 0:01:13.554 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.083) 0:01:13.638 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:13 -0400 (0:00:01.773) 0:01:15.412 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:15 -0400 (0:00:01.501) 0:01:16.914 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.071) 0:01:16.985 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.056) 0:01:17.042 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.051) 0:01:17.093 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.050) 0:01:17.144 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.060) 0:01:17.204 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.052) 0:01:17.256 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.060) 0:01:17.317 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.313) 0:01:17.631 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.089) 0:01:17.720 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.089) 0:01:17.810 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.085) 0:01:17.895 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.065) 0:01:17.960 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.056) 0:01:18.017 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.569) 0:01:18.587 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpxy1qp2no" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.411) 0:01:18.999 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.667) 0:01:19.666 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.110) 0:01:19.777 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.121) 0:01:19.899 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.095) 0:01:19.995 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.083) 0:01:20.079 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.470) 0:01:20.549 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.176) 0:01:20.726 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.115) 0:01:20.841 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133210.3457081, "block_size": 4096, "blocks": 0, "ctime": 1728133210.3457081, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35019, "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": 1728133210.3457081, "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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.429) 0:01:21.271 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.070) 0:01:21.342 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.089) 0:01:21.432 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.083) 0:01:21.515 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.444) 0:01:21.960 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.054) 0:01:22.015 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018690", "end": "2024-10-05 09:00:20.687339", "rc": 1, "start": "2024-10-05 09:00:20.668649" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.424) 0:01:22.440 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.092) 0:01:22.533 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.127) 0:01:22.660 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.084) 0:01:22.745 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.080) 0:01:22.826 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.085) 0:01:22.912 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.076) 0:01:22.988 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.143) 0:01:23.132 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.054) 0:01:23.186 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.111) 0:01:23.297 ****** 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.044462", "end": "2024-10-05 09:00:22.008403", "rc": 0, "start": "2024-10-05 09:00:21.963941" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.478) 0:01:23.776 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.170) 0:01:23.947 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.103) 0:01:24.051 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.140) 0:01:24.191 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.180) 0:01:24.371 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.116) 0:01:24.488 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2024-10-05 09:00:23.361421", "rc": 0, "start": "2024-10-05 09:00:23.358309" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.605) 0:01:25.093 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.053) 0:01:25.147 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.052) 0:01:25.199 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.175) 0:01:25.374 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.145) 0:01:25.520 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.192) 0:01:25.713 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.129) 0:01:25.843 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.076) 0:01:25.919 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.077) 0:01:25.997 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:26 -0400 (0:00:01.728) 0:01:27.725 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:27 -0400 (0:00:01.521) 0:01:29.247 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.066) 0:01:29.313 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.058) 0:01:29.372 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.091) 0:01:29.463 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.051) 0:01:29.514 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.089) 0:01:29.604 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.096) 0:01:29.701 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.129) 0:01:29.830 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.195) 0:01:30.025 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.082) 0:01:30.108 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.086) 0:01:30.194 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.108) 0:01:30.302 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.086) 0:01:30.389 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.077) 0:01:30.466 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.748) 0:01:31.214 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpl9ft_6fu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.530) 0:01:31.745 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.515) 0:01:32.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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.088) 0:01:32.349 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.085) 0:01:32.434 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.060) 0:01:32.495 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.146) 0:01:32.642 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.429) 0:01:33.072 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.094) 0:01:33.166 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.121) 0:01:33.288 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.129) 0:01:33.418 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.071) 0:01:33.489 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.087) 0:01:33.577 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:31 -0400 (0:00:00.090) 0:01:33.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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:33 -0400 (0:00:01.765) 0:01:35.433 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:35 -0400 (0:00:01.613) 0:01:37.046 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.113) 0:01:37.160 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.051) 0:01:37.211 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.055) 0:01:37.266 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.051) 0:01:37.318 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.061) 0:01:37.379 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.054) 0:01:37.434 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.089) 0:01:37.523 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:35 -0400 (0:00:00.134) 0:01:37.658 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.090) 0:01:37.749 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.079) 0:01:37.828 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.069) 0:01:37.898 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.064) 0:01:37.963 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.052) 0:01:38.015 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.557) 0:01:38.573 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp6rbi9beq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.406) 0:01:38.979 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.836) 0:01:39.815 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.051) 0:01:39.866 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.138) 0:01:40.005 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.056) 0:01:40.061 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.051) 0:01:40.112 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.389) 0:01:40.501 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.088) 0:01:40.590 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.085) 0:01:40.675 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.073) 0:01:40.749 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.075) 0:01:40.824 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.063) 0:01:40.888 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:41 -0400 (0:00:01.786) 0:01:42.674 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:42 -0400 (0:00:01.716) 0:01:44.391 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.093) 0:01:44.484 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.107) 0:01:44.592 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.093) 0:01:44.685 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.088) 0:01:44.774 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.113) 0:01:44.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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.071) 0:01:44.958 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.064) 0:01:45.023 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.085) 0:01:45.109 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.062) 0:01:45.172 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.092) 0:01:45.264 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.193) 0:01:45.458 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.153) 0:01:45.611 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.093) 0:01:45.704 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.669) 0:01:46.374 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmppa2ll8uw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.454) 0:01:46.828 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.753) 0:01:47.582 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.252) 0:01:47.834 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.096) 0:01:47.930 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.107) 0:01:48.038 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.083) 0:01:48.122 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.461) 0:01:48.583 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.165) 0:01:48.749 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.159) 0:01:48.908 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.136) 0:01:49.045 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.085) 0:01:49.130 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.065) 0:01:49.196 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.071) 0:01:49.267 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:49 -0400 (0:00:01.867) 0:01:51.135 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:50 -0400 (0:00:01.529) 0:01:52.664 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.055) 0:01:52.719 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.061) 0:01:52.781 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.054) 0:01:52.836 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.081) 0:01:52.917 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.117) 0:01:53.035 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.140) 0:01:53.176 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.147) 0:01:53.323 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.155) 0:01:53.479 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.084) 0:01:53.564 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.081) 0:01:53.645 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.094) 0:01:53.739 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.121) 0:01:53.860 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.209) 0:01:54.070 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.731) 0:01:54.802 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp49cjm6lr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.462) 0:01:55.264 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.521) 0:01:55.785 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.079) 0:01:55.865 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.076) 0:01:55.941 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.069) 0:01:56.011 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.069) 0:01:56.081 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.493) 0:01:56.575 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.129) 0:01:56.704 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.114) 0:01:56.819 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.060) 0:01:56.880 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.379) 0:01:57.259 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.052) 0:01:57.311 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018406", "end": "2024-10-05 09:00:56.012207", "rc": 1, "start": "2024-10-05 09:00:55.993801" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.477) 0:01:57.789 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.055) 0:01:57.844 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.053) 0:01:57.898 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.063) 0:01:57.962 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.058) 0:01:58.021 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.053) 0:01:58.074 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.059) 0:01:58.133 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.057) 0:01:58.191 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.055) 0:01:58.246 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.102) 0:01:58.349 ****** 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.044213", "end": "2024-10-05 09:00:57.060452", "rc": 0, "start": "2024-10-05 09:00:57.016239" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.444) 0:01:58.794 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.078) 0:01:58.873 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.055) 0:01:58.928 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.102) 0:01:59.031 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.115) 0:01:59.146 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.072) 0:01:59.219 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003040", "end": "2024-10-05 09:00:57.855677", "rc": 0, "start": "2024-10-05 09:00:57.852637" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.366) 0:01:59.586 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.058) 0:01:59.645 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.056) 0:01:59.702 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.126) 0:01:59.828 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.149) 0:01:59.978 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.162) 0:02:00.140 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.097) 0:02:00.237 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.115) 0:02:00.353 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.084) 0:02:00.437 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:00 -0400 (0:00:02.112) 0:02:02.549 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:02 -0400 (0:00:01.545) 0:02:04.095 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.070) 0:02:04.165 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.102) 0:02:04.268 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.081) 0:02:04.350 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.086) 0:02:04.437 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.101) 0:02:04.538 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.081) 0:02:04.620 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.111) 0:02:04.732 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.157) 0:02:04.889 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.085) 0:02:04.975 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.080) 0:02:05.055 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.075) 0:02:05.130 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.051) 0:02:05.182 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.163) 0:02:05.346 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.545) 0:02:05.891 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp98ecls0o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.370) 0:02:06.262 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.566) 0:02:06.828 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.092) 0:02:06.921 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.117) 0:02:07.038 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.099) 0:02:07.138 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.082) 0:02:07.220 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.448) 0:02:07.669 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.057) 0:02:07.727 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.089) 0:02:07.816 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.102) 0:02:07.918 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.091) 0:02:08.009 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.213) 0:02:08.223 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.088) 0:02:08.311 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:08 -0400 (0:00:01.776) 0:02:10.087 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:09 -0400 (0:00:01.467) 0:02:11.555 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.055) 0:02:11.611 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.055) 0:02:11.667 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.053) 0:02:11.720 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.051) 0:02:11.772 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.065) 0:02:11.837 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.053) 0:02:11.891 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.061) 0:02:11.952 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.090) 0:02:12.043 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.053) 0:02:12.096 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.050) 0:02:12.147 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.156) 0:02:12.304 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.053) 0:02:12.357 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.051) 0:02:12.408 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:11 -0400 (0:00:00.579) 0:02:12.988 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmpd3gohr_9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:11 -0400 (0:00:00.444) 0:02:13.432 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:12 -0400 (0:00:00.747) 0:02:14.180 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:12 -0400 (0:00:00.067) 0:02:14.248 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:12 -0400 (0:00:00.069) 0:02:14.317 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:12 -0400 (0:00:00.056) 0:02:14.374 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:12 -0400 (0:00:00.070) 0:02:14.445 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.476) 0:02:14.921 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.106) 0:02:15.028 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.085) 0:02:15.114 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.206) 0:02:15.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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.091) 0:02:15.412 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.086) 0:02:15.498 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:15 -0400 (0:00:01.707) 0:02:17.205 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:17 -0400 (0:00:01.691) 0:02:18.897 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.109) 0:02:19.007 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.067) 0:02:19.075 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.064) 0:02:19.139 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.052) 0:02:19.192 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.066) 0:02:19.258 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.053) 0:02:19.311 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.060) 0:02:19.372 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.096) 0:02:19.469 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.084) 0:02:19.553 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.175) 0:02:19.729 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.087) 0:02:19.816 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.053) 0:02:19.870 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.055) 0:02:19.925 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.580) 0:02:20.506 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp4rrliwd6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:19 -0400 (0:00:00.466) 0:02:20.972 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:19 -0400 (0:00:00.507) 0:02:21.479 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:19 -0400 (0:00:00.067) 0:02:21.547 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:19 -0400 (0:00:00.056) 0:02:21.604 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:19 -0400 (0:00:00.060) 0:02:21.665 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.057) 0:02:21.722 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.473) 0:02:22.196 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.134) 0:02:22.331 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.207) 0:02:22.539 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.146) 0:02:22.685 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.177) 0:02:22.862 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.116) 0:02:22.979 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.088) 0:02:23.067 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:23 -0400 (0:00:01.751) 0:02:24.819 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:24 -0400 (0:00:01.496) 0:02:26.315 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.055) 0:02:26.371 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.053) 0:02:26.425 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.052) 0:02:26.477 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.050) 0:02:26.528 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.065) 0:02:26.594 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:24 -0400 (0:00:00.052) 0:02:26.646 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.158) 0:02:26.805 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.091) 0:02:26.896 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.052) 0:02:26.949 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.070) 0:02:27.019 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.093) 0:02:27.113 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.060) 0:02:27.173 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:25 -0400 (0:00:00.068) 0:02:27.242 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:26 -0400 (0:00:00.567) 0:02:27.810 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-418473r5zpyp6/tmp1y3bocss" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:26 -0400 (0:00:00.407) 0:02:28.217 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:27 -0400 (0:00:00.808) 0:02:29.026 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:27 -0400 (0:00:00.172) 0:02:29.198 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:27 -0400 (0:00:00.102) 0:02:29.301 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:27 -0400 (0:00:00.104) 0:02:29.405 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:27 -0400 (0:00:00.091) 0:02:29.497 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:01:28 -0400 (0:00:00.428) 0:02:29.925 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:01:28 -0400 (0:00:00.132) 0:02:30.058 ****** included: /tmp/collections-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:01:28 -0400 (0:00:00.096) 0:02:30.154 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:01:28 -0400 (0:00:00.134) 0:02:30.289 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:01:29 -0400 (0:00:00.493) 0:02:30.783 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:01:29 -0400 (0:00:00.055) 0:02:30.839 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018186", "end": "2024-10-05 09:01:29.673465", "rc": 1, "start": "2024-10-05 09:01:29.655279" } 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:01:29 -0400 (0:00:00.566) 0:02:31.405 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:01:29 -0400 (0:00:00.079) 0:02:31.485 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:01:29 -0400 (0:00:00.099) 0:02:31.585 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:01:30 -0400 (0:00:00.102) 0:02:31.687 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:01:30 -0400 (0:00:00.109) 0:02:31.797 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:01:30 -0400 (0:00:00.102) 0:02:31.900 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 05 October 2024 09:01:30 -0400 (0:00:00.111) 0:02:32.012 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.886674", "end": "2024-10-05 09:01:31.584565", "rc": 0, "start": "2024-10-05 09:01:30.697891" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 05 October 2024 09:01:31 -0400 (0:00:01.304) 0:02:33.317 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 05 October 2024 09:01:31 -0400 (0:00:00.055) 0:02:33.372 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:01:31 -0400 (0:00:00.054) 0:02:33.427 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:01:31 -0400 (0:00:00.150) 0:02:33.577 ****** 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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:01:31 -0400 (0:00:00.056) 0:02:33.634 ****** included: /tmp/collections-AIX/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-AIX/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-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:01:32 -0400 (0:00:00.095) 0:02:33.729 ****** 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.046703", "end": "2024-10-05 09:01:32.435348", "rc": 0, "start": "2024-10-05 09:01:32.388645" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 05 October 2024 09:01:32 -0400 (0:00:00.457) 0:02:34.187 ****** 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.008505", "end": "2024-10-05 09:01:32.836963", "rc": 0, "start": "2024-10-05 09:01:32.828458" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:51:e2:b5:9c:b3 brd ff:ff:ff:ff:ff:ff inet 10.31.44.143/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2691sec preferred_lft 2691sec inet6 fe80::51:e2ff:feb5:9cb3/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether b2:b6:ec:4f:ea:32 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.143 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.143 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 05 October 2024 09:01:32 -0400 (0:00:00.381) 0:02:34.568 ****** 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:01.617659", "end": "2024-10-05 09:01:34.825348", "rc": 0, "start": "2024-10-05 09:01:33.207689" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 612 0 --:--:-- --:--:-- --:--:-- 612 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 265 0 0:00:01 0:00:01 --:--:-- 265 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 05 October 2024 09:01:34 -0400 (0:00:02.072) 0:02:36.641 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Verify DNS and network connectivity ------------------------------------- 2.07s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-AIX/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26