[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-lLc executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 20 August 2024 10:05:08 -0400 (0:00:00.047) 0:00:00.047 ******** [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 20 August 2024 10:05:10 -0400 (0:00:02.646) 0:00:02.694 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:05:11 -0400 (0:00:00.019) 0:00:02.713 ******** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:05:12 -0400 (0:00:01.843) 0:00:04.557 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.440) 0:00:04.998 ******** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.023) 0:00:05.021 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.013) 0:00:05.035 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 40] ********************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.045) 0:00:05.081 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.013) 0:00:05.095 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.012) 0:00:05.108 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.011) 0:00:05.119 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.012) 0:00:05.131 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.011) 0:00:05.143 ******** ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 20 August 2024 10:05:13 -0400 (0:00:00.027) 0:00:05.171 ******** ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 20 August 2024 10:05:15 -0400 (0:00:02.346) 0:00:07.517 ******** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 20 August 2024 10:05:15 -0400 (0:00:00.045) 0:00:07.562 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:05:15 -0400 (0:00:00.062) 0:00:07.624 ******** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:05:15 -0400 (0:00:00.028) 0:00:07.653 ******** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.080) 0:00:07.734 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.058) 0:00:07.792 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.062) 0:00:07.855 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2024-08-20 10:05:16.809611", "rc": 0, "start": "2024-08-20 10:05:16.805984" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.716) 0:00:08.572 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.031) 0:00:08.603 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.017) 0:00:08.621 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 20 August 2024 10:05:16 -0400 (0:00:00.040) 0:00:08.661 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007958", "end": "2024-08-20 10:05:17.265723", "rc": 1, "start": "2024-08-20 10:05:17.257765" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.362) 0:00:09.024 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.035) 0:00:09.059 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.365) 0:00:09.425 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.022) 0:00:09.448 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.025) 0:00:09.473 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.042) 0:00:09.516 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.031) 0:00:09.548 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.036) 0:00:09.584 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.021) 0:00:09.605 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:05:17 -0400 (0:00:00.018) 0:00:09.623 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:05:20 -0400 (0:00:02.617) 0:00:12.241 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:05:21 -0400 (0:00:01.186) 0:00:13.428 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:05:21 -0400 (0:00:00.069) 0:00:13.498 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:05:21 -0400 (0:00:00.059) 0:00:13.558 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:05:21 -0400 (0:00:00.059) 0:00:13.617 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.089) 0:00:13.706 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.075) 0:00:13.781 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.066) 0:00:13.848 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.162) 0:00:14.011 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.155) 0:00:14.166 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.058) 0:00:14.225 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.064) 0:00:14.290 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:05:22 -0400 (0:00:00.104) 0:00:14.394 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:05:23 -0400 (0:00:00.898) 0:00:15.293 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:05:23 -0400 (0:00:00.067) 0:00:15.361 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:05:23 -0400 (0:00:00.035) 0:00:15.396 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:05:23 -0400 (0:00:00.038) 0:00:15.435 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:05:24 -0400 (0:00:00.874) 0:00:16.310 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:05:24 -0400 (0:00:00.067) 0:00:16.378 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:05:24 -0400 (0:00:00.073) 0:00:16.451 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:05:24 -0400 (0:00:00.079) 0:00:16.531 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:05:24 -0400 (0:00:00.089) 0:00:16.620 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:05:25 -0400 (0:00:00.604) 0:00:17.225 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b702b86-34d0-4b36-8025-c23aa23867da" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:05:25 -0400 (0:00:00.070) 0:00:17.296 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:05:25 -0400 (0:00:00.066) 0:00:17.363 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:05:25 -0400 (0:00:00.065) 0:00:17.428 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:05:25 -0400 (0:00:00.036) 0:00:17.464 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.366) 0:00:17.830 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.036) 0:00:17.866 ******** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019869", "end": "2024-08-20 10:05:26.488588", "rc": 0, "start": "2024-08-20 10:05:26.468719" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.391) 0:00:18.258 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.040) 0:00:18.298 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.035) 0:00:18.334 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.034) 0:00:18.368 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.034) 0:00:18.403 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.034) 0:00:18.438 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.038) 0:00:18.476 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.039) 0:00:18.515 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.068) 0:00:18.583 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:05:26 -0400 (0:00:00.087) 0:00:18.670 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:05:27 -0400 (0:00:00.069) 0:00:18.740 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162724.442626, "block_size": 4096, "blocks": 0, "ctime": 1724162724.442626, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38695, "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": 1724162724.442626, "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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:05:27 -0400 (0:00:00.376) 0:00:19.117 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:05:27 -0400 (0:00:00.039) 0:00:19.156 ******** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:05:27 -0400 (0:00:00.036) 0:00:19.193 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:05:27 -0400 (0:00:00.066) 0:00:19.259 ******** 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.065204", "end": "2024-08-20 10:05:27.967856", "rc": 1, "start": "2024-08-20 10:05:27.902652" } STDOUT: Connection 'statebr' (0b702b86-34d0-4b36-8025-c23aa23867da) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.489) 0:00:19.749 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.084) 0:00:19.833 ******** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.038) 0:00:19.872 ******** 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" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.070) 0:00:19.943 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.089) 0:00:20.032 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.057) 0:00:20.089 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-08-20 10:05:28.696122", "rc": 0, "start": "2024-08-20 10:05:28.692386" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.441) 0:00:20.530 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:05:28 -0400 (0:00:00.138) 0:00:20.668 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:05:29 -0400 (0:00:00.128) 0:00:20.797 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 20 August 2024 10:05:29 -0400 (0:00:00.217) 0:00:21.015 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007009", "end": "2024-08-20 10:05:29.716977", "rc": 1, "start": "2024-08-20 10:05:29.709968" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:05:29 -0400 (0:00:00.506) 0:00:21.521 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:05:29 -0400 (0:00:00.122) 0:00:21.644 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.442) 0:00:22.086 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.039) 0:00:22.126 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.064) 0:00:22.190 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.110) 0:00:22.300 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.112) 0:00:22.413 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.105) 0:00:22.519 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.066) 0:00:22.585 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:05:30 -0400 (0:00:00.066) 0:00:22.652 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:05:33 -0400 (0:00:02.523) 0:00:25.176 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.932) 0:00:26.109 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.038) 0:00:26.148 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.034) 0:00:26.182 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.033) 0:00:26.216 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.053) 0:00:26.269 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.075) 0:00:26.345 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.130) 0:00:26.475 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:05:34 -0400 (0:00:00.103) 0:00:26.579 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.155) 0:00:26.734 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.061) 0:00:26.796 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.057) 0:00:26.854 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.077) 0:00:26.932 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.613) 0:00:27.546 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.065) 0:00:27.611 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.034) 0:00:27.645 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:05:35 -0400 (0:00:00.035) 0:00:27.681 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:05:36 -0400 (0:00:00.641) 0:00:28.322 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:05:36 -0400 (0:00:00.036) 0:00:28.358 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:05:36 -0400 (0:00:00.044) 0:00:28.403 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:05:36 -0400 (0:00:00.057) 0:00:28.461 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:05:36 -0400 (0:00:00.068) 0:00:28.529 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 August 2024 10:05:37 -0400 (0:00:00.530) 0:00:29.060 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d9c96a5-b286-4c5e-9014-bfda76bb4043" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:05:37 -0400 (0:00:00.118) 0:00:29.179 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:05:37 -0400 (0:00:00.130) 0:00:29.309 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:05:37 -0400 (0:00:00.103) 0:00:29.413 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.398) 0:00:29.811 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.038) 0:00:29.850 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.064) 0:00:29.915 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.039) 0:00:29.955 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.424) 0:00:30.379 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:05:38 -0400 (0:00:00.062) 0:00:30.442 ******** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019390", "end": "2024-08-20 10:05:39.102838", "rc": 0, "start": "2024-08-20 10:05:39.083448" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.492) 0:00:30.934 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.070) 0:00:31.005 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.103) 0:00:31.108 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.065) 0:00:31.174 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.126) 0:00:31.301 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.065) 0:00:31.366 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.072) 0:00:31.439 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.073) 0:00:31.513 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.070) 0:00:31.584 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:05:39 -0400 (0:00:00.091) 0:00:31.675 ******** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.069) 0:00:31.745 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.108) 0:00:31.854 ******** 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.038863", "end": "2024-08-20 10:05:40.497444", "rc": 1, "start": "2024-08-20 10:05:40.458581" } STDOUT: Connection 'statebr' (7d9c96a5-b286-4c5e-9014-bfda76bb4043) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.416) 0:00:32.270 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.078) 0:00:32.349 ******** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.037) 0:00:32.386 ******** 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" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.085) 0:00:32.472 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:05:40 -0400 (0:00:00.101) 0:00:32.573 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.143) 0:00:32.717 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-08-20 10:05:41.349408", "rc": 0, "start": "2024-08-20 10:05:41.345883" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.400) 0:00:33.117 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.039) 0:00:33.157 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.038) 0:00:33.195 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.062) 0:00:33.257 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.124) 0:00:33.382 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.131) 0:00:33.513 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.109) 0:00:33.623 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:05:41 -0400 (0:00:00.069) 0:00:33.692 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:05:42 -0400 (0:00:00.066) 0:00:33.759 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:05:44 -0400 (0:00:02.574) 0:00:36.334 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:05:45 -0400 (0:00:01.092) 0:00:37.427 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:05:45 -0400 (0:00:00.067) 0:00:37.494 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:05:45 -0400 (0:00:00.089) 0:00:37.583 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:05:45 -0400 (0:00:00.054) 0:00:37.638 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:05:45 -0400 (0:00:00.057) 0:00:37.695 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.075) 0:00:37.770 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.055) 0:00:37.826 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.069) 0:00:37.895 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.102) 0:00:37.997 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.036) 0:00:38.034 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.033) 0:00:38.068 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:05:46 -0400 (0:00:00.066) 0:00:38.135 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:05:47 -0400 (0:00:00.622) 0:00:38.757 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:05:47 -0400 (0:00:00.111) 0:00:38.869 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:05:47 -0400 (0:00:00.115) 0:00:38.984 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:05:47 -0400 (0:00:00.066) 0:00:39.051 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.757) 0:00:39.808 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.048) 0:00:39.856 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.045) 0:00:39.902 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.040) 0:00:39.942 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.036) 0:00:39.979 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.384) 0:00:40.364 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.040) 0:00:40.404 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.063) 0:00:40.467 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.075) 0:00:40.543 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:05:48 -0400 (0:00:00.071) 0:00:40.614 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:05:49 -0400 (0:00:00.153) 0:00:40.768 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:05:49 -0400 (0:00:00.041) 0:00:40.810 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:05:49 -0400 (0:00:00.044) 0:00:40.855 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:05:51 -0400 (0:00:02.456) 0:00:43.312 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:05:52 -0400 (0:00:01.053) 0:00:44.365 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:05:52 -0400 (0:00:00.089) 0:00:44.454 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:05:52 -0400 (0:00:00.061) 0:00:44.516 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:05:52 -0400 (0:00:00.063) 0:00:44.580 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.123) 0:00:44.703 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.205) 0:00:44.909 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.124) 0:00:45.034 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.171) 0:00:45.205 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.169) 0:00:45.375 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.089) 0:00:45.464 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.036) 0:00:45.501 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:05:53 -0400 (0:00:00.067) 0:00:45.569 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:05:54 -0400 (0:00:00.602) 0:00:46.171 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:05:54 -0400 (0:00:00.065) 0:00:46.236 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:05:54 -0400 (0:00:00.034) 0:00:46.271 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:05:54 -0400 (0:00:00.034) 0:00:46.306 ******** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.555) 0:00:46.862 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.038) 0:00:46.900 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.056) 0:00:46.956 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f1acdc1d-15a9-48d4-a741-eca54dc6edcd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.040) 0:00:46.996 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.033) 0:00:47.030 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.384) 0:00:47.414 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.070) 0:00:47.485 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:05:55 -0400 (0:00:00.093) 0:00:47.578 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162747.9752185, "block_size": 4096, "blocks": 0, "ctime": 1724162747.9752185, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38820, "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": 1724162747.9752185, "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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.404) 0:00:47.982 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.055) 0:00:48.038 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.065) 0:00:48.103 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.038) 0:00:48.142 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.369) 0:00:48.511 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:05:56 -0400 (0:00:00.034) 0:00:48.545 ******** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019807", "end": "2024-08-20 10:05:57.171052", "rc": 0, "start": "2024-08-20 10:05:57.151245" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.423) 0:00:48.969 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.092) 0:00:49.061 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.044) 0:00:49.106 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.060) 0:00:49.167 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.042) 0:00:49.210 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.043) 0:00:49.254 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.048) 0:00:49.302 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.076) 0:00:49.379 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.039) 0:00:49.418 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.055) 0:00:49.474 ******** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.038) 0:00:49.512 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:05:57 -0400 (0:00:00.065) 0:00:49.578 ******** 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.053966", "end": "2024-08-20 10:05:58.231836", "rc": 2, "start": "2024-08-20 10:05:58.177870" } STDOUT: Connection 'statebr' (f1acdc1d-15a9-48d4-a741-eca54dc6edcd) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' RTNETLINK answers: No such device MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.444) 0:00:50.022 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.079) 0:00:50.102 ******** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.042) 0:00:50.144 ******** 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" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.070) 0:00:50.215 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.057) 0:00:50.272 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:05:58 -0400 (0:00:00.056) 0:00:50.329 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2024-08-20 10:05:58.937513", "rc": 0, "start": "2024-08-20 10:05:58.933958" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.376) 0:00:50.706 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.075) 0:00:50.781 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.039) 0:00:50.820 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.068) 0:00:50.889 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.077) 0:00:50.966 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.070) 0:00:51.037 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.061) 0:00:51.098 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.060) 0:00:51.159 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:05:59 -0400 (0:00:00.039) 0:00:51.199 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:01 -0400 (0:00:02.497) 0:00:53.696 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:02 -0400 (0:00:00.956) 0:00:54.652 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.121) 0:00:54.773 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.063) 0:00:54.837 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.062) 0:00:54.900 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.092) 0:00:54.993 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.106) 0:00:55.100 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.095) 0:00:55.195 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.138) 0:00:55.334 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.152) 0:00:55.486 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.063) 0:00:55.550 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:03 -0400 (0:00:00.066) 0:00:55.617 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:04 -0400 (0:00:00.108) 0:00:55.725 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:04 -0400 (0:00:00.868) 0:00:56.594 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:04 -0400 (0:00:00.071) 0:00:56.666 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.035) 0:00:56.701 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.033) 0:00:56.734 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.712) 0:00:57.447 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.057) 0:00:57.505 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.102) 0:00:57.607 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:05 -0400 (0:00:00.050) 0:00:57.657 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.043) 0:00:57.701 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.479) 0:00:58.181 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f817da4-6321-4e02-9110-741f603bf506" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.073) 0:00:58.254 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.116) 0:00:58.370 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.154) 0:00:58.525 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:06 -0400 (0:00:00.129) 0:00:58.654 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:07 -0400 (0:00:00.070) 0:00:58.724 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:07 -0400 (0:00:00.065) 0:00:58.790 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:09 -0400 (0:00:02.645) 0:01:01.436 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:10 -0400 (0:00:01.090) 0:01:02.526 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:10 -0400 (0:00:00.045) 0:01:02.572 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:10 -0400 (0:00:00.056) 0:01:02.629 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:10 -0400 (0:00:00.041) 0:01:02.670 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.104) 0:01:02.775 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.096) 0:01:02.871 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.072) 0:01:02.943 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.070) 0:01:03.014 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.092) 0:01:03.107 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.035) 0:01:03.143 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.035) 0:01:03.179 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:11 -0400 (0:00:00.092) 0:01:03.271 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:12 -0400 (0:00:00.641) 0:01:03.913 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:12 -0400 (0:00:00.066) 0:01:03.979 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:12 -0400 (0:00:00.034) 0:01:04.014 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:12 -0400 (0:00:00.072) 0:01:04.086 ******** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f817da4-6321-4e02-9110-741f603bf506 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.667) 0:01:04.754 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.102) 0:01:04.857 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f817da4-6321-4e02-9110-741f603bf506 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.110) 0:01:04.967 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f817da4-6321-4e02-9110-741f603bf506 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f817da4-6321-4e02-9110-741f603bf506 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.077) 0:01:05.044 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.061) 0:01:05.106 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:06:13 -0400 (0:00:00.470) 0:01:05.576 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.151) 0:01:05.727 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.157) 0:01:05.885 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.158) 0:01:06.044 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.119) 0:01:06.163 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.057) 0:01:06.221 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:14 -0400 (0:00:00.093) 0:01:06.314 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:17 -0400 (0:00:02.552) 0:01:08.867 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.925) 0:01:09.792 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.040) 0:01:09.832 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.037) 0:01:09.870 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.042) 0:01:09.912 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.095) 0:01:10.008 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.105) 0:01:10.114 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.066) 0:01:10.180 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.076) 0:01:10.256 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.095) 0:01:10.351 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.035) 0:01:10.387 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.034) 0:01:10.422 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:18 -0400 (0:00:00.129) 0:01:10.551 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:19 -0400 (0:00:00.680) 0:01:11.232 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:19 -0400 (0:00:00.107) 0:01:11.340 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:19 -0400 (0:00:00.063) 0:01:11.403 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:19 -0400 (0:00:00.062) 0:01:11.465 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:20 -0400 (0:00:00.740) 0:01:12.205 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:20 -0400 (0:00:00.125) 0:01:12.331 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:20 -0400 (0:00:00.110) 0:01:12.442 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:20 -0400 (0:00:00.082) 0:01:12.524 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:20 -0400 (0:00:00.065) 0:01:12.590 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:06:21 -0400 (0:00:00.508) 0:01:13.098 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:06:21 -0400 (0:00:00.218) 0:01:13.317 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:06:21 -0400 (0:00:00.126) 0:01:13.443 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162765.5886607, "block_size": 4096, "blocks": 0, "ctime": 1724162765.5886607, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38945, "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": 1724162765.5886607, "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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.481) 0:01:13.925 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.068) 0:01:13.993 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.081) 0:01:14.075 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.037) 0:01:14.112 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.404) 0:01:14.516 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:06:22 -0400 (0:00:00.063) 0:01:14.580 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019824", "end": "2024-08-20 10:06:23.226278", "rc": 1, "start": "2024-08-20 10:06:23.206454" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.448) 0:01:15.028 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.071) 0:01:15.099 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.061) 0:01:15.161 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.040) 0:01:15.202 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.043) 0:01:15.245 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.049) 0:01:15.295 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.046) 0:01:15.341 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.055) 0:01:15.397 ******** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.038) 0:01:15.436 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:06:23 -0400 (0:00:00.103) 0:01:15.539 ******** 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.060441", "end": "2024-08-20 10:06:24.205460", "rc": 0, "start": "2024-08-20 10:06:24.145019" } STDOUT: Connection 'statebr' (7f817da4-6321-4e02-9110-741f603bf506) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.453) 0:01:15.992 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.064) 0:01:16.057 ******** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.039) 0:01:16.096 ******** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.098) 0:01:16.195 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.142) 0:01:16.338 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:06:24 -0400 (0:00:00.106) 0:01:16.445 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-08-20 10:06:25.058389", "rc": 0, "start": "2024-08-20 10:06:25.054729" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.409) 0:01:16.854 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.054) 0:01:16.908 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.053) 0:01:16.962 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.118) 0:01:17.081 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.144) 0:01:17.226 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.071) 0:01:17.297 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.083) 0:01:17.381 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.040) 0:01:17.421 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:25 -0400 (0:00:00.040) 0:01:17.462 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:28 -0400 (0:00:02.596) 0:01:20.058 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.927) 0:01:20.985 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.040) 0:01:21.026 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.036) 0:01:21.063 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.035) 0:01:21.098 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.060) 0:01:21.158 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.108) 0:01:21.267 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.056) 0:01:21.324 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.070) 0:01:21.395 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.097) 0:01:21.492 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.049) 0:01:21.542 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.043) 0:01:21.586 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:29 -0400 (0:00:00.066) 0:01:21.652 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:30 -0400 (0:00:00.601) 0:01:22.254 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:30 -0400 (0:00:00.068) 0:01:22.322 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:30 -0400 (0:00:00.035) 0:01:22.358 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:30 -0400 (0:00:00.034) 0:01:22.392 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:31 -0400 (0:00:00.649) 0:01:23.042 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:31 -0400 (0:00:00.059) 0:01:23.102 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:31 -0400 (0:00:00.056) 0:01:23.158 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:31 -0400 (0:00:00.070) 0:01:23.229 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:31 -0400 (0:00:00.080) 0:01:23.310 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.512) 0:01:23.823 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.060) 0:01:23.883 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.094) 0:01:23.978 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.076) 0:01:24.055 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.064) 0:01:24.119 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.040) 0:01:24.160 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:32 -0400 (0:00:00.041) 0:01:24.201 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:35 -0400 (0:00:02.641) 0:01:26.843 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.944) 0:01:27.787 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.055) 0:01:27.843 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.042) 0:01:27.885 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.098) 0:01:27.984 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.101) 0:01:28.086 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.119) 0:01:28.205 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.092) 0:01:28.298 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.082) 0:01:28.380 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.102) 0:01:28.482 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.035) 0:01:28.518 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.035) 0:01:28.553 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:36 -0400 (0:00:00.068) 0:01:28.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:37 -0400 (0:00:00.673) 0:01:29.296 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:37 -0400 (0:00:00.114) 0:01:29.411 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:37 -0400 (0:00:00.103) 0:01:29.515 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:37 -0400 (0:00:00.060) 0:01:29.575 ******** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:38 -0400 (0:00:00.669) 0:01:30.245 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:38 -0400 (0:00:00.060) 0:01:30.305 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:38 -0400 (0:00:00.064) 0:01:30.370 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4833eb8-1946-40fe-9473-9ceff0945b30 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:38 -0400 (0:00:00.116) 0:01:30.487 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:38 -0400 (0:00:00.062) 0:01:30.550 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.535) 0:01:31.085 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.147) 0:01:31.233 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.105) 0:01:31.338 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.070) 0:01:31.409 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.039) 0:01:31.449 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:39 -0400 (0:00:00.040) 0:01:31.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 : Check which packages are installed] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:42 -0400 (0:00:02.512) 0:01:34.002 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:43 -0400 (0:00:01.084) 0:01:35.086 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.129) 0:01:35.216 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.084) 0:01:35.300 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.067) 0:01:35.367 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.103) 0:01:35.471 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.116) 0:01:35.588 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:43 -0400 (0:00:00.100) 0:01:35.688 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:44 -0400 (0:00:00.150) 0:01:35.839 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:44 -0400 (0:00:00.162) 0:01:36.002 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:44 -0400 (0:00:00.063) 0:01:36.065 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:44 -0400 (0:00:00.074) 0:01:36.139 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:44 -0400 (0:00:00.183) 0:01:36.323 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:45 -0400 (0:00:00.790) 0:01:37.113 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:45 -0400 (0:00:00.113) 0:01:37.227 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:45 -0400 (0:00:00.042) 0:01:37.269 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:45 -0400 (0:00:00.040) 0:01:37.310 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.681) 0:01:37.991 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.080) 0:01:38.071 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.040) 0:01:38.112 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.041) 0:01:38.154 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.035) 0:01:38.189 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.384) 0:01:38.573 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:06:46 -0400 (0:00:00.073) 0:01:38.647 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:47 -0400 (0:00:00.139) 0:01:38.786 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:47 -0400 (0:00:00.137) 0:01:38.924 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:47 -0400 (0:00:00.091) 0:01:39.015 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:47 -0400 (0:00:00.051) 0:01:39.067 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:47 -0400 (0:00:00.068) 0:01:39.135 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:06:50 -0400 (0:00:02.591) 0:01:41.727 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:06:50 -0400 (0:00:00.968) 0:01:42.695 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.040) 0:01:42.736 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.035) 0:01:42.771 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.036) 0:01:42.808 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.063) 0:01:42.871 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.098) 0:01:42.969 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.096) 0:01:43.066 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.138) 0:01:43.205 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.180) 0:01:43.386 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.059) 0:01:43.445 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.068) 0:01:43.513 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:06:51 -0400 (0:00:00.125) 0:01:43.639 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:06:52 -0400 (0:00:00.780) 0:01:44.420 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:06:52 -0400 (0:00:00.150) 0:01:44.570 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:06:52 -0400 (0:00:00.061) 0:01:44.632 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:06:52 -0400 (0:00:00.063) 0:01:44.695 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:06:53 -0400 (0:00:00.718) 0:01:45.413 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:06:53 -0400 (0:00:00.036) 0:01:45.450 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:06:53 -0400 (0:00:00.040) 0:01:45.490 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:06:53 -0400 (0:00:00.040) 0:01:45.530 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:06:53 -0400 (0:00:00.034) 0:01:45.565 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.400) 0:01:45.965 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.067) 0:01:46.032 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.065) 0:01:46.098 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.038) 0:01:46.137 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.401) 0:01:46.538 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:06:54 -0400 (0:00:00.118) 0:01:46.657 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019247", "end": "2024-08-20 10:06:55.296942", "rc": 1, "start": "2024-08-20 10:06:55.277695" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.409) 0:01:47.066 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.038) 0:01:47.105 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.040) 0:01:47.145 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.048) 0:01:47.194 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.065) 0:01:47.259 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.053) 0:01:47.312 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.049) 0:01:47.362 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.106) 0:01:47.469 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:06:55 -0400 (0:00:00.059) 0:01:47.528 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.377) 0:01:47.906 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.041) 0:01:47.948 ******** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.040) 0:01:47.988 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.068) 0:01:48.057 ******** 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.038650", "end": "2024-08-20 10:06:56.707401", "rc": 1, "start": "2024-08-20 10:06:56.668751" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.461) 0:01:48.518 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.064) 0:01:48.583 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.038) 0:01:48.621 ******** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:06:56 -0400 (0:00:00.073) 0:01:48.695 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.074) 0:01:48.770 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.066) 0:01:48.836 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003626", "end": "2024-08-20 10:06:57.447547", "rc": 0, "start": "2024-08-20 10:06:57.443921" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.380) 0:01:49.217 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.041) 0:01:49.259 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.054) 0:01:49.313 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.094) 0:01:49.407 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.178) 0:01:49.586 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:06:57 -0400 (0:00:00.077) 0:01:49.663 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:06:58 -0400 (0:00:00.064) 0:01:49.728 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:06:58 -0400 (0:00:00.041) 0:01:49.769 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:06:58 -0400 (0:00:00.063) 0:01:49.833 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:07:00 -0400 (0:00:02.644) 0:01:52.477 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.949) 0:01:53.427 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.039) 0:01:53.467 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.035) 0:01:53.502 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.035) 0:01:53.538 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.055) 0:01:53.594 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:07:01 -0400 (0:00:00.072) 0:01:53.667 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.108) 0:01:53.775 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.100) 0:01:53.876 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.189) 0:01:54.065 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.063) 0:01:54.129 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.041) 0:01:54.170 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:07:02 -0400 (0:00:00.112) 0:01:54.283 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:07:03 -0400 (0:00:00.698) 0:01:54.982 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:07:03 -0400 (0:00:00.128) 0:01:55.110 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:07:03 -0400 (0:00:00.064) 0:01:55.175 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:07:03 -0400 (0:00:00.052) 0:01:55.228 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.741) 0:01:55.970 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.043) 0:01:56.013 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.041) 0:01:56.055 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.058) 0:01:56.114 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.049) 0:01:56.163 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.388) 0:01:56.552 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a56a6a85-9bd8-4867-b046-f79733320425" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:07:04 -0400 (0:00:00.086) 0:01:56.639 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:07:05 -0400 (0:00:00.080) 0:01:56.719 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:07:05 -0400 (0:00:00.072) 0:01:56.792 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:07:05 -0400 (0:00:00.084) 0:01:56.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 : Set flag to indicate system is ostree] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:07:05 -0400 (0:00:00.060) 0:01:56.937 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:07:05 -0400 (0:00:00.071) 0:01:57.009 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:07:07 -0400 (0:00:02.612) 0:01:59.621 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:07:08 -0400 (0:00:01.016) 0:02:00.638 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.076) 0:02:00.714 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.050) 0:02:00.765 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.040) 0:02:00.805 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.157) 0:02:00.962 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.068) 0:02:01.031 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.055) 0:02:01.087 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.069) 0:02:01.156 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.096) 0:02:01.253 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.050) 0:02:01.303 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.040) 0:02:01.344 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:07:09 -0400 (0:00:00.064) 0:02:01.409 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:07:10 -0400 (0:00:00.607) 0:02:02.016 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:07:10 -0400 (0:00:00.108) 0:02:02.125 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:07:10 -0400 (0:00:00.069) 0:02:02.194 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:07:10 -0400 (0:00:00.066) 0:02:02.261 ******** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56a6a85-9bd8-4867-b046-f79733320425 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.728) 0:02:02.989 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.037) 0:02:03.027 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56a6a85-9bd8-4867-b046-f79733320425 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.039) 0:02:03.066 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56a6a85-9bd8-4867-b046-f79733320425 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a56a6a85-9bd8-4867-b046-f79733320425 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.040) 0:02:03.107 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.095) 0:02:03.202 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:07:11 -0400 (0:00:00.463) 0:02:03.665 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:07:12 -0400 (0:00:00.113) 0:02:03.779 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:07:12 -0400 (0:00:00.129) 0:02:03.908 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:07:12 -0400 (0:00:00.096) 0:02:04.005 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:07:12 -0400 (0:00:00.052) 0:02:04.057 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:07:12 -0400 (0:00:00.042) 0:02:04.100 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:07:16 -0400 (0:00:03.608) 0:02:07.708 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:07:16 -0400 (0:00:00.932) 0:02:08.640 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:07:16 -0400 (0:00:00.052) 0:02:08.693 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.079) 0:02:08.772 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.036) 0:02:08.809 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.063) 0:02:08.873 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.070) 0:02:08.943 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.056) 0:02:09.000 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.079) 0:02:09.079 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.130) 0:02:09.210 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.064) 0:02:09.274 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.068) 0:02:09.343 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:07:17 -0400 (0:00:00.080) 0:02:09.423 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:07:18 -0400 (0:00:00.625) 0:02:10.049 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:07:18 -0400 (0:00:00.106) 0:02:10.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:07:18 -0400 (0:00:00.062) 0:02:10.218 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:07:18 -0400 (0:00:00.057) 0:02:10.275 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.740) 0:02:11.015 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.036) 0:02:11.052 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.040) 0:02:11.092 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.083) 0:02:11.175 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.037) 0:02:11.213 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.387) 0:02:11.601 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:07:19 -0400 (0:00:00.066) 0:02:11.668 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:07:20 -0400 (0:00:00.089) 0:02:11.757 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:07:20 -0400 (0:00:00.081) 0:02:11.838 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:07:20 -0400 (0:00:00.064) 0:02:11.902 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:07:20 -0400 (0:00:00.041) 0:02:11.943 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:07:20 -0400 (0:00:00.041) 0:02:11.985 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:07:22 -0400 (0:00:02.495) 0:02:14.480 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:07:23 -0400 (0:00:01.114) 0:02:15.594 ******** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:07:23 -0400 (0:00:00.051) 0:02:15.646 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:07:23 -0400 (0:00:00.035) 0:02:15.682 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.036) 0:02:15.719 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.056) 0:02:15.775 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.067) 0:02:15.843 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.082) 0:02:15.925 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.073) 0:02:15.999 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.160) 0:02:16.160 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.068) 0:02:16.228 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.067) 0:02:16.295 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:07:24 -0400 (0:00:00.082) 0:02:16.378 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:07:25 -0400 (0:00:00.651) 0:02:17.029 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:07:25 -0400 (0:00:00.066) 0:02:17.096 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:07:25 -0400 (0:00:00.035) 0:02:17.132 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:07:25 -0400 (0:00:00.079) 0:02:17.211 ******** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.604) 0:02:17.816 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.067) 0:02:17.883 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.084) 0:02:17.968 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.086) 0:02:18.055 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.042) 0:02:18.097 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.429) 0:02:18.527 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:07:26 -0400 (0:00:00.126) 0:02:18.653 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:07:27 -0400 (0:00:00.114) 0:02:18.768 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:07:27 -0400 (0:00:00.069) 0:02:18.838 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:07:27 -0400 (0:00:00.412) 0:02:19.250 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:07:27 -0400 (0:00:00.066) 0:02:19.317 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018593", "end": "2024-08-20 10:07:27.970651", "rc": 1, "start": "2024-08-20 10:07:27.952058" } 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.452) 0:02:19.769 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.141) 0:02:19.910 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.056) 0:02:19.966 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.042) 0:02:20.009 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.051) 0:02:20.061 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.058) 0:02:20.119 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 August 2024 10:07:28 -0400 (0:00:00.043) 0:02:20.163 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.316683", "end": "2024-08-20 10:07:29.084072", "rc": 0, "start": "2024-08-20 10:07:28.767389" } STDOUT: NetworkManager-1.46.2-1.fc40 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.693) 0:02:20.856 ******** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.041) 0:02:20.898 ******** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.040) 0:02:20.938 ******** included: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.096) 0:02:21.034 ******** included: /tmp/collections-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.064) 0:02:21.098 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.369) 0:02:21.468 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.040) 0:02:21.508 ******** 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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.039) 0:02:21.548 ******** included: /tmp/collections-lLc/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-lLc/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-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:07:29 -0400 (0:00:00.118) 0:02:21.666 ******** 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.038491", "end": "2024-08-20 10:07:30.305597", "rc": 1, "start": "2024-08-20 10:07:30.267106" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 August 2024 10:07:30 -0400 (0:00:00.418) 0:02:22.085 ******** 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.009500", "end": "2024-08-20 10:07:30.706318", "rc": 0, "start": "2024-08-20 10:07:30.696818" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:3c:ac:39:06:47 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.245/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2827sec preferred_lft 2827sec inet6 fe80::3c:acff:fe39:647/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.245 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.245 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 August 2024 10:07:30 -0400 (0:00:00.399) 0:02:22.484 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node2 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=10 Tuesday 20 August 2024 10:07:30 -0400 (0:00:00.104) 0:02:22.589 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.61s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.65s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.64s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.64s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.61s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.60s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.59s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.57s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.52s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.51s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.50s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.50s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.35s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 1.84s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.19s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/collections-lLc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26