ansible-playbook [core 2.17.7] 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-cUU executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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-cUU/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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 06 January 2025 10:17:13 -0500 (0:00:00.008) 0:00:00.008 ******** [WARNING]: Platform linux on host managed-node1 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-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 06 January 2025 10:17:15 -0500 (0:00:01.267) 0:00:01.275 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 06 January 2025 10:17:15 -0500 (0:00:00.038) 0:00:01.313 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 06 January 2025 10:17:15 -0500 (0:00:00.573) 0:00:01.886 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 06 January 2025 10:17:16 -0500 (0:00:00.495) 0:00:02.381 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 06 January 2025 10:17:16 -0500 (0:00:00.026) 0:00:02.408 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 06 January 2025 10:17:16 -0500 (0:00:00.014) 0:00:02.423 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 06 January 2025 10:17:16 -0500 (0:00:00.047) 0:00:02.471 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 06 January 2025 10:17:16 -0500 (0:00:00.016) 0:00:02.487 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 06 January 2025 10:17:16 -0500 (0:00:00.014) 0:00:02.502 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 06 January 2025 10:17:16 -0500 (0:00:00.014) 0:00:02.517 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 06 January 2025 10:17:16 -0500 (0:00:00.014) 0:00:02.532 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 06 January 2025 10:17:16 -0500 (0:00:00.014) 0:00:02.546 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 06 January 2025 10:17:16 -0500 (0:00:00.024) 0:00:02.570 ******** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 06 January 2025 10:17:17 -0500 (0:00:00.947) 0:00:03.517 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 06 January 2025 10:17:17 -0500 (0:00:00.019) 0:00:03.537 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:17:17 -0500 (0:00:00.028) 0:00:03.566 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:17:17 -0500 (0:00:00.019) 0:00:03.586 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:17:17 -0500 (0:00:00.078) 0:00:03.664 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:17:17 -0500 (0:00:00.024) 0:00:03.688 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:17:17 -0500 (0:00:00.022) 0:00:03.711 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003612", "end": "2025-01-06 10:17:18.052397", "rc": 0, "start": "2025-01-06 10:17:18.048785" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:17:18 -0500 (0:00:00.499) 0:00:04.210 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:17:18 -0500 (0:00:00.020) 0:00:04.231 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:17:18 -0500 (0:00:00.019) 0:00:04.251 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 06 January 2025 10:17:18 -0500 (0:00:00.035) 0:00:04.286 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008074", "end": "2025-01-06 10:17:18.540850", "rc": 1, "start": "2025-01-06 10:17:18.532776" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:17:18 -0500 (0:00:00.414) 0:00:04.700 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:17:18 -0500 (0:00:00.026) 0:00:04.726 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:17:19 -0500 (0:00:00.398) 0:00:05.125 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:17:19 -0500 (0:00:00.021) 0:00:05.146 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:17:19 -0500 (0:00:00.030) 0:00:05.177 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:17:19 -0500 (0:00:00.050) 0:00:05.227 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:17:19 -0500 (0:00:00.038) 0:00:05.266 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:17:19 -0500 (0:00:00.040) 0:00:05.306 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:17:19 -0500 (0:00:00.022) 0:00:05.329 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:17:19 -0500 (0:00:00.022) 0:00:05.352 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:17:22 -0500 (0:00:02.853) 0:00:08.205 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:17:23 -0500 (0:00:01.209) 0:00:09.415 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:17:23 -0500 (0:00:00.041) 0:00:09.457 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:17:23 -0500 (0:00:00.038) 0:00:09.496 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:17:23 -0500 (0:00:00.038) 0:00:09.534 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:17:23 -0500 (0:00:00.060) 0:00:09.595 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:17:23 -0500 (0:00:00.071) 0:00:09.667 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:17:23 -0500 (0:00:00.062) 0:00:09.729 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:17:23 -0500 (0:00:00.104) 0:00:09.833 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:17:23 -0500 (0:00:00.113) 0:00:09.947 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:17:23 -0500 (0:00:00.039) 0:00:09.987 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:17:23 -0500 (0:00:00.040) 0:00:10.027 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:17:23 -0500 (0:00:00.069) 0:00:10.097 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:17:24 -0500 (0:00:00.882) 0:00:10.979 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:17:24 -0500 (0:00:00.071) 0:00:11.050 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:17:24 -0500 (0:00:00.039) 0:00:11.090 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:17:25 -0500 (0:00:00.037) 0:00:11.127 ******** changed: [managed-node1] => { "_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, f926c057-3b7d-4aea-9233-76775d848ef2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:17:25 -0500 (0:00:00.834) 0:00:11.962 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:17:25 -0500 (0:00:00.039) 0:00:12.001 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f926c057-3b7d-4aea-9233-76775d848ef2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:17:25 -0500 (0:00:00.042) 0:00:12.044 ******** ok: [managed-node1] => { "__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, f926c057-3b7d-4aea-9233-76775d848ef2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f926c057-3b7d-4aea-9233-76775d848ef2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:17:25 -0500 (0:00:00.044) 0:00:12.089 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:17:26 -0500 (0:00:00.038) 0:00:12.128 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:17:26 -0500 (0:00:00.538) 0:00:12.666 ******** ok: [managed-node1] => { "__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, f926c057-3b7d-4aea-9233-76775d848ef2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f926c057-3b7d-4aea-9233-76775d848ef2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:17:26 -0500 (0:00:00.080) 0:00:12.747 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:17:26 -0500 (0:00:00.075) 0:00:12.822 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:17:26 -0500 (0:00:00.074) 0:00:12.897 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:17:26 -0500 (0:00:00.044) 0:00:12.941 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:17:27 -0500 (0:00:00.443) 0:00:13.384 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:17:27 -0500 (0:00:00.040) 0:00:13.424 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022222", "end": "2025-01-06 10:17:27.693413", "rc": 0, "start": "2025-01-06 10:17:27.671191" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:17:27 -0500 (0:00:00.445) 0:00:13.870 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:17:27 -0500 (0:00:00.043) 0:00:13.913 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:17:27 -0500 (0:00:00.040) 0:00:13.954 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:17:27 -0500 (0:00:00.046) 0:00:14.001 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:17:27 -0500 (0:00:00.054) 0:00:14.055 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:17:27 -0500 (0:00:00.040) 0:00:14.096 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:17:28 -0500 (0:00:00.045) 0:00:14.142 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:17:28 -0500 (0:00:00.044) 0:00:14.186 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:17:28 -0500 (0:00:00.080) 0:00:14.266 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:17:28 -0500 (0:00:00.098) 0:00:14.365 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:17:28 -0500 (0:00:00.065) 0:00:14.431 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736176645.735834, "block_size": 4096, "blocks": 0, "ctime": 1736176645.735834, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 46373, "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": 1736176645.735834, "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:17:28 -0500 (0:00:00.420) 0:00:14.851 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:17:28 -0500 (0:00:00.044) 0:00:14.896 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:17:28 -0500 (0:00:00.043) 0:00:14.939 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:17:28 -0500 (0:00:00.075) 0:00:15.014 ******** fatal: [managed-node1]: 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.060828", "end": "2025-01-06 10:17:29.318938", "rc": 1, "start": "2025-01-06 10:17:29.258110" } STDOUT: Connection 'statebr' (f926c057-3b7d-4aea-9233-76775d848ef2) 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 06 January 2025 10:17:29 -0500 (0:00:00.479) 0:00:15.493 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:17:29 -0500 (0:00:00.070) 0:00:15.564 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:17:29 -0500 (0:00:00.042) 0:00:15.607 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:17:29 -0500 (0:00:00.076) 0:00:15.683 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:17:29 -0500 (0:00:00.102) 0:00:15.786 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:17:29 -0500 (0:00:00.063) 0:00:15.850 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003596", "end": "2025-01-06 10:17:30.097684", "rc": 0, "start": "2025-01-06 10:17:30.094088" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:17:30 -0500 (0:00:00.423) 0:00:16.274 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:17:30 -0500 (0:00:00.043) 0:00:16.318 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:17:30 -0500 (0:00:00.042) 0:00:16.361 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 06 January 2025 10:17:30 -0500 (0:00:00.074) 0:00:16.435 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007120", "end": "2025-01-06 10:17:30.685106", "rc": 1, "start": "2025-01-06 10:17:30.677986" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:17:30 -0500 (0:00:00.425) 0:00:16.861 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:17:30 -0500 (0:00:00.067) 0:00:16.928 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:17:31 -0500 (0:00:00.426) 0:00:17.354 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:17:31 -0500 (0:00:00.043) 0:00:17.397 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 06 January 2025 10:17:31 -0500 (0:00:00.107) 0:00:17.505 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:17:31 -0500 (0:00:00.086) 0:00:17.591 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:17:31 -0500 (0:00:00.079) 0:00:17.671 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:17:31 -0500 (0:00:00.069) 0:00:17.740 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:17:31 -0500 (0:00:00.045) 0:00:17.785 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:17:31 -0500 (0:00:00.045) 0:00:17.830 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:17:34 -0500 (0:00:02.754) 0:00:20.585 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:17:35 -0500 (0:00:00.997) 0:00:21.582 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:17:35 -0500 (0:00:00.044) 0:00:21.627 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:17:35 -0500 (0:00:00.041) 0:00:21.668 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:17:35 -0500 (0:00:00.039) 0:00:21.708 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:17:35 -0500 (0:00:00.111) 0:00:21.819 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:17:35 -0500 (0:00:00.075) 0:00:21.894 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:17:35 -0500 (0:00:00.062) 0:00:21.957 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:17:35 -0500 (0:00:00.077) 0:00:22.035 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:17:36 -0500 (0:00:00.106) 0:00:22.141 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:17:36 -0500 (0:00:00.039) 0:00:22.181 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:17:36 -0500 (0:00:00.041) 0:00:22.223 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:17:36 -0500 (0:00:00.097) 0:00:22.321 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:17:36 -0500 (0:00:00.685) 0:00:23.006 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:17:36 -0500 (0:00:00.075) 0:00:23.082 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:17:37 -0500 (0:00:00.041) 0:00:23.123 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:17:37 -0500 (0:00:00.040) 0:00:23.164 ******** changed: [managed-node1] => { "_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, ddf9cc70-7d34-4336-bbaf-f5df8351c966 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:17:37 -0500 (0:00:00.645) 0:00:23.810 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:17:37 -0500 (0:00:00.039) 0:00:23.849 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddf9cc70-7d34-4336-bbaf-f5df8351c966" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:17:37 -0500 (0:00:00.043) 0:00:23.893 ******** ok: [managed-node1] => { "__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, ddf9cc70-7d34-4336-bbaf-f5df8351c966\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddf9cc70-7d34-4336-bbaf-f5df8351c966" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:17:37 -0500 (0:00:00.044) 0:00:23.937 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:17:37 -0500 (0:00:00.077) 0:00:24.015 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 06 January 2025 10:17:38 -0500 (0:00:00.441) 0:00:24.457 ******** ok: [managed-node1] => { "__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, ddf9cc70-7d34-4336-bbaf-f5df8351c966\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddf9cc70-7d34-4336-bbaf-f5df8351c966" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:17:38 -0500 (0:00:00.045) 0:00:24.502 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:17:38 -0500 (0:00:00.079) 0:00:24.581 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:17:38 -0500 (0:00:00.065) 0:00:24.647 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:17:38 -0500 (0:00:00.425) 0:00:25.072 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:17:39 -0500 (0:00:00.044) 0:00:25.117 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:17:39 -0500 (0:00:00.071) 0:00:25.188 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:17:39 -0500 (0:00:00.043) 0:00:25.232 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:17:39 -0500 (0:00:00.425) 0:00:25.657 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:17:39 -0500 (0:00:00.038) 0:00:25.696 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021879", "end": "2025-01-06 10:17:39.959153", "rc": 0, "start": "2025-01-06 10:17:39.937274" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:17:40 -0500 (0:00:00.479) 0:00:26.175 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:17:40 -0500 (0:00:00.044) 0:00:26.220 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:17:40 -0500 (0:00:00.041) 0:00:26.261 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:17:40 -0500 (0:00:00.041) 0:00:26.302 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:17:40 -0500 (0:00:00.041) 0:00:26.344 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:17:40 -0500 (0:00:00.039) 0:00:26.384 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:17:40 -0500 (0:00:00.051) 0:00:26.435 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:17:40 -0500 (0:00:00.062) 0:00:26.498 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:17:40 -0500 (0:00:00.043) 0:00:26.541 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:17:40 -0500 (0:00:00.063) 0:00:26.605 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:17:40 -0500 (0:00:00.043) 0:00:26.649 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:17:40 -0500 (0:00:00.074) 0:00:26.724 ******** fatal: [managed-node1]: 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.043715", "end": "2025-01-06 10:17:41.013074", "rc": 1, "start": "2025-01-06 10:17:40.969359" } STDOUT: Connection 'statebr' (ddf9cc70-7d34-4336-bbaf-f5df8351c966) 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 06 January 2025 10:17:41 -0500 (0:00:00.465) 0:00:27.190 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:17:41 -0500 (0:00:00.068) 0:00:27.258 ******** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:17:41 -0500 (0:00:00.082) 0:00:27.340 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:17:41 -0500 (0:00:00.079) 0:00:27.420 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:17:41 -0500 (0:00:00.074) 0:00:27.495 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:17:41 -0500 (0:00:00.077) 0:00:27.572 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2025-01-06 10:17:41.817916", "rc": 0, "start": "2025-01-06 10:17:41.814387" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:17:41 -0500 (0:00:00.423) 0:00:27.995 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:17:41 -0500 (0:00:00.042) 0:00:28.038 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:17:41 -0500 (0:00:00.043) 0:00:28.082 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:17:42 -0500 (0:00:00.069) 0:00:28.151 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:17:42 -0500 (0:00:00.086) 0:00:28.238 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:17:42 -0500 (0:00:00.078) 0:00:28.317 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:17:42 -0500 (0:00:00.151) 0:00:28.468 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:17:42 -0500 (0:00:00.046) 0:00:28.514 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:17:42 -0500 (0:00:00.068) 0:00:28.583 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:17:45 -0500 (0:00:02.781) 0:00:31.364 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:17:46 -0500 (0:00:00.990) 0:00:32.354 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:17:46 -0500 (0:00:00.045) 0:00:32.399 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:17:46 -0500 (0:00:00.039) 0:00:32.439 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:17:46 -0500 (0:00:00.040) 0:00:32.480 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:17:46 -0500 (0:00:00.062) 0:00:32.543 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:17:46 -0500 (0:00:00.072) 0:00:32.616 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:17:46 -0500 (0:00:00.076) 0:00:32.692 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:17:46 -0500 (0:00:00.080) 0:00:32.772 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:17:46 -0500 (0:00:00.102) 0:00:32.875 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:17:46 -0500 (0:00:00.084) 0:00:32.960 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:17:46 -0500 (0:00:00.041) 0:00:33.002 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:17:46 -0500 (0:00:00.070) 0:00:33.073 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:17:47 -0500 (0:00:00.674) 0:00:33.748 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:17:47 -0500 (0:00:00.081) 0:00:33.829 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:17:47 -0500 (0:00:00.041) 0:00:33.870 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:17:47 -0500 (0:00:00.039) 0:00:33.909 ******** changed: [managed-node1] => { "_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, b0c282f2-d524-4941-ad44-35c5a368dd8a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:17:48 -0500 (0:00:00.682) 0:00:34.592 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:17:48 -0500 (0:00:00.041) 0:00:34.634 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0c282f2-d524-4941-ad44-35c5a368dd8a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:17:48 -0500 (0:00:00.044) 0:00:34.679 ******** ok: [managed-node1] => { "__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, b0c282f2-d524-4941-ad44-35c5a368dd8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0c282f2-d524-4941-ad44-35c5a368dd8a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:17:48 -0500 (0:00:00.046) 0:00:34.726 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:17:48 -0500 (0:00:00.041) 0:00:34.767 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:17:49 -0500 (0:00:00.448) 0:00:35.215 ******** ok: [managed-node1] => { "__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, b0c282f2-d524-4941-ad44-35c5a368dd8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0c282f2-d524-4941-ad44-35c5a368dd8a" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:17:49 -0500 (0:00:00.046) 0:00:35.261 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:17:49 -0500 (0:00:00.115) 0:00:35.377 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:17:49 -0500 (0:00:00.088) 0:00:35.466 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:17:49 -0500 (0:00:00.079) 0:00:35.546 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:17:49 -0500 (0:00:00.072) 0:00:35.618 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:17:49 -0500 (0:00:00.046) 0:00:35.664 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:17:49 -0500 (0:00:00.045) 0:00:35.710 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:17:52 -0500 (0:00:02.741) 0:00:38.452 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:17:53 -0500 (0:00:00.992) 0:00:39.445 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:17:53 -0500 (0:00:00.044) 0:00:39.489 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:17:53 -0500 (0:00:00.041) 0:00:39.530 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:17:53 -0500 (0:00:00.084) 0:00:39.615 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:17:53 -0500 (0:00:00.063) 0:00:39.679 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:17:53 -0500 (0:00:00.078) 0:00:39.757 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:17:53 -0500 (0:00:00.063) 0:00:39.821 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:17:53 -0500 (0:00:00.071) 0:00:39.893 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:17:53 -0500 (0:00:00.128) 0:00:40.022 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:17:53 -0500 (0:00:00.042) 0:00:40.064 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:17:54 -0500 (0:00:00.040) 0:00:40.104 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:17:54 -0500 (0:00:00.075) 0:00:40.180 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:17:54 -0500 (0:00:00.671) 0:00:40.852 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:17:54 -0500 (0:00:00.072) 0:00:40.924 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:17:54 -0500 (0:00:00.040) 0:00:40.964 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:17:54 -0500 (0:00:00.046) 0:00:41.010 ******** ok: [managed-node1] => { "_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, b0c282f2-d524-4941-ad44-35c5a368dd8a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:17:55 -0500 (0:00:00.637) 0:00:41.648 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:17:55 -0500 (0:00:00.039) 0:00:41.688 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0c282f2-d524-4941-ad44-35c5a368dd8a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:17:55 -0500 (0:00:00.045) 0:00:41.733 ******** ok: [managed-node1] => { "__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, b0c282f2-d524-4941-ad44-35c5a368dd8a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0c282f2-d524-4941-ad44-35c5a368dd8a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:17:55 -0500 (0:00:00.089) 0:00:41.823 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:17:55 -0500 (0:00:00.040) 0:00:41.863 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:17:56 -0500 (0:00:00.440) 0:00:42.304 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:17:56 -0500 (0:00:00.079) 0:00:42.384 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:17:56 -0500 (0:00:00.067) 0:00:42.451 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736176668.3571646, "block_size": 4096, "blocks": 0, "ctime": 1736176668.3571646, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 46498, "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": 1736176668.3571646, "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:17:56 -0500 (0:00:00.422) 0:00:42.873 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 January 2025 10:17:56 -0500 (0:00:00.046) 0:00:42.919 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:17:56 -0500 (0:00:00.073) 0:00:42.993 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:17:56 -0500 (0:00:00.042) 0:00:43.036 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:17:57 -0500 (0:00:00.425) 0:00:43.462 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:17:57 -0500 (0:00:00.040) 0:00:43.503 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022219", "end": "2025-01-06 10:17:57.770438", "rc": 0, "start": "2025-01-06 10:17:57.748219" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:17:57 -0500 (0:00:00.443) 0:00:43.946 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:17:57 -0500 (0:00:00.087) 0:00:44.033 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:17:57 -0500 (0:00:00.042) 0:00:44.076 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:17:58 -0500 (0:00:00.041) 0:00:44.117 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:17:58 -0500 (0:00:00.063) 0:00:44.181 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 January 2025 10:17:58 -0500 (0:00:00.042) 0:00:44.223 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 January 2025 10:17:58 -0500 (0:00:00.047) 0:00:44.270 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 January 2025 10:17:58 -0500 (0:00:00.045) 0:00:44.316 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:17:58 -0500 (0:00:00.046) 0:00:44.362 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:17:58 -0500 (0:00:00.060) 0:00:44.423 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:17:58 -0500 (0:00:00.043) 0:00:44.466 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:17:58 -0500 (0:00:00.075) 0:00:44.542 ******** ok: [managed-node1] => { "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.057940", "end": "2025-01-06 10:17:58.845868", "rc": 0, "start": "2025-01-06 10:17:58.787928" } STDOUT: Connection 'statebr' (b0c282f2-d524-4941-ad44-35c5a368dd8a) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 06 January 2025 10:17:58 -0500 (0:00:00.486) 0:00:45.028 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:17:59 -0500 (0:00:00.071) 0:00:45.100 ******** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:17:59 -0500 (0:00:00.095) 0:00:45.196 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:17:59 -0500 (0:00:00.089) 0:00:45.285 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:17:59 -0500 (0:00:00.068) 0:00:45.353 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:17:59 -0500 (0:00:00.065) 0:00:45.419 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2025-01-06 10:17:59.669861", "rc": 0, "start": "2025-01-06 10:17:59.666201" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:17:59 -0500 (0:00:00.428) 0:00:45.847 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:17:59 -0500 (0:00:00.045) 0:00:45.892 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:17:59 -0500 (0:00:00.043) 0:00:45.936 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:17:59 -0500 (0:00:00.075) 0:00:46.012 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:00 -0500 (0:00:00.086) 0:00:46.099 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:00 -0500 (0:00:00.081) 0:00:46.180 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:00 -0500 (0:00:00.139) 0:00:46.320 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:00 -0500 (0:00:00.047) 0:00:46.367 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:00 -0500 (0:00:00.048) 0:00:46.415 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:03 -0500 (0:00:02.756) 0:00:49.172 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:04 -0500 (0:00:00.998) 0:00:50.171 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:04 -0500 (0:00:00.044) 0:00:50.216 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:04 -0500 (0:00:00.040) 0:00:50.256 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:04 -0500 (0:00:00.039) 0:00:50.296 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:04 -0500 (0:00:00.066) 0:00:50.363 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:04 -0500 (0:00:00.092) 0:00:50.455 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:04 -0500 (0:00:00.060) 0:00:50.515 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:04 -0500 (0:00:00.073) 0:00:50.589 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:04 -0500 (0:00:00.105) 0:00:50.695 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:04 -0500 (0:00:00.038) 0:00:50.734 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:04 -0500 (0:00:00.086) 0:00:50.820 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:04 -0500 (0:00:00.074) 0:00:50.894 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:05 -0500 (0:00:00.660) 0:00:51.555 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:05 -0500 (0:00:00.070) 0:00:51.626 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:05 -0500 (0:00:00.040) 0:00:51.667 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:05 -0500 (0:00:00.041) 0:00:51.708 ******** changed: [managed-node1] => { "_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, 663ed8de-92cb-43d5-96ba-ae12d81ec431 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:06 -0500 (0:00:00.667) 0:00:52.376 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:06 -0500 (0:00:00.041) 0:00:52.417 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 663ed8de-92cb-43d5-96ba-ae12d81ec431" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:06 -0500 (0:00:00.054) 0:00:52.472 ******** ok: [managed-node1] => { "__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, 663ed8de-92cb-43d5-96ba-ae12d81ec431\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 663ed8de-92cb-43d5-96ba-ae12d81ec431" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:06 -0500 (0:00:00.058) 0:00:52.530 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:06 -0500 (0:00:00.039) 0:00:52.570 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:18:06 -0500 (0:00:00.442) 0:00:53.012 ******** ok: [managed-node1] => { "__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, 663ed8de-92cb-43d5-96ba-ae12d81ec431\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 663ed8de-92cb-43d5-96ba-ae12d81ec431" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:18:06 -0500 (0:00:00.044) 0:00:53.057 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:07 -0500 (0:00:00.128) 0:00:53.186 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:07 -0500 (0:00:00.081) 0:00:53.267 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:07 -0500 (0:00:00.067) 0:00:53.335 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:07 -0500 (0:00:00.046) 0:00:53.381 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:07 -0500 (0:00:00.046) 0:00:53.428 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:10 -0500 (0:00:02.716) 0:00:56.144 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:11 -0500 (0:00:00.985) 0:00:57.130 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:11 -0500 (0:00:00.044) 0:00:57.175 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:11 -0500 (0:00:00.039) 0:00:57.214 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:11 -0500 (0:00:00.040) 0:00:57.255 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:11 -0500 (0:00:00.064) 0:00:57.319 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:11 -0500 (0:00:00.073) 0:00:57.393 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:11 -0500 (0:00:00.162) 0:00:57.556 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:11 -0500 (0:00:00.072) 0:00:57.628 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:11 -0500 (0:00:00.121) 0:00:57.749 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:11 -0500 (0:00:00.040) 0:00:57.790 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:11 -0500 (0:00:00.041) 0:00:57.831 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:11 -0500 (0:00:00.071) 0:00:57.902 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:12 -0500 (0:00:00.669) 0:00:58.572 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:12 -0500 (0:00:00.073) 0:00:58.646 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:12 -0500 (0:00:00.041) 0:00:58.687 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:12 -0500 (0:00:00.058) 0:00:58.746 ******** ok: [managed-node1] => { "_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, 663ed8de-92cb-43d5-96ba-ae12d81ec431 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:13 -0500 (0:00:00.624) 0:00:59.370 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:13 -0500 (0:00:00.040) 0:00:59.411 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 663ed8de-92cb-43d5-96ba-ae12d81ec431 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:13 -0500 (0:00:00.044) 0:00:59.455 ******** ok: [managed-node1] => { "__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, 663ed8de-92cb-43d5-96ba-ae12d81ec431 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 663ed8de-92cb-43d5-96ba-ae12d81ec431 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:13 -0500 (0:00:00.045) 0:00:59.501 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:13 -0500 (0:00:00.041) 0:00:59.542 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:18:13 -0500 (0:00:00.478) 0:01:00.020 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 06 January 2025 10:18:13 -0500 (0:00:00.073) 0:01:00.093 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:14 -0500 (0:00:00.085) 0:01:00.179 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:14 -0500 (0:00:00.079) 0:01:00.259 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:14 -0500 (0:00:00.068) 0:01:00.328 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:14 -0500 (0:00:00.046) 0:01:00.374 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:14 -0500 (0:00:00.045) 0:01:00.420 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:17 -0500 (0:00:02.719) 0:01:03.140 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:18 -0500 (0:00:00.989) 0:01:04.129 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:18 -0500 (0:00:00.088) 0:01:04.217 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:18 -0500 (0:00:00.039) 0:01:04.257 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:18 -0500 (0:00:00.040) 0:01:04.297 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:18 -0500 (0:00:00.063) 0:01:04.361 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:18 -0500 (0:00:00.074) 0:01:04.435 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:18 -0500 (0:00:00.060) 0:01:04.496 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:18 -0500 (0:00:00.075) 0:01:04.572 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:18 -0500 (0:00:00.104) 0:01:04.676 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:18 -0500 (0:00:00.040) 0:01:04.717 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:18 -0500 (0:00:00.040) 0:01:04.757 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:18 -0500 (0:00:00.071) 0:01:04.829 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:19 -0500 (0:00:00.670) 0:01:05.499 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:19 -0500 (0:00:00.076) 0:01:05.576 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:19 -0500 (0:00:00.041) 0:01:05.617 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:19 -0500 (0:00:00.039) 0:01:05.657 ******** changed: [managed-node1] => { "_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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:20 -0500 (0:00:00.703) 0:01:06.360 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:20 -0500 (0:00:00.081) 0:01:06.442 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:20 -0500 (0:00:00.045) 0:01:06.488 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:20 -0500 (0:00:00.045) 0:01:06.533 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:20 -0500 (0:00:00.040) 0:01:06.574 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:18:20 -0500 (0:00:00.462) 0:01:07.036 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 January 2025 10:18:21 -0500 (0:00:00.079) 0:01:07.116 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:18:21 -0500 (0:00:00.065) 0:01:07.181 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736176686.1550822, "block_size": 4096, "blocks": 0, "ctime": 1736176686.1550822, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 46623, "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": 1736176686.1550822, "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 January 2025 10:18:21 -0500 (0:00:00.417) 0:01:07.599 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:18:21 -0500 (0:00:00.045) 0:01:07.644 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:18:21 -0500 (0:00:00.072) 0:01:07.717 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:18:21 -0500 (0:00:00.044) 0:01:07.762 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:18:22 -0500 (0:00:00.418) 0:01:08.181 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:18:22 -0500 (0:00:00.083) 0:01:08.265 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021677", "end": "2025-01-06 10:18:22.532584", "rc": 1, "start": "2025-01-06 10:18:22.510907" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:18:22 -0500 (0:00:00.444) 0:01:08.709 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:18:22 -0500 (0:00:00.042) 0:01:08.751 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:18:22 -0500 (0:00:00.040) 0:01:08.792 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:18:22 -0500 (0:00:00.041) 0:01:08.834 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:18:22 -0500 (0:00:00.041) 0:01:08.876 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:18:22 -0500 (0:00:00.040) 0:01:08.917 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:18:22 -0500 (0:00:00.045) 0:01:08.962 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:18:22 -0500 (0:00:00.059) 0:01:09.022 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:18:22 -0500 (0:00:00.055) 0:01:09.078 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:18:23 -0500 (0:00:00.082) 0:01:09.161 ******** fatal: [managed-node1]: 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.070490", "end": "2025-01-06 10:18:23.473576", "rc": 1, "start": "2025-01-06 10:18:23.403086" } STDOUT: Connection 'statebr' (663ed8de-92cb-43d5-96ba-ae12d81ec431) 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 06 January 2025 10:18:23 -0500 (0:00:00.490) 0:01:09.652 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:18:23 -0500 (0:00:00.069) 0:01:09.721 ******** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:18:23 -0500 (0:00:00.085) 0:01:09.807 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:18:23 -0500 (0:00:00.081) 0:01:09.888 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:18:23 -0500 (0:00:00.065) 0:01:09.954 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:18:23 -0500 (0:00:00.065) 0:01:10.019 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2025-01-06 10:18:24.274759", "rc": 0, "start": "2025-01-06 10:18:24.271165" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:18:24 -0500 (0:00:00.433) 0:01:10.452 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:18:24 -0500 (0:00:00.046) 0:01:10.498 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:18:24 -0500 (0:00:00.045) 0:01:10.544 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:18:24 -0500 (0:00:00.078) 0:01:10.623 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:24 -0500 (0:00:00.089) 0:01:10.712 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:24 -0500 (0:00:00.079) 0:01:10.791 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:24 -0500 (0:00:00.167) 0:01:10.958 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:24 -0500 (0:00:00.047) 0:01:11.006 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:24 -0500 (0:00:00.045) 0:01:11.051 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:27 -0500 (0:00:02.665) 0:01:13.717 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:28 -0500 (0:00:00.988) 0:01:14.705 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:28 -0500 (0:00:00.044) 0:01:14.750 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:28 -0500 (0:00:00.041) 0:01:14.791 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:28 -0500 (0:00:00.040) 0:01:14.831 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:28 -0500 (0:00:00.063) 0:01:14.895 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:28 -0500 (0:00:00.078) 0:01:14.973 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:28 -0500 (0:00:00.063) 0:01:15.037 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:29 -0500 (0:00:00.071) 0:01:15.108 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:29 -0500 (0:00:00.107) 0:01:15.216 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:29 -0500 (0:00:00.103) 0:01:15.319 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:29 -0500 (0:00:00.041) 0:01:15.361 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:29 -0500 (0:00:00.076) 0:01:15.437 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:30 -0500 (0:00:00.669) 0:01:16.107 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:30 -0500 (0:00:00.073) 0:01:16.180 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:30 -0500 (0:00:00.039) 0:01:16.220 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:30 -0500 (0:00:00.042) 0:01:16.262 ******** changed: [managed-node1] => { "_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, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:30 -0500 (0:00:00.685) 0:01:16.947 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:30 -0500 (0:00:00.040) 0:01:16.987 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:30 -0500 (0:00:00.046) 0:01:17.034 ******** ok: [managed-node1] => { "__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, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:30 -0500 (0:00:00.047) 0:01:17.081 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:31 -0500 (0:00:00.040) 0:01:17.122 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:18:31 -0500 (0:00:00.443) 0:01:17.565 ******** ok: [managed-node1] => { "__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, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:18:31 -0500 (0:00:00.045) 0:01:17.610 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:31 -0500 (0:00:00.135) 0:01:17.745 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:31 -0500 (0:00:00.082) 0:01:17.828 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:31 -0500 (0:00:00.069) 0:01:17.898 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:31 -0500 (0:00:00.045) 0:01:17.943 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:31 -0500 (0:00:00.047) 0:01:17.991 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:35 -0500 (0:00:03.702) 0:01:21.693 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:36 -0500 (0:00:00.996) 0:01:22.689 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:36 -0500 (0:00:00.045) 0:01:22.735 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:36 -0500 (0:00:00.040) 0:01:22.775 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:36 -0500 (0:00:00.041) 0:01:22.817 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:36 -0500 (0:00:00.064) 0:01:22.881 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:36 -0500 (0:00:00.073) 0:01:22.955 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:37 -0500 (0:00:00.166) 0:01:23.121 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:37 -0500 (0:00:00.075) 0:01:23.196 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:37 -0500 (0:00:00.104) 0:01:23.301 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:37 -0500 (0:00:00.039) 0:01:23.341 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:37 -0500 (0:00:00.041) 0:01:23.382 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:37 -0500 (0:00:00.073) 0:01:23.456 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:38 -0500 (0:00:00.664) 0:01:24.120 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:38 -0500 (0:00:00.077) 0:01:24.197 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:38 -0500 (0:00:00.042) 0:01:24.240 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:38 -0500 (0:00:00.040) 0:01:24.281 ******** ok: [managed-node1] => { "_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, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:38 -0500 (0:00:00.631) 0:01:24.912 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:38 -0500 (0:00:00.041) 0:01:24.953 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:38 -0500 (0:00:00.045) 0:01:24.999 ******** ok: [managed-node1] => { "__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, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b6c16d1-b4ce-40c7-9c51-7e8a427377f2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:38 -0500 (0:00:00.045) 0:01:25.044 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:38 -0500 (0:00:00.041) 0:01:25.085 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 06 January 2025 10:18:39 -0500 (0:00:00.489) 0:01:25.574 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:39 -0500 (0:00:00.109) 0:01:25.684 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:39 -0500 (0:00:00.080) 0:01:25.765 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:39 -0500 (0:00:00.072) 0:01:25.837 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:39 -0500 (0:00:00.047) 0:01:25.885 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:39 -0500 (0:00:00.044) 0:01:25.930 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:42 -0500 (0:00:02.752) 0:01:28.682 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:43 -0500 (0:00:00.988) 0:01:29.671 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:43 -0500 (0:00:00.044) 0:01:29.716 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:43 -0500 (0:00:00.041) 0:01:29.758 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:43 -0500 (0:00:00.112) 0:01:29.870 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:43 -0500 (0:00:00.065) 0:01:29.936 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:43 -0500 (0:00:00.074) 0:01:30.010 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:43 -0500 (0:00:00.067) 0:01:30.078 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:44 -0500 (0:00:00.074) 0:01:30.152 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:44 -0500 (0:00:00.103) 0:01:30.256 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:44 -0500 (0:00:00.042) 0:01:30.298 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:44 -0500 (0:00:00.041) 0:01:30.340 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:44 -0500 (0:00:00.072) 0:01:30.412 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:44 -0500 (0:00:00.659) 0:01:31.072 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:45 -0500 (0:00:00.074) 0:01:31.146 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:45 -0500 (0:00:00.039) 0:01:31.186 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:45 -0500 (0:00:00.040) 0:01:31.227 ******** changed: [managed-node1] => { "_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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:45 -0500 (0:00:00.681) 0:01:31.909 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:45 -0500 (0:00:00.041) 0:01:31.950 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:45 -0500 (0:00:00.045) 0:01:31.996 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:45 -0500 (0:00:00.101) 0:01:32.097 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:46 -0500 (0:00:00.042) 0:01:32.140 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:18:46 -0500 (0:00:00.440) 0:01:32.580 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:18:46 -0500 (0:00:00.076) 0:01:32.656 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:46 -0500 (0:00:00.089) 0:01:32.746 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:46 -0500 (0:00:00.083) 0:01:32.829 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:46 -0500 (0:00:00.071) 0:01:32.900 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:46 -0500 (0:00:00.069) 0:01:32.970 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:46 -0500 (0:00:00.047) 0:01:33.017 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:18:49 -0500 (0:00:02.727) 0:01:35.744 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:18:50 -0500 (0:00:01.097) 0:01:36.842 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:18:50 -0500 (0:00:00.047) 0:01:36.889 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:18:50 -0500 (0:00:00.041) 0:01:36.931 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:18:50 -0500 (0:00:00.042) 0:01:36.973 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:18:50 -0500 (0:00:00.065) 0:01:37.039 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:18:51 -0500 (0:00:00.094) 0:01:37.133 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:18:51 -0500 (0:00:00.068) 0:01:37.202 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:18:51 -0500 (0:00:00.073) 0:01:37.276 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:18:51 -0500 (0:00:00.103) 0:01:37.379 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:18:51 -0500 (0:00:00.042) 0:01:37.421 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:18:51 -0500 (0:00:00.042) 0:01:37.464 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:18:51 -0500 (0:00:00.071) 0:01:37.536 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:18:52 -0500 (0:00:00.667) 0:01:38.203 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:18:52 -0500 (0:00:00.074) 0:01:38.277 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:18:52 -0500 (0:00:00.040) 0:01:38.318 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:18:52 -0500 (0:00:00.090) 0:01:38.408 ******** changed: [managed-node1] => { "_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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:18:53 -0500 (0:00:00.711) 0:01:39.120 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:18:53 -0500 (0:00:00.063) 0:01:39.183 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:18:53 -0500 (0:00:00.047) 0:01:39.231 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:18:53 -0500 (0:00:00.047) 0:01:39.278 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:18:53 -0500 (0:00:00.042) 0:01:39.321 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:18:53 -0500 (0:00:00.443) 0:01:39.765 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:18:53 -0500 (0:00:00.077) 0:01:39.842 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:18:53 -0500 (0:00:00.073) 0:01:39.915 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:18:53 -0500 (0:00:00.045) 0:01:39.960 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:18:54 -0500 (0:00:00.419) 0:01:40.379 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:18:54 -0500 (0:00:00.041) 0:01:40.421 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021264", "end": "2025-01-06 10:18:54.685141", "rc": 1, "start": "2025-01-06 10:18:54.663877" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:18:54 -0500 (0:00:00.490) 0:01:40.912 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:18:54 -0500 (0:00:00.043) 0:01:40.956 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:18:54 -0500 (0:00:00.043) 0:01:40.999 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:18:54 -0500 (0:00:00.042) 0:01:41.041 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:18:54 -0500 (0:00:00.042) 0:01:41.084 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:18:55 -0500 (0:00:00.041) 0:01:41.126 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:18:55 -0500 (0:00:00.047) 0:01:41.173 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:18:55 -0500 (0:00:00.122) 0:01:41.295 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:18:55 -0500 (0:00:00.069) 0:01:41.365 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:18:55 -0500 (0:00:00.419) 0:01:41.784 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:18:55 -0500 (0:00:00.046) 0:01:41.830 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:18:55 -0500 (0:00:00.045) 0:01:41.876 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:18:55 -0500 (0:00:00.077) 0:01:41.953 ******** fatal: [managed-node1]: 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.040591", "end": "2025-01-06 10:18:56.236410", "rc": 1, "start": "2025-01-06 10:18:56.195819" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 06 January 2025 10:18:56 -0500 (0:00:00.509) 0:01:42.463 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 January 2025 10:18:56 -0500 (0:00:00.073) 0:01:42.536 ******** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 January 2025 10:18:56 -0500 (0:00:00.044) 0:01:42.581 ******** ok: [managed-node1] => (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-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 January 2025 10:18:56 -0500 (0:00:00.088) 0:01:42.669 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 January 2025 10:18:56 -0500 (0:00:00.069) 0:01:42.738 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 January 2025 10:18:56 -0500 (0:00:00.065) 0:01:42.804 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003977", "end": "2025-01-06 10:18:57.049344", "rc": 0, "start": "2025-01-06 10:18:57.045367" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 January 2025 10:18:57 -0500 (0:00:00.424) 0:01:43.229 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 January 2025 10:18:57 -0500 (0:00:00.045) 0:01:43.274 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 January 2025 10:18:57 -0500 (0:00:00.056) 0:01:43.331 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 06 January 2025 10:18:57 -0500 (0:00:00.092) 0:01:43.424 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:18:57 -0500 (0:00:00.137) 0:01:43.561 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:18:57 -0500 (0:00:00.082) 0:01:43.643 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:18:57 -0500 (0:00:00.073) 0:01:43.716 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:18:57 -0500 (0:00:00.046) 0:01:43.763 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:18:57 -0500 (0:00:00.048) 0:01:43.811 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:19:00 -0500 (0:00:02.747) 0:01:46.558 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:19:01 -0500 (0:00:01.009) 0:01:47.568 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:19:01 -0500 (0:00:00.046) 0:01:47.615 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:19:01 -0500 (0:00:00.042) 0:01:47.658 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:19:01 -0500 (0:00:00.041) 0:01:47.700 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:19:01 -0500 (0:00:00.070) 0:01:47.770 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:19:01 -0500 (0:00:00.136) 0:01:47.906 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:19:01 -0500 (0:00:00.064) 0:01:47.970 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:19:01 -0500 (0:00:00.077) 0:01:48.048 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:19:02 -0500 (0:00:00.106) 0:01:48.155 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:19:02 -0500 (0:00:00.039) 0:01:48.194 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:19:02 -0500 (0:00:00.041) 0:01:48.236 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:19:02 -0500 (0:00:00.073) 0:01:48.309 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:19:02 -0500 (0:00:00.682) 0:01:48.991 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:19:02 -0500 (0:00:00.076) 0:01:49.068 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:19:03 -0500 (0:00:00.041) 0:01:49.110 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:19:03 -0500 (0:00:00.040) 0:01:49.150 ******** changed: [managed-node1] => { "_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, 24950c00-e26f-459c-b679-73ef17a6c982 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:19:03 -0500 (0:00:00.682) 0:01:49.833 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:19:03 -0500 (0:00:00.040) 0:01:49.873 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24950c00-e26f-459c-b679-73ef17a6c982" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:19:03 -0500 (0:00:00.045) 0:01:49.919 ******** ok: [managed-node1] => { "__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, 24950c00-e26f-459c-b679-73ef17a6c982\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24950c00-e26f-459c-b679-73ef17a6c982" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:19:03 -0500 (0:00:00.045) 0:01:49.964 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:19:03 -0500 (0:00:00.041) 0:01:50.005 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 06 January 2025 10:19:04 -0500 (0:00:00.499) 0:01:50.505 ******** ok: [managed-node1] => { "__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, 24950c00-e26f-459c-b679-73ef17a6c982\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24950c00-e26f-459c-b679-73ef17a6c982" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 06 January 2025 10:19:04 -0500 (0:00:00.048) 0:01:50.553 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:19:04 -0500 (0:00:00.110) 0:01:50.663 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:19:04 -0500 (0:00:00.080) 0:01:50.744 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:19:04 -0500 (0:00:00.071) 0:01:50.816 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:19:04 -0500 (0:00:00.046) 0:01:50.862 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:19:04 -0500 (0:00:00.045) 0:01:50.907 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:19:07 -0500 (0:00:02.727) 0:01:53.635 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:19:08 -0500 (0:00:00.996) 0:01:54.631 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:19:08 -0500 (0:00:00.044) 0:01:54.676 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:19:08 -0500 (0:00:00.104) 0:01:54.781 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:19:08 -0500 (0:00:00.041) 0:01:54.822 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:19:08 -0500 (0:00:00.064) 0:01:54.887 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:19:08 -0500 (0:00:00.079) 0:01:54.966 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:19:08 -0500 (0:00:00.064) 0:01:55.031 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:19:09 -0500 (0:00:00.071) 0:01:55.102 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:19:09 -0500 (0:00:00.107) 0:01:55.210 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:19:09 -0500 (0:00:00.042) 0:01:55.252 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:19:09 -0500 (0:00:00.040) 0:01:55.293 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:19:09 -0500 (0:00:00.076) 0:01:55.370 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:19:09 -0500 (0:00:00.672) 0:01:56.042 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:19:10 -0500 (0:00:00.073) 0:01:56.115 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:19:10 -0500 (0:00:00.039) 0:01:56.155 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:19:10 -0500 (0:00:00.042) 0:01:56.198 ******** ok: [managed-node1] => { "_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, 24950c00-e26f-459c-b679-73ef17a6c982 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:19:10 -0500 (0:00:00.699) 0:01:56.897 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:19:10 -0500 (0:00:00.040) 0:01:56.937 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24950c00-e26f-459c-b679-73ef17a6c982 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:19:10 -0500 (0:00:00.097) 0:01:57.034 ******** ok: [managed-node1] => { "__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, 24950c00-e26f-459c-b679-73ef17a6c982 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24950c00-e26f-459c-b679-73ef17a6c982 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:19:10 -0500 (0:00:00.049) 0:01:57.083 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:19:11 -0500 (0:00:00.041) 0:01:57.125 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:19:11 -0500 (0:00:00.445) 0:01:57.570 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:19:11 -0500 (0:00:00.085) 0:01:57.656 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:19:11 -0500 (0:00:00.080) 0:01:57.737 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:19:11 -0500 (0:00:00.070) 0:01:57.808 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:19:11 -0500 (0:00:00.070) 0:01:57.878 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:19:11 -0500 (0:00:00.048) 0:01:57.926 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:19:14 -0500 (0:00:02.692) 0:02:00.619 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:19:15 -0500 (0:00:01.115) 0:02:01.735 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:19:15 -0500 (0:00:00.047) 0:02:01.782 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:19:15 -0500 (0:00:00.042) 0:02:01.824 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:19:15 -0500 (0:00:00.040) 0:02:01.865 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:19:15 -0500 (0:00:00.070) 0:02:01.935 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:19:15 -0500 (0:00:00.098) 0:02:02.033 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:19:15 -0500 (0:00:00.063) 0:02:02.097 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:19:16 -0500 (0:00:00.079) 0:02:02.176 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:19:16 -0500 (0:00:00.108) 0:02:02.284 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:19:16 -0500 (0:00:00.041) 0:02:02.326 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:19:16 -0500 (0:00:00.041) 0:02:02.368 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:19:16 -0500 (0:00:00.073) 0:02:02.441 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:19:17 -0500 (0:00:00.671) 0:02:03.113 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:19:17 -0500 (0:00:00.072) 0:02:03.185 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:19:17 -0500 (0:00:00.042) 0:02:03.227 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:19:17 -0500 (0:00:00.041) 0:02:03.269 ******** changed: [managed-node1] => { "_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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:19:18 -0500 (0:00:00.873) 0:02:04.143 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:19:18 -0500 (0:00:00.042) 0:02:04.185 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:19:18 -0500 (0:00:00.047) 0:02:04.233 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:19:18 -0500 (0:00:00.047) 0:02:04.281 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:19:18 -0500 (0:00:00.042) 0:02:04.323 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 January 2025 10:19:18 -0500 (0:00:00.448) 0:02:04.771 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 06 January 2025 10:19:18 -0500 (0:00:00.075) 0:02:04.847 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 January 2025 10:19:18 -0500 (0:00:00.090) 0:02:04.937 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 January 2025 10:19:18 -0500 (0:00:00.081) 0:02:05.018 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 January 2025 10:19:18 -0500 (0:00:00.073) 0:02:05.092 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 January 2025 10:19:19 -0500 (0:00:00.070) 0:02:05.162 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 January 2025 10:19:19 -0500 (0:00:00.105) 0:02:05.267 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 January 2025 10:19:21 -0500 (0:00:02.721) 0:02:07.989 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 January 2025 10:19:22 -0500 (0:00:00.999) 0:02:08.988 ******** ok: [managed-node1] => {} 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 January 2025 10:19:22 -0500 (0:00:00.045) 0:02:09.033 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 January 2025 10:19:22 -0500 (0:00:00.043) 0:02:09.077 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 January 2025 10:19:23 -0500 (0:00:00.042) 0:02:09.119 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 January 2025 10:19:23 -0500 (0:00:00.065) 0:02:09.185 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 January 2025 10:19:23 -0500 (0:00:00.095) 0:02:09.280 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 January 2025 10:19:23 -0500 (0:00:00.072) 0:02:09.352 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 January 2025 10:19:23 -0500 (0:00:00.073) 0:02:09.426 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 January 2025 10:19:23 -0500 (0:00:00.109) 0:02:09.535 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 January 2025 10:19:23 -0500 (0:00:00.042) 0:02:09.578 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 January 2025 10:19:23 -0500 (0:00:00.042) 0:02:09.620 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 January 2025 10:19:23 -0500 (0:00:00.136) 0:02:09.757 ******** ok: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 January 2025 10:19:24 -0500 (0:00:00.664) 0:02:10.422 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 January 2025 10:19:24 -0500 (0:00:00.074) 0:02:10.496 ******** skipping: [managed-node1] => { "censored": "the output 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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 January 2025 10:19:24 -0500 (0:00:00.043) 0:02:10.540 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 January 2025 10:19:24 -0500 (0:00:00.043) 0:02:10.584 ******** ok: [managed-node1] => { "_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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 January 2025 10:19:25 -0500 (0:00:00.655) 0:02:11.239 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 January 2025 10:19:25 -0500 (0:00:00.043) 0:02:11.283 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 January 2025 10:19:25 -0500 (0:00:00.048) 0:02:11.331 ******** ok: [managed-node1] => { "__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-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 January 2025 10:19:25 -0500 (0:00:00.069) 0:02:11.401 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 January 2025 10:19:25 -0500 (0:00:00.040) 0:02:11.442 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 January 2025 10:19:25 -0500 (0:00:00.447) 0:02:11.889 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 06 January 2025 10:19:25 -0500 (0:00:00.081) 0:02:11.970 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 January 2025 10:19:25 -0500 (0:00:00.072) 0:02:12.042 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 January 2025 10:19:26 -0500 (0:00:00.099) 0:02:12.142 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 January 2025 10:19:26 -0500 (0:00:00.419) 0:02:12.561 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 January 2025 10:19:26 -0500 (0:00:00.042) 0:02:12.604 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020898", "end": "2025-01-06 10:19:26.873499", "rc": 1, "start": "2025-01-06 10:19:26.852601" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 January 2025 10:19:26 -0500 (0:00:00.446) 0:02:13.051 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 January 2025 10:19:26 -0500 (0:00:00.043) 0:02:13.095 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 January 2025 10:19:27 -0500 (0:00:00.044) 0:02:13.139 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 January 2025 10:19:27 -0500 (0:00:00.042) 0:02:13.182 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 January 2025 10:19:27 -0500 (0:00:00.041) 0:02:13.224 ******** skipping: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 06 January 2025 10:19:27 -0500 (0:00:00.043) 0:02:13.268 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 06 January 2025 10:19:27 -0500 (0:00:00.047) 0:02:13.315 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.331451", "end": "2025-01-06 10:19:27.903004", "rc": 0, "start": "2025-01-06 10:19:27.571553" } STDOUT: NetworkManager-1.46.2-1.fc40 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 06 January 2025 10:19:27 -0500 (0:00:00.764) 0:02:14.080 ******** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 06 January 2025 10:19:28 -0500 (0:00:00.045) 0:02:14.125 ******** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 January 2025 10:19:28 -0500 (0:00:00.045) 0:02:14.171 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 06 January 2025 10:19:28 -0500 (0:00:00.099) 0:02:14.271 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 January 2025 10:19:28 -0500 (0:00:00.121) 0:02:14.392 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 06 January 2025 10:19:28 -0500 (0:00:00.426) 0:02:14.819 ******** ok: [managed-node1] => { "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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 January 2025 10:19:28 -0500 (0:00:00.047) 0:02:14.866 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 January 2025 10:19:28 -0500 (0:00:00.045) 0:02:14.912 ******** included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 06 January 2025 10:19:28 -0500 (0:00:00.084) 0:02:14.996 ******** fatal: [managed-node1]: 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.043021", "end": "2025-01-06 10:19:29.281855", "rc": 1, "start": "2025-01-06 10:19:29.238834" } 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 06 January 2025 10:19:29 -0500 (0:00:00.465) 0:02:15.462 ******** ok: [managed-node1] => { "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.009409", "end": "2025-01-06 10:19:29.720672", "rc": 0, "start": "2025-01-06 10:19:29.711263" } 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 0e:3c:b4:9f:4f:b3 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.253/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2261sec preferred_lft 2261sec inet6 fe80::c3c:b4ff:fe9f:4fb3/64 scope link noprefixroute valid_lft forever preferred_lft forever 52: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 12:66:2f:ec:c8:14 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.253 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.253 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-cUU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 06 January 2025 10:19:29 -0500 (0:00:00.438) 0:02:15.900 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Monday 06 January 2025 10:19:29 -0500 (0:00:00.022) 0:02:15.922 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.70s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.85s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.78s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.75s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.75s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.75s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.74s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.73s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.73s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.69s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.67s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /tmp/collections-cUU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26