ansible-playbook [core 2.16.12] 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-fjl 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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.007) 0:00:00.007 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 12 October 2024 13:52:44 -0400 (0:00:01.153) 0:00:01.161 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 13:52:44 -0400 (0:00:00.035) 0:00:01.197 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 13:52:44 -0400 (0:00:00.535) 0:00:01.732 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.470) 0:00:02.203 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.058) 0:00:02.261 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.048) 0:00:02.309 ****** included: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.077) 0:00:02.386 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.524) 0:00:02.911 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.018) 0:00:02.930 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.015) 0:00:02.946 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.220161", "end": "2024-10-12 13:52:46.292861", "rc": 0, "start": "2024-10-12 13:52:46.072700" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.550) 0:00:03.496 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.020) 0:00:03.516 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.040) 0:00:03.557 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.746) 0:00:04.303 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.042) 0:00:04.346 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.053) 0:00:04.399 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.040) 0:00:04.439 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.074) 0:00:04.514 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.039) 0:00:04.554 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.045) 0:00:04.599 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003049", "end": "2024-10-12 13:52:47.737394", "rc": 0, "start": "2024-10-12 13:52:47.734345" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.332) 0:00:04.932 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.038) 0:00:04.970 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.037) 0:00:05.008 ****** included: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.051) 0:00:05.059 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007029", "end": "2024-10-12 13:52:48.203403", "rc": 1, "start": "2024-10-12 13:52:48.196374" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.338) 0:00:05.398 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.039) 0:00:05.438 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.342) 0:00:05.780 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.053) 0:00:05.834 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.067) 0:00:05.901 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.089) 0:00:05.991 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.082) 0:00:06.073 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.054) 0:00:06.128 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.052) 0:00:06.181 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.054) 0:00:06.236 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:52:50 -0400 (0:00:01.828) 0:00:08.064 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:52:52 -0400 (0:00:01.692) 0:00:09.756 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.070) 0:00:09.827 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.054) 0:00:09.881 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.049) 0:00:09.931 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.057) 0:00:09.988 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.093) 0:00:10.082 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.079) 0:00:10.162 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.096) 0:00:10.258 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.168) 0:00:10.427 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.077) 0:00:10.505 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.070) 0:00:10.575 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.068) 0:00:10.643 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.059) 0:00:10.702 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.053) 0:00:10.756 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:52:54 -0400 (0:00:00.857) 0:00:11.614 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmp1mubun6n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:52:54 -0400 (0:00:00.361) 0:00:11.976 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:52:55 -0400 (0:00:00.667) 0:00:12.643 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:52:55 -0400 (0:00:00.079) 0:00:12.722 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:52:55 -0400 (0:00:00.084) 0:00:12.806 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:52:55 -0400 (0:00:00.087) 0:00:12.894 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:52:55 -0400 (0:00:00.099) 0:00:12.994 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.640) 0:00:13.635 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.112) 0:00:13.747 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.223) 0:00:13.971 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.232) 0:00:14.204 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.131) 0:00:14.335 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755575.4134393, "block_size": 4096, "blocks": 8, "ctime": 1728755575.4134393, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755575.4134393, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.437) 0:00:14.773 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.074) 0:00:14.848 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017568", "end": "2024-10-12 13:52:58.066010", "rc": 1, "start": "2024-10-12 13:52:58.048442" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.448) 0:00:15.297 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.119) 0:00:15.417 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002990", "end": "2024-10-12 13:52:58.611419", "rc": 0, "start": "2024-10-12 13:52:58.608429" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.415) 0:00:15.832 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.083) 0:00:15.915 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002997", "end": "2024-10-12 13:52:59.110400", "rc": 0, "start": "2024-10-12 13:52:59.107403" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.434) 0:00:16.350 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.095) 0:00:16.446 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.107) 0:00:16.553 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.072) 0:00:16.626 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.061) 0:00:16.687 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.096) 0:00:16.784 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.062) 0:00:16.847 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.208) 0:00:17.055 ****** 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.034647", "end": "2024-10-12 13:53:00.238152", "rc": 1, "start": "2024-10-12 13:53:00.203505" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.403) 0:00:17.459 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.091) 0:00:17.550 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.060) 0:00:17.610 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.121) 0:00:17.732 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.131) 0:00:17.864 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.116) 0:00:17.981 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2024-10-12 13:53:01.183976", "rc": 0, "start": "2024-10-12 13:53:01.180938" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.413) 0:00:18.394 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.056) 0:00:18.451 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.071) 0:00:18.522 ****** included: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.099) 0:00:18.621 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005601", "end": "2024-10-12 13:53:01.774675", "rc": 1, "start": "2024-10-12 13:53:01.769074" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.446) 0:00:19.068 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.126) 0:00:19.194 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.433) 0:00:19.628 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.083) 0:00:19.711 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.130) 0:00:19.842 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.115) 0:00:19.958 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.141) 0:00:20.100 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.065) 0:00:20.165 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.060) 0:00:20.225 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.055) 0:00:20.281 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:04 -0400 (0:00:01.580) 0:00:21.861 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:06 -0400 (0:00:01.498) 0:00:23.359 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.065) 0:00:23.425 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.086) 0:00:23.511 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.082) 0:00:23.594 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.081) 0:00:23.676 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.101) 0:00:23.777 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.068) 0:00:23.846 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.071) 0:00:23.917 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.092) 0:00:24.010 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.052) 0:00:24.062 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.050) 0:00:24.113 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.064) 0:00:24.178 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.051) 0:00:24.230 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.065) 0:00:24.296 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.714) 0:00:25.010 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmphwuuu09a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.622) 0:00:25.633 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.547) 0:00:26.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.190) 0:00:26.370 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.089) 0:00:26.459 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.087) 0:00:26.547 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.068) 0:00:26.615 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.408) 0:00:27.024 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.092) 0:00:27.117 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.128) 0:00:27.245 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.089) 0:00:27.335 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.372) 0:00:27.707 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.107) 0:00:27.814 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.134) 0:00:27.948 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.191) 0:00:28.140 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755588.888509, "block_size": 4096, "blocks": 8, "ctime": 1728755588.888509, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755588.888509, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.397) 0:00:28.538 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.057) 0:00:28.595 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017088", "end": "2024-10-12 13:53:11.756563", "rc": 1, "start": "2024-10-12 13:53:11.739475" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.379) 0:00:28.974 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.062) 0:00:29.037 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002869", "end": "2024-10-12 13:53:12.180458", "rc": 0, "start": "2024-10-12 13:53:12.177589" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.359) 0:00:29.396 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.074) 0:00:29.471 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003139", "end": "2024-10-12 13:53:12.624216", "rc": 0, "start": "2024-10-12 13:53:12.621077" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.382) 0:00:29.853 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.068) 0:00:29.921 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.072) 0:00:29.993 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.062) 0:00:30.056 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.085) 0:00:30.141 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.083) 0:00:30.225 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.086) 0:00:30.311 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.129) 0:00:30.441 ****** 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.033468", "end": "2024-10-12 13:53:13.653176", "rc": 1, "start": "2024-10-12 13:53:13.619708" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.461) 0:00:30.902 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.075) 0:00:30.978 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.054) 0:00:31.033 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.095) 0:00:31.129 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.111) 0:00:31.240 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.122) 0:00:31.363 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003017", "end": "2024-10-12 13:53:14.549027", "rc": 0, "start": "2024-10-12 13:53:14.546010" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.418) 0:00:31.781 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.085) 0:00:31.867 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.091) 0:00:31.958 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.188) 0:00:32.147 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.163) 0:00:32.311 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.164) 0:00:32.475 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.071) 0:00:32.546 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.056) 0:00:32.603 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.067) 0:00:32.671 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:17 -0400 (0:00:01.666) 0:00:34.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:18 -0400 (0:00:01.690) 0:00:36.028 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.096) 0:00:36.125 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.065) 0:00:36.191 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.065) 0:00:36.257 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.056) 0:00:36.314 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.061) 0:00:36.376 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.073) 0:00:36.449 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.158) 0:00:36.608 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.396) 0:00:37.004 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.093) 0:00:37.098 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.084) 0:00:37.183 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.101) 0:00:37.284 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.061) 0:00:37.346 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.059) 0:00:37.406 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.593) 0:00:37.999 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpvhzvwomw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.462) 0:00:38.462 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.568) 0:00:39.030 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.093) 0:00:39.124 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.133) 0:00:39.257 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.150) 0:00:39.407 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.165) 0:00:39.573 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.569) 0:00:40.143 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.070) 0:00:40.214 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.204) 0:00:40.418 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.140) 0:00:40.559 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.092) 0:00:40.651 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.059) 0:00:40.710 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.054) 0:00:40.764 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.073) 0:00:40.838 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:25 -0400 (0:00:01.650) 0:00:42.489 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:26 -0400 (0:00:01.507) 0:00:43.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.087) 0:00:44.085 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.072) 0:00:44.157 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.084) 0:00:44.242 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.129) 0:00:44.371 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.107) 0:00:44.479 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.092) 0:00:44.572 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.093) 0:00:44.665 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.139) 0:00:44.805 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.076) 0:00:44.881 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.081) 0:00:44.963 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.089) 0:00:45.052 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.086) 0:00:45.139 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:28 -0400 (0:00:00.083) 0:00:45.222 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:28 -0400 (0:00:00.570) 0:00:45.792 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpwcm2xf2f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.469) 0:00:46.262 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.709) 0:00:46.971 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.063) 0:00:47.035 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.060) 0:00:47.095 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.069) 0:00:47.164 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.051) 0:00:47.215 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.447) 0:00:47.662 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.101) 0:00:47.764 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.087) 0:00:47.851 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755609.6578064, "block_size": 4096, "blocks": 0, "ctime": 1728755609.6578064, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36624, "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": 1728755609.6578064, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.393) 0:00:48.244 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.056) 0:00:48.300 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.077) 0:00:48.378 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.057) 0:00:48.436 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755609.5086167, "block_size": 4096, "blocks": 8, "ctime": 1728755601.780576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755601.780576, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.390) 0:00:48.826 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.066) 0:00:48.893 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017463", "end": "2024-10-12 13:53:32.051778", "rc": 1, "start": "2024-10-12 13:53:32.034315" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.370) 0:00:49.263 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.060) 0:00:49.323 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002814", "end": "2024-10-12 13:53:32.500082", "rc": 0, "start": "2024-10-12 13:53:32.497268" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.410) 0:00:49.734 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.149) 0:00:49.883 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002917", "end": "2024-10-12 13:53:33.133487", "rc": 0, "start": "2024-10-12 13:53:33.130570" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.512) 0:00:50.396 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.195) 0:00:50.592 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.141) 0:00:50.733 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.092) 0:00:50.826 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.092) 0:00:50.918 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.095) 0:00:51.013 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.087) 0:00:51.101 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:34 -0400 (0:00:00.139) 0:00:51.240 ****** 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.042251", "end": "2024-10-12 13:53:34.519306", "rc": 0, "start": "2024-10-12 13:53:34.477055" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 12 October 2024 13:53:34 -0400 (0:00:00.547) 0:00:51.787 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:34 -0400 (0:00:00.134) 0:00:51.922 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:34 -0400 (0:00:00.086) 0:00:52.008 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.167) 0:00:52.176 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.088) 0:00:52.265 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.158) 0:00:52.423 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003041", "end": "2024-10-12 13:53:35.588310", "rc": 0, "start": "2024-10-12 13:53:35.585269" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.382) 0:00:52.805 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.095) 0:00:52.901 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.128) 0:00:53.030 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.122) 0:00:53.153 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.146) 0:00:53.299 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.191) 0:00:53.490 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.108) 0:00:53.598 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.094) 0:00:53.693 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.100) 0:00:53.793 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:38 -0400 (0:00:01.584) 0:00:55.377 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:39 -0400 (0:00:01.703) 0:00:57.080 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.063) 0:00:57.144 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.054) 0:00:57.198 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.051) 0:00:57.250 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.055) 0:00:57.306 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.086) 0:00:57.392 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.083) 0:00:57.476 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.088) 0:00:57.564 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.146) 0:00:57.711 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.065) 0:00:57.776 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.054) 0:00:57.831 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.070) 0:00:57.902 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.083) 0:00:57.986 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.083) 0:00:58.069 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.595) 0:00:58.665 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpn1d_vi_3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.489) 0:00:59.155 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.553) 0:00:59.708 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.082) 0:00:59.790 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.092) 0:00:59.883 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.137) 0:01:00.020 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.067) 0:01:00.088 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.386) 0:01:00.474 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.070) 0:01:00.545 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.117) 0:01:00.662 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.098) 0:01:00.760 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.060) 0:01:00.821 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.055) 0:01:00.877 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.059) 0:01:00.937 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:45 -0400 (0:00:01.685) 0:01:02.622 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:47 -0400 (0:00:01.657) 0:01:04.280 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.078) 0:01:04.359 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.064) 0:01:04.423 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.058) 0:01:04.482 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.057) 0:01:04.539 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.064) 0:01:04.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.055) 0:01:04.660 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.099) 0:01:04.759 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.198) 0:01:04.957 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.088) 0:01:05.046 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.078) 0:01:05.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.070) 0:01:05.195 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.051) 0:01:05.247 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.193) 0:01:05.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.563) 0:01:06.004 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmp3vj5mnup" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.435) 0:01:06.440 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.849) 0:01:07.289 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.091) 0:01:07.380 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.097) 0:01:07.478 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.091) 0:01:07.570 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.065) 0:01:07.636 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.402) 0:01:08.038 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.166) 0:01:08.205 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.320) 0:01:08.525 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.141) 0:01:08.667 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.184) 0:01:08.851 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.058) 0:01:08.910 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.055) 0:01:08.965 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:53 -0400 (0:00:01.615) 0:01:10.581 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:54 -0400 (0:00:01.480) 0:01:12.062 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.135) 0:01:12.197 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.127) 0:01:12.324 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.101) 0:01:12.425 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.126) 0:01:12.552 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.085) 0:01:12.637 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.065) 0:01:12.703 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.072) 0:01:12.776 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.090) 0:01:12.866 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.051) 0:01:12.917 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.143) 0:01:13.061 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.096) 0:01:13.157 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.081) 0:01:13.238 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.086) 0:01:13.325 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.634) 0:01:13.960 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmp5f_eapqs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.601) 0:01:14.561 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.696) 0:01:15.258 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.061) 0:01:15.320 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.086) 0:01:15.406 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.094) 0:01:15.501 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.084) 0:01:15.585 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.412) 0:01:15.998 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.086) 0:01:16.084 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.121) 0:01:16.206 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755629.9193196, "block_size": 4096, "blocks": 0, "ctime": 1728755629.9193196, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36755, "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": 1728755629.9193196, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.389) 0:01:16.596 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.058) 0:01:16.654 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.098) 0:01:16.753 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.120) 0:01:16.874 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.410) 0:01:17.285 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.054) 0:01:17.339 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017268", "end": "2024-10-12 13:54:00.523102", "rc": 1, "start": "2024-10-12 13:54:00.505834" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.397) 0:01:17.737 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.057) 0:01:17.794 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.057) 0:01:17.852 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.085) 0:01:17.937 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.085) 0:01:18.023 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.084) 0:01:18.108 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.077) 0:01:18.185 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.074) 0:01:18.260 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.084) 0:01:18.344 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.282) 0:01:18.626 ****** 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.042110", "end": "2024-10-12 13:54:01.994351", "rc": 0, "start": "2024-10-12 13:54:01.952241" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.599) 0:01:19.225 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.130) 0:01:19.356 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.092) 0:01:19.448 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.143) 0:01:19.591 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.097) 0:01:19.689 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.094) 0:01:19.783 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003075", "end": "2024-10-12 13:54:02.928076", "rc": 0, "start": "2024-10-12 13:54:02.925001" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.428) 0:01:20.212 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.111) 0:01:20.324 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.089) 0:01:20.413 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.140) 0:01:20.553 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.149) 0:01:20.703 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.091) 0:01:20.794 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.098) 0:01:20.892 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.086) 0:01:20.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.170) 0:01:21.149 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:05 -0400 (0:00:01.726) 0:01:22.876 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:07 -0400 (0:00:01.463) 0:01:24.339 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.091) 0:01:24.431 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.117) 0:01:24.549 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.103) 0:01:24.652 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.088) 0:01:24.741 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.119) 0:01:24.860 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.186) 0:01:25.047 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.066) 0:01:25.114 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.087) 0:01:25.201 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.063) 0:01:25.265 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.083) 0:01:25.349 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.158) 0:01:25.508 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.084) 0:01:25.592 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.089) 0:01:25.681 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.629) 0:01:26.311 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpg7yt6h85" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.389) 0:01:26.701 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.525) 0:01:27.226 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.087) 0:01:27.314 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.081) 0:01:27.395 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.068) 0:01:27.464 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.060) 0:01:27.524 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.438) 0:01:27.962 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.056) 0:01:28.019 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.106) 0:01:28.125 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.120) 0:01:28.245 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.092) 0:01:28.338 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.088) 0:01:28.427 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.085) 0:01:28.512 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:12 -0400 (0:00:01.613) 0:01:30.125 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:14 -0400 (0:00:01.601) 0:01:31.727 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.082) 0:01:31.809 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.070) 0:01:31.880 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.077) 0:01:31.957 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.227) 0:01:32.185 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.122) 0:01:32.308 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.079) 0:01:32.387 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.104) 0:01:32.492 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.119) 0:01:32.611 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.082) 0:01:32.694 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.091) 0:01:32.785 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.081) 0:01:32.866 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.054) 0:01:32.920 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.056) 0:01:32.977 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.544) 0:01:33.521 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmp95sayrjk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.376) 0:01:33.897 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.684) 0:01:34.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.055) 0:01:34.638 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.054) 0:01:34.693 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.061) 0:01:34.754 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.125) 0:01:34.880 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.468) 0:01:35.348 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.149) 0:01:35.497 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.137) 0:01:35.635 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.095) 0:01:35.731 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.085) 0:01:35.817 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.076) 0:01:35.893 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:20 -0400 (0:00:01.680) 0:01:37.574 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:21 -0400 (0:00:01.516) 0:01:39.091 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.086) 0:01:39.177 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.078) 0:01:39.256 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.215) 0:01:39.471 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.061) 0:01:39.533 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.075) 0:01:39.608 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.064) 0:01:39.672 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.100) 0:01:39.773 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.135) 0:01:39.909 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.086) 0:01:39.996 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.085) 0:01:40.081 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.074) 0:01:40.155 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.088) 0:01:40.244 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.083) 0:01:40.328 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.606) 0:01:40.934 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpznwwuxdo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.636) 0:01:41.571 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.586) 0:01:42.157 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.089) 0:01:42.247 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.083) 0:01:42.331 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.150) 0:01:42.481 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.096) 0:01:42.578 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.469) 0:01:43.047 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.089) 0:01:43.137 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.103) 0:01:43.240 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.132) 0:01:43.372 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.131) 0:01:43.504 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.135) 0:01:43.640 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.103) 0:01:43.743 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:28 -0400 (0:00:01.698) 0:01:45.442 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:29 -0400 (0:00:01.708) 0:01:47.150 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.062) 0:01:47.213 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.052) 0:01:47.266 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.051) 0:01:47.317 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.055) 0:01:47.373 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.062) 0:01:47.435 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.055) 0:01:47.491 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.063) 0:01:47.554 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.087) 0:01:47.642 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.055) 0:01:47.698 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.053) 0:01:47.751 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.060) 0:01:47.811 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.069) 0:01:47.881 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.083) 0:01:47.964 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.706) 0:01:48.671 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmphqh86vjo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.541) 0:01:49.213 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.572) 0:01:49.786 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.067) 0:01:49.853 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.108) 0:01:49.962 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.066) 0:01:50.028 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.068) 0:01:50.097 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.394) 0:01:50.491 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.126) 0:01:50.618 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.130) 0:01:50.748 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.080) 0:01:50.828 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.389) 0:01:51.218 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.079) 0:01:51.298 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017993", "end": "2024-10-12 13:54:34.467718", "rc": 1, "start": "2024-10-12 13:54:34.449725" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.385) 0:01:51.683 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.061) 0:01:51.745 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.053) 0:01:51.798 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.154) 0:01:51.952 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.062) 0:01:52.015 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.061) 0:01:52.076 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.094) 0:01:52.171 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.121) 0:01:52.293 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.087) 0:01:52.380 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.166) 0:01:52.546 ****** 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.042626", "end": "2024-10-12 13:54:35.786062", "rc": 0, "start": "2024-10-12 13:54:35.743436" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.472) 0:01:53.019 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.140) 0:01:53.159 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.089) 0:01:53.249 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.158) 0:01:53.407 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.115) 0:01:53.522 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.176) 0:01:53.699 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003046", "end": "2024-10-12 13:54:36.867532", "rc": 0, "start": "2024-10-12 13:54:36.864486" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.398) 0:01:54.098 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.098) 0:01:54.196 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.065) 0:01:54.262 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.098) 0:01:54.361 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.092) 0:01:54.453 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.084) 0:01:54.538 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.062) 0:01:54.600 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.075) 0:01:54.676 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.095) 0:01:54.772 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:39 -0400 (0:00:01.605) 0:01:56.377 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:40 -0400 (0:00:01.609) 0:01:57.987 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.061) 0:01:58.049 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.052) 0:01:58.102 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.051) 0:01:58.154 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.056) 0:01:58.211 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.075) 0:01:58.286 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.055) 0:01:58.342 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.087) 0:01:58.430 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.128) 0:01:58.558 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.087) 0:01:58.646 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.079) 0:01:58.725 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.092) 0:01:58.818 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.083) 0:01:58.902 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.079) 0:01:58.981 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.704) 0:01:59.686 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpma3cus6p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.434) 0:02:00.121 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.810) 0:02:00.931 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.082) 0:02:01.014 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.084) 0:02:01.098 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.100) 0:02:01.198 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.091) 0:02:01.290 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.433) 0:02:01.724 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.156) 0:02:01.880 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:45 -0400 (0:00:00.287) 0:02:02.168 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:45 -0400 (0:00:00.176) 0:02:02.344 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:45 -0400 (0:00:00.085) 0:02:02.430 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:45 -0400 (0:00:00.098) 0:02:02.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:45 -0400 (0:00:00.088) 0:02:02.617 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:47 -0400 (0:00:01.612) 0:02:04.229 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:48 -0400 (0:00:01.798) 0:02:06.028 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.139) 0:02:06.168 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.090) 0:02:06.258 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.100) 0:02:06.358 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.100) 0:02:06.459 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.111) 0:02:06.570 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.082) 0:02:06.653 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.109) 0:02:06.762 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.120) 0:02:06.882 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.067) 0:02:06.950 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.060) 0:02:07.010 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.064) 0:02:07.074 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.052) 0:02:07.127 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.055) 0:02:07.183 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.680) 0:02:07.863 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpkxjyqna7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.375) 0:02:08.239 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.712) 0:02:08.951 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.063) 0:02:09.014 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.068) 0:02:09.082 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.063) 0:02:09.145 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.053) 0:02:09.199 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.364) 0:02:09.564 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.092) 0:02:09.657 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.085) 0:02:09.742 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.073) 0:02:09.816 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.056) 0:02:09.873 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.060) 0:02:09.933 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:54 -0400 (0:00:01.648) 0:02:11.581 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:55 -0400 (0:00:01.407) 0:02:12.988 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.057) 0:02:13.045 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.064) 0:02:13.110 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.081) 0:02:13.192 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.088) 0:02:13.280 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.098) 0:02:13.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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.083) 0:02:13.463 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.076) 0:02:13.539 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.100) 0:02:13.640 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.052) 0:02:13.692 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.057) 0:02:13.749 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.063) 0:02:13.812 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.052) 0:02:13.865 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.219) 0:02:14.084 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.590) 0:02:14.675 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpphfpsmo7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.396) 0:02:15.072 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.563) 0:02:15.635 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.088) 0:02:15.723 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.090) 0:02:15.814 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.095) 0:02:15.909 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.089) 0:02:15.999 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.504) 0:02:16.503 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.153) 0:02:16.657 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.149) 0:02:16.806 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.159) 0:02:16.966 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.209) 0:02:17.176 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.058) 0:02:17.234 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.055) 0:02:17.289 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:55:01 -0400 (0:00:01.650) 0:02:18.940 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:55:03 -0400 (0:00:01.467) 0:02:20.407 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.098) 0:02:20.506 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.080) 0:02:20.587 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.069) 0:02:20.656 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.059) 0:02:20.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.065) 0:02:20.782 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.052) 0:02:20.834 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.079) 0:02:20.913 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.142) 0:02:21.056 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.082) 0:02:21.139 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.230) 0:02:21.370 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.100) 0:02:21.470 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.081) 0:02:21.552 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.076) 0:02:21.629 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:55:05 -0400 (0:00:00.635) 0:02:22.264 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41589jzg_bgeh/tmpztaq2eo2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:55:05 -0400 (0:00:00.448) 0:02:22.713 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.596) 0:02:23.309 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.083) 0:02:23.392 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.091) 0:02:23.484 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.092) 0:02:23.577 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.097) 0:02:23.674 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:55:06 -0400 (0:00:00.391) 0:02:24.065 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.117) 0:02:24.183 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.199) 0:02:24.383 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.093) 0:02:24.476 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.385) 0:02:24.862 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.093) 0:02:24.955 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017612", "end": "2024-10-12 13:55:08.161560", "rc": 1, "start": "2024-10-12 13:55:08.143948" } 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.431) 0:02:25.387 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.118) 0:02:25.505 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.097) 0:02:25.603 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.086) 0:02:25.689 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.090) 0:02:25.780 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.087) 0:02:25.867 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.072) 0:02:25.940 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.855589", "end": "2024-10-12 13:55:09.941201", "rc": 0, "start": "2024-10-12 13:55:09.085612" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 12 October 2024 13:55:10 -0400 (0:00:01.233) 0:02:27.174 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.091) 0:02:27.265 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.093) 0:02:27.358 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.099) 0:02:27.458 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.084) 0:02:27.542 ****** included: /tmp/collections-fjl/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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.164) 0:02:27.706 ****** 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.044841", "end": "2024-10-12 13:55:10.894134", "rc": 0, "start": "2024-10-12 13:55:10.849293" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.401) 0:02:28.108 ****** 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.008253", "end": "2024-10-12 13:55:11.296218", "rc": 0, "start": "2024-10-12 13:55:11.287965" } 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 12:cd:9b:c2:e0:0b brd ff:ff:ff:ff:ff:ff inet 10.31.11.121/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2712sec preferred_lft 2712sec inet6 fe80::10cd:9bff:fec2:e00b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.121 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.121 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 12 October 2024 13:55:11 -0400 (0:00:00.436) 0:02:28.544 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.132787", "end": "2024-10-12 13:55:11.880829", "rc": 0, "start": "2024-10-12 13:55:11.748042" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 11730 0 --:--:-- --:--:-- --:--:-- 11730 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3506 0 --:--:-- --:--:-- --:--:-- 3506 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.715) 0:02:29.260 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21