ansible-playbook [core 2.17.5] 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-Ged executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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-Ged/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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 12 October 2024 14:03:11 -0400 (0:00:00.030) 0:00:00.030 ****** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 12 October 2024 14:03:12 -0400 (0:00:01.595) 0:00:01.626 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 14:03:12 -0400 (0:00:00.047) 0:00:01.674 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 14:03:13 -0400 (0:00:00.594) 0:00:02.268 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.694) 0:00:02.963 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.036) 0:00:03.000 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.017) 0:00:03.017 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 39] ********************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.083) 0:00:03.100 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.025) 0:00:03.126 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.023) 0:00:03.150 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.024) 0:00:03.174 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.035) 0:00:03.210 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.043) 0:00:03.254 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 12 October 2024 14:03:14 -0400 (0:00:00.113) 0:00:03.367 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.991) 0:00:04.359 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.033) 0:00:04.393 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.057) 0:00:04.450 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.034) 0:00:04.484 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.104) 0:00:04.589 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.054) 0:00:04.644 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:03:15 -0400 (0:00:00.076) 0:00:04.721 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003606", "end": "2024-10-12 14:03:16.512106", "rc": 0, "start": "2024-10-12 14:03:16.508500" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:03:16 -0400 (0:00:00.635) 0:00:05.357 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:03:16 -0400 (0:00:00.021) 0:00:05.378 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:03:16 -0400 (0:00:00.020) 0:00:05.399 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 14:03:16 -0400 (0:00:00.035) 0:00:05.435 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008004", "end": "2024-10-12 14:03:17.003641", "rc": 1, "start": "2024-10-12 14:03:16.995637" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.405) 0:00:05.840 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.024) 0:00:05.864 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.403) 0:00:06.268 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.066) 0:00:06.334 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.087) 0:00:06.422 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.088) 0:00:06.511 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.097) 0:00:06.609 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.067) 0:00:06.676 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.036) 0:00:06.712 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:03:17 -0400 (0:00:00.067) 0:00:06.780 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:03:20 -0400 (0:00:02.653) 0:00:09.434 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:03:22 -0400 (0:00:01.528) 0:00:10.962 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.048) 0:00:11.011 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.043) 0:00:11.054 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.044) 0:00:11.098 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.067) 0:00:11.166 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.078) 0:00:11.244 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.068) 0:00:11.312 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.140) 0:00:11.452 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.235) 0:00:11.687 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:03:22 -0400 (0:00:00.077) 0:00:11.764 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:03:23 -0400 (0:00:00.069) 0:00:11.834 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:03:23 -0400 (0:00:00.106) 0:00:11.941 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:03:24 -0400 (0:00:01.054) 0:00:12.995 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:03:24 -0400 (0:00:00.202) 0:00:13.198 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:03:24 -0400 (0:00:00.105) 0:00:13.303 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:03:24 -0400 (0:00:00.083) 0:00:13.386 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:03:26 -0400 (0:00:01.466) 0:00:14.853 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:03:26 -0400 (0:00:00.083) 0:00:14.937 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:03:26 -0400 (0:00:00.151) 0:00:15.088 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:03:26 -0400 (0:00:00.131) 0:00:15.220 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:03:26 -0400 (0:00:00.078) 0:00:15.299 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 14:03:27 -0400 (0:00:00.849) 0:00:16.148 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386d2dc-f6d7-4f19-b143-7c1af7c028b6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:03:27 -0400 (0:00:00.065) 0:00:16.214 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 14:03:27 -0400 (0:00:00.130) 0:00:16.345 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:03:27 -0400 (0:00:00.154) 0:00:16.499 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:03:27 -0400 (0:00:00.087) 0:00:16.587 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:03:28 -0400 (0:00:00.478) 0:00:17.066 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:03:28 -0400 (0:00:00.099) 0:00:17.165 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019187", "end": "2024-10-12 14:03:28.761777", "rc": 0, "start": "2024-10-12 14:03:28.742590" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:03:28 -0400 (0:00:00.461) 0:00:17.626 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:03:28 -0400 (0:00:00.086) 0:00:17.713 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:03:28 -0400 (0:00:00.065) 0:00:17.779 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.066) 0:00:17.845 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.077) 0:00:17.923 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.076) 0:00:17.999 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.086) 0:00:18.085 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.054) 0:00:18.140 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.048) 0:00:18.189 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.307) 0:00:18.496 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:03:29 -0400 (0:00:00.232) 0:00:18.728 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728756205.8701155, "block_size": 4096, "blocks": 0, "ctime": 1728756205.8701155, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38599, "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": 1728756205.8701155, "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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 14:03:30 -0400 (0:00:00.468) 0:00:19.197 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:03:30 -0400 (0:00:00.051) 0:00:19.248 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:03:30 -0400 (0:00:00.069) 0:00:19.318 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:03:30 -0400 (0:00:00.157) 0:00:19.475 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.058108", "end": "2024-10-12 14:03:31.089393", "rc": 1, "start": "2024-10-12 14:03:31.031285" } STDOUT: Connection 'statebr' (8386d2dc-f6d7-4f19-b143-7c1af7c028b6) 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.508) 0:00:19.984 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.153) 0:00:20.138 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.089) 0:00:20.227 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.152) 0:00:20.379 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.163) 0:00:20.542 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:03:31 -0400 (0:00:00.176) 0:00:20.719 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-10-12 14:03:32.311404", "rc": 0, "start": "2024-10-12 14:03:32.307609" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:03:32 -0400 (0:00:00.526) 0:00:21.246 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:03:32 -0400 (0:00:00.102) 0:00:21.349 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:03:32 -0400 (0:00:00.088) 0:00:21.438 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 14:03:32 -0400 (0:00:00.107) 0:00:21.545 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006382", "end": "2024-10-12 14:03:33.083739", "rc": 1, "start": "2024-10-12 14:03:33.077357" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 14:03:33 -0400 (0:00:00.435) 0:00:21.980 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:03:33 -0400 (0:00:00.092) 0:00:22.073 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 14:03:33 -0400 (0:00:00.425) 0:00:22.498 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:03:33 -0400 (0:00:00.088) 0:00:22.587 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 12 October 2024 14:03:33 -0400 (0:00:00.154) 0:00:22.741 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:03:34 -0400 (0:00:00.206) 0:00:22.948 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:03:34 -0400 (0:00:00.179) 0:00:23.127 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:03:34 -0400 (0:00:00.098) 0:00:23.226 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:03:34 -0400 (0:00:00.056) 0:00:23.282 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:03:34 -0400 (0:00:00.073) 0:00:23.355 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:03:36 -0400 (0:00:02.361) 0:00:25.717 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:03:38 -0400 (0:00:01.303) 0:00:27.020 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:03:38 -0400 (0:00:00.166) 0:00:27.187 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:03:38 -0400 (0:00:00.116) 0:00:27.304 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:03:38 -0400 (0:00:00.098) 0:00:27.402 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:03:38 -0400 (0:00:00.125) 0:00:27.528 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:03:38 -0400 (0:00:00.170) 0:00:27.699 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.117) 0:00:27.816 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.260) 0:00:28.077 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.221) 0:00:28.299 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.066) 0:00:28.365 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.058) 0:00:28.424 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:03:39 -0400 (0:00:00.084) 0:00:28.509 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:03:40 -0400 (0:00:00.641) 0:00:29.150 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:03:40 -0400 (0:00:00.117) 0:00:29.268 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:03:40 -0400 (0:00:00.112) 0:00:29.381 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:03:40 -0400 (0:00:00.082) 0:00:29.463 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:03:41 -0400 (0:00:00.731) 0:00:30.195 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:03:41 -0400 (0:00:00.072) 0:00:30.267 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:03:41 -0400 (0:00:00.060) 0:00:30.328 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:03:41 -0400 (0:00:00.063) 0:00:30.391 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:03:41 -0400 (0:00:00.068) 0:00:30.459 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 12 October 2024 14:03:42 -0400 (0:00:00.477) 0:00:30.937 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f9685e3-3f02-4d45-ab1c-f412ef0982b8" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:03:42 -0400 (0:00:00.138) 0:00:31.076 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 14:03:42 -0400 (0:00:00.189) 0:00:31.266 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:03:42 -0400 (0:00:00.213) 0:00:31.479 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.491) 0:00:31.971 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.086) 0:00:32.057 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.134) 0:00:32.192 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.056) 0:00:32.249 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.425) 0:00:32.674 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:03:43 -0400 (0:00:00.077) 0:00:32.752 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018882", "end": "2024-10-12 14:03:44.329695", "rc": 0, "start": "2024-10-12 14:03:44.310813" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.443) 0:00:33.195 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.050) 0:00:33.246 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.045) 0:00:33.291 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.046) 0:00:33.338 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.088) 0:00:33.426 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.045) 0:00:33.472 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.052) 0:00:33.524 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.074) 0:00:33.599 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:03:44 -0400 (0:00:00.082) 0:00:33.682 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.121) 0:00:33.804 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.091) 0:00:33.896 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.148) 0:00:34.044 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038483", "end": "2024-10-12 14:03:45.639810", "rc": 1, "start": "2024-10-12 14:03:45.601327" } STDOUT: Connection 'statebr' (4f9685e3-3f02-4d45-ab1c-f412ef0982b8) 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.497) 0:00:34.541 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.154) 0:00:34.696 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:03:45 -0400 (0:00:00.085) 0:00:34.781 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:03:46 -0400 (0:00:00.117) 0:00:34.899 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:03:46 -0400 (0:00:00.097) 0:00:34.996 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:03:46 -0400 (0:00:00.167) 0:00:35.164 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2024-10-12 14:03:46.724032", "rc": 0, "start": "2024-10-12 14:03:46.720461" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:03:46 -0400 (0:00:00.484) 0:00:35.648 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:03:46 -0400 (0:00:00.091) 0:00:35.740 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.069) 0:00:35.809 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.093) 0:00:35.903 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.100) 0:00:36.004 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.090) 0:00:36.094 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.075) 0:00:36.170 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.049) 0:00:36.219 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:03:47 -0400 (0:00:00.050) 0:00:36.269 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:03:49 -0400 (0:00:02.373) 0:00:38.643 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:03:51 -0400 (0:00:01.278) 0:00:39.922 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.072) 0:00:39.994 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.055) 0:00:40.050 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.054) 0:00:40.105 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.074) 0:00:40.179 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.079) 0:00:40.259 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.075) 0:00:40.334 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.131) 0:00:40.465 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.162) 0:00:40.627 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.060) 0:00:40.689 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:03:51 -0400 (0:00:00.052) 0:00:40.741 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:03:52 -0400 (0:00:00.078) 0:00:40.819 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:03:52 -0400 (0:00:00.819) 0:00:41.638 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:03:52 -0400 (0:00:00.138) 0:00:41.777 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:03:53 -0400 (0:00:00.137) 0:00:41.914 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:03:53 -0400 (0:00:00.102) 0:00:42.017 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:03:54 -0400 (0:00:00.877) 0:00:42.894 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:03:54 -0400 (0:00:00.151) 0:00:43.046 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:03:54 -0400 (0:00:00.142) 0:00:43.188 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:03:54 -0400 (0:00:00.094) 0:00:43.282 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:03:54 -0400 (0:00:00.129) 0:00:43.414 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.493) 0:00:43.907 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.050) 0:00:43.958 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.119) 0:00:44.078 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.312) 0:00:44.390 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.175) 0:00:44.566 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.132) 0:00:44.698 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:03:55 -0400 (0:00:00.050) 0:00:44.749 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:03:56 -0400 (0:00:00.073) 0:00:44.823 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:03:58 -0400 (0:00:02.392) 0:00:47.215 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:03:59 -0400 (0:00:01.095) 0:00:48.311 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:03:59 -0400 (0:00:00.108) 0:00:48.420 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:03:59 -0400 (0:00:00.075) 0:00:48.495 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:03:59 -0400 (0:00:00.052) 0:00:48.547 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:03:59 -0400 (0:00:00.089) 0:00:48.637 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:03:59 -0400 (0:00:00.111) 0:00:48.748 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.091) 0:00:48.839 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.125) 0:00:48.965 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.162) 0:00:49.128 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.043) 0:00:49.171 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.084) 0:00:49.256 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:00 -0400 (0:00:00.101) 0:00:49.357 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:01 -0400 (0:00:00.857) 0:00:50.214 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:01 -0400 (0:00:00.103) 0:00:50.318 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:01 -0400 (0:00:00.046) 0:00:50.365 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:01 -0400 (0:00:00.045) 0:00:50.410 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.639) 0:00:51.050 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.046) 0:00:51.096 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.049) 0:00:51.146 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b11c6e39-94bd-4c15-8a9b-4a4064721799 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.052) 0:00:51.198 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.046) 0:00:51.245 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.422) 0:00:51.667 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 14:04:02 -0400 (0:00:00.109) 0:00:51.777 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:04:03 -0400 (0:00:00.138) 0:00:51.916 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728756233.870584, "block_size": 4096, "blocks": 0, "ctime": 1728756233.870584, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38724, "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": 1728756233.870584, "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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 14:04:03 -0400 (0:00:00.397) 0:00:52.314 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 14:04:03 -0400 (0:00:00.051) 0:00:52.366 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:04:03 -0400 (0:00:00.086) 0:00:52.452 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:04:03 -0400 (0:00:00.048) 0:00:52.500 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.405) 0:00:52.906 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.044) 0:00:52.951 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018771", "end": "2024-10-12 14:04:04.500223", "rc": 0, "start": "2024-10-12 14:04:04.481452" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.440) 0:00:53.391 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.070) 0:00:53.461 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.077) 0:00:53.539 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.087) 0:00:53.626 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.052) 0:00:53.678 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.046) 0:00:53.725 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 14:04:04 -0400 (0:00:00.050) 0:00:53.775 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.051) 0:00:53.826 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.049) 0:00:53.876 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.151) 0:00:54.028 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.048) 0:00:54.076 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.085) 0:00:54.162 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057632", "end": "2024-10-12 14:04:05.748247", "rc": 1, "start": "2024-10-12 14:04:05.690615" } STDOUT: Connection 'statebr' (b11c6e39-94bd-4c15-8a9b-4a4064721799) 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.457) 0:00:54.619 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.101) 0:00:54.721 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:04:05 -0400 (0:00:00.048) 0:00:54.770 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.087) 0:00:54.858 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.077) 0:00:54.935 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.074) 0:00:55.010 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003987", "end": "2024-10-12 14:04:06.548169", "rc": 0, "start": "2024-10-12 14:04:06.544182" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.402) 0:00:55.412 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.048) 0:00:55.461 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.086) 0:00:55.547 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.085) 0:00:55.633 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:06 -0400 (0:00:00.121) 0:00:55.754 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:07 -0400 (0:00:00.091) 0:00:55.846 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:07 -0400 (0:00:00.077) 0:00:55.924 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:07 -0400 (0:00:00.050) 0:00:55.974 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:07 -0400 (0:00:00.051) 0:00:56.025 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:09 -0400 (0:00:02.303) 0:00:58.329 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:10 -0400 (0:00:01.061) 0:00:59.390 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:10 -0400 (0:00:00.065) 0:00:59.456 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:10 -0400 (0:00:00.119) 0:00:59.576 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:10 -0400 (0:00:00.079) 0:00:59.656 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:10 -0400 (0:00:00.107) 0:00:59.763 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.166) 0:00:59.930 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.123) 0:01:00.053 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.214) 0:01:00.267 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.263) 0:01:00.531 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.112) 0:01:00.643 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:11 -0400 (0:00:00.117) 0:01:00.761 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:12 -0400 (0:00:00.146) 0:01:00.908 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:13 -0400 (0:00:00.890) 0:01:01.799 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:13 -0400 (0:00:00.159) 0:01:01.959 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:13 -0400 (0:00:00.107) 0:01:02.066 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:13 -0400 (0:00:00.081) 0:01:02.147 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:14 -0400 (0:00:01.062) 0:01:03.210 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:14 -0400 (0:00:00.099) 0:01:03.309 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:14 -0400 (0:00:00.089) 0:01:03.400 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:14 -0400 (0:00:00.179) 0:01:03.579 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:14 -0400 (0:00:00.092) 0:01:03.671 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 14:04:15 -0400 (0:00:00.452) 0:01:04.124 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 14:04:15 -0400 (0:00:00.066) 0:01:04.191 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:15 -0400 (0:00:00.189) 0:01:04.380 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:15 -0400 (0:00:00.174) 0:01:04.555 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:15 -0400 (0:00:00.153) 0:01:04.709 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:16 -0400 (0:00:00.101) 0:01:04.810 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:16 -0400 (0:00:00.094) 0:01:04.905 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:18 -0400 (0:00:02.348) 0:01:07.253 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:19 -0400 (0:00:01.372) 0:01:08.625 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:19 -0400 (0:00:00.086) 0:01:08.712 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.080) 0:01:08.792 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.055) 0:01:08.848 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.094) 0:01:08.942 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.107) 0:01:09.049 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.073) 0:01:09.123 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.106) 0:01:09.229 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.161) 0:01:09.391 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.046) 0:01:09.437 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.053) 0:01:09.491 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:20 -0400 (0:00:00.130) 0:01:09.621 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:21 -0400 (0:00:00.731) 0:01:10.353 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:21 -0400 (0:00:00.170) 0:01:10.523 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:21 -0400 (0:00:00.051) 0:01:10.575 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:21 -0400 (0:00:00.045) 0:01:10.621 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:22 -0400 (0:00:00.897) 0:01:11.519 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:22 -0400 (0:00:00.141) 0:01:11.660 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:23 -0400 (0:00:00.173) 0:01:11.834 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24ee73f6-5f85-448a-9b8e-546eb2cf3375 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:23 -0400 (0:00:00.153) 0:01:11.988 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:23 -0400 (0:00:00.112) 0:01:12.100 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:04:24 -0400 (0:00:00.722) 0:01:12.823 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 14:04:24 -0400 (0:00:00.245) 0:01:13.068 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:24 -0400 (0:00:00.255) 0:01:13.324 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:24 -0400 (0:00:00.334) 0:01:13.659 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:25 -0400 (0:00:00.148) 0:01:13.807 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:25 -0400 (0:00:00.101) 0:01:13.909 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:25 -0400 (0:00:00.082) 0:01:13.992 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:27 -0400 (0:00:02.554) 0:01:16.547 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:28 -0400 (0:00:01.008) 0:01:17.555 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:28 -0400 (0:00:00.049) 0:01:17.605 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:28 -0400 (0:00:00.057) 0:01:17.662 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.124) 0:01:17.787 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.136) 0:01:17.923 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.197) 0:01:18.120 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.106) 0:01:18.226 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.094) 0:01:18.320 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.116) 0:01:18.437 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.046) 0:01:18.484 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.059) 0:01:18.543 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:29 -0400 (0:00:00.169) 0:01:18.712 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:30 -0400 (0:00:00.911) 0:01:19.624 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:30 -0400 (0:00:00.098) 0:01:19.723 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:30 -0400 (0:00:00.049) 0:01:19.772 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:31 -0400 (0:00:00.045) 0:01:19.818 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:31 -0400 (0:00:00.662) 0:01:20.481 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:31 -0400 (0:00:00.077) 0:01:20.558 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:31 -0400 (0:00:00.083) 0:01:20.642 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:31 -0400 (0:00:00.109) 0:01:20.751 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:32 -0400 (0:00:00.106) 0:01:20.858 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:04:32 -0400 (0:00:00.476) 0:01:21.334 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 14:04:32 -0400 (0:00:00.104) 0:01:21.439 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:04:32 -0400 (0:00:00.135) 0:01:21.574 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728756254.221903, "block_size": 4096, "blocks": 0, "ctime": 1728756254.221903, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38849, "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": 1728756254.221903, "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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 14:04:33 -0400 (0:00:00.520) 0:01:22.095 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 14:04:33 -0400 (0:00:00.075) 0:01:22.171 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:04:33 -0400 (0:00:00.150) 0:01:22.321 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:04:33 -0400 (0:00:00.048) 0:01:22.369 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.500) 0:01:22.870 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.057) 0:01:22.927 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019048", "end": "2024-10-12 14:04:34.480305", "rc": 1, "start": "2024-10-12 14:04:34.461257" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.429) 0:01:23.357 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.083) 0:01:23.440 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.081) 0:01:23.522 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.063) 0:01:23.585 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.052) 0:01:23.638 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.047) 0:01:23.685 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:04:34 -0400 (0:00:00.048) 0:01:23.733 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.067) 0:01:23.801 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.050) 0:01:23.852 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.087) 0:01:23.939 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.058678", "end": "2024-10-12 14:04:35.536109", "rc": 1, "start": "2024-10-12 14:04:35.477431" } STDOUT: Connection 'statebr' (24ee73f6-5f85-448a-9b8e-546eb2cf3375) 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.522) 0:01:24.461 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.145) 0:01:24.607 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:04:35 -0400 (0:00:00.085) 0:01:24.692 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.136) 0:01:24.828 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.126) 0:01:24.954 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.123) 0:01:25.078 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003871", "end": "2024-10-12 14:04:36.631933", "rc": 0, "start": "2024-10-12 14:04:36.628062" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.420) 0:01:25.498 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.049) 0:01:25.548 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.055) 0:01:25.603 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 14:04:36 -0400 (0:00:00.142) 0:01:25.746 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:37 -0400 (0:00:00.150) 0:01:25.896 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:37 -0400 (0:00:00.223) 0:01:26.119 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:37 -0400 (0:00:00.151) 0:01:26.271 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:37 -0400 (0:00:00.064) 0:01:26.335 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:37 -0400 (0:00:00.056) 0:01:26.392 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:40 -0400 (0:00:02.443) 0:01:28.835 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:41 -0400 (0:00:01.103) 0:01:29.938 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.050) 0:01:29.988 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.045) 0:01:30.034 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.044) 0:01:30.078 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.069) 0:01:30.147 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.081) 0:01:30.229 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.066) 0:01:30.295 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.159) 0:01:30.455 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.215) 0:01:30.670 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:41 -0400 (0:00:00.078) 0:01:30.748 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:42 -0400 (0:00:00.081) 0:01:30.830 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:42 -0400 (0:00:00.105) 0:01:30.935 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:42 -0400 (0:00:00.746) 0:01:31.682 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:42 -0400 (0:00:00.097) 0:01:31.779 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:43 -0400 (0:00:00.058) 0:01:31.837 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:43 -0400 (0:00:00.045) 0:01:31.883 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:43 -0400 (0:00:00.790) 0:01:32.674 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.115) 0:01:32.789 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.114) 0:01:32.904 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.086) 0:01:32.990 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.081) 0:01:33.072 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.496) 0:01:33.568 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 14:04:44 -0400 (0:00:00.146) 0:01:33.714 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:45 -0400 (0:00:00.288) 0:01:34.003 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:45 -0400 (0:00:00.312) 0:01:34.315 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:45 -0400 (0:00:00.195) 0:01:34.511 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:45 -0400 (0:00:00.166) 0:01:34.678 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:46 -0400 (0:00:00.165) 0:01:34.844 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:48 -0400 (0:00:02.461) 0:01:37.305 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.982) 0:01:38.288 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.050) 0:01:38.338 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.044) 0:01:38.383 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.045) 0:01:38.429 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.136) 0:01:38.566 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:49 -0400 (0:00:00.132) 0:01:38.698 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.118) 0:01:38.816 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.129) 0:01:38.946 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.228) 0:01:39.175 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.085) 0:01:39.261 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.083) 0:01:39.344 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:50 -0400 (0:00:00.151) 0:01:39.496 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:51 -0400 (0:00:00.677) 0:01:40.173 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:51 -0400 (0:00:00.099) 0:01:40.273 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:51 -0400 (0:00:00.063) 0:01:40.336 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:51 -0400 (0:00:00.078) 0:01:40.414 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:52 -0400 (0:00:00.754) 0:01:41.168 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:04:52 -0400 (0:00:00.083) 0:01:41.251 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:04:52 -0400 (0:00:00.085) 0:01:41.337 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98a97e35-9681-43b7-a017-dc7b23ec9078 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:04:52 -0400 (0:00:00.087) 0:01:41.425 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:04:52 -0400 (0:00:00.076) 0:01:41.501 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.535) 0:01:42.037 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.101) 0:01:42.139 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.132) 0:01:42.271 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.131) 0:01:42.403 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.090) 0:01:42.494 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:04:53 -0400 (0:00:00.144) 0:01:42.638 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:04:56 -0400 (0:00:02.448) 0:01:45.086 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:04:57 -0400 (0:00:01.103) 0:01:46.190 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.089) 0:01:46.280 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.098) 0:01:46.378 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.129) 0:01:46.508 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.074) 0:01:46.583 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.080) 0:01:46.664 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:04:57 -0400 (0:00:00.072) 0:01:46.736 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:04:58 -0400 (0:00:00.084) 0:01:46.820 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:04:58 -0400 (0:00:00.190) 0:01:47.010 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:04:58 -0400 (0:00:00.079) 0:01:47.090 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:04:58 -0400 (0:00:00.077) 0:01:47.167 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:04:58 -0400 (0:00:00.094) 0:01:47.262 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:04:59 -0400 (0:00:00.666) 0:01:47.928 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:04:59 -0400 (0:00:00.093) 0:01:48.021 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:04:59 -0400 (0:00:00.044) 0:01:48.066 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:04:59 -0400 (0:00:00.045) 0:01:48.111 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:04:59 -0400 (0:00:00.656) 0:01:48.768 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.045) 0:01:48.814 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.051) 0:01:48.865 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.099) 0:01:48.965 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.046) 0:01:49.011 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.508) 0:01:49.520 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 14:05:00 -0400 (0:00:00.260) 0:01:49.780 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:05:01 -0400 (0:00:00.272) 0:01:50.053 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:05:01 -0400 (0:00:00.226) 0:01:50.279 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:05:01 -0400 (0:00:00.138) 0:01:50.418 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:05:01 -0400 (0:00:00.094) 0:01:50.513 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:05:01 -0400 (0:00:00.093) 0:01:50.606 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:05:04 -0400 (0:00:02.506) 0:01:53.113 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:05:05 -0400 (0:00:01.454) 0:01:54.567 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:05:05 -0400 (0:00:00.124) 0:01:54.691 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.123) 0:01:54.815 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.078) 0:01:54.893 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.118) 0:01:55.012 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.135) 0:01:55.148 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.111) 0:01:55.260 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.136) 0:01:55.396 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.270) 0:01:55.667 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:05:06 -0400 (0:00:00.116) 0:01:55.784 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:05:07 -0400 (0:00:00.134) 0:01:55.919 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:05:07 -0400 (0:00:00.227) 0:01:56.146 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:05:08 -0400 (0:00:00.917) 0:01:57.064 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:05:08 -0400 (0:00:00.183) 0:01:57.247 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:05:08 -0400 (0:00:00.078) 0:01:57.326 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:05:08 -0400 (0:00:00.047) 0:01:57.374 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:05:09 -0400 (0:00:00.875) 0:01:58.249 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:09 -0400 (0:00:00.078) 0:01:58.328 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:09 -0400 (0:00:00.114) 0:01:58.442 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:09 -0400 (0:00:00.107) 0:01:58.549 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:09 -0400 (0:00:00.097) 0:01:58.646 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:05:10 -0400 (0:00:00.501) 0:01:59.148 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 14:05:10 -0400 (0:00:00.138) 0:01:59.286 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:05:10 -0400 (0:00:00.105) 0:01:59.391 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:05:10 -0400 (0:00:00.053) 0:01:59.445 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.399) 0:01:59.845 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.044) 0:01:59.890 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018788", "end": "2024-10-12 14:05:11.453602", "rc": 1, "start": "2024-10-12 14:05:11.434814" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.517) 0:02:00.407 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.093) 0:02:00.501 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.169) 0:02:00.670 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:05:11 -0400 (0:00:00.084) 0:02:00.755 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:05:12 -0400 (0:00:00.083) 0:02:00.838 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 14:05:12 -0400 (0:00:00.083) 0:02:00.922 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:05:12 -0400 (0:00:00.100) 0:02:01.022 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 14:05:12 -0400 (0:00:00.262) 0:02:01.285 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:05:12 -0400 (0:00:00.188) 0:02:01.473 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.443) 0:02:01.917 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.089) 0:02:02.007 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.082) 0:02:02.090 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.108) 0:02:02.199 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037159", "end": "2024-10-12 14:05:13.767441", "rc": 1, "start": "2024-10-12 14:05:13.730282" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.448) 0:02:02.648 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 14:05:13 -0400 (0:00:00.136) 0:02:02.784 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 14:05:14 -0400 (0:00:00.050) 0:02:02.834 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 14:05:14 -0400 (0:00:00.133) 0:02:02.968 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 14:05:14 -0400 (0:00:00.170) 0:02:03.139 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 14:05:14 -0400 (0:00:00.163) 0:02:03.302 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003952", "end": "2024-10-12 14:05:14.903549", "rc": 0, "start": "2024-10-12 14:05:14.899597" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 14:05:14 -0400 (0:00:00.473) 0:02:03.776 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.084) 0:02:03.860 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.084) 0:02:03.945 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.161) 0:02:04.106 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.166) 0:02:04.272 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.113) 0:02:04.386 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.177) 0:02:04.564 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.053) 0:02:04.617 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:05:15 -0400 (0:00:00.053) 0:02:04.671 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:05:18 -0400 (0:00:02.354) 0:02:07.025 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:05:19 -0400 (0:00:01.003) 0:02:08.029 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.051) 0:02:08.080 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.046) 0:02:08.127 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.047) 0:02:08.174 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.070) 0:02:08.245 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.081) 0:02:08.327 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.089) 0:02:08.416 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.107) 0:02:08.524 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:05:19 -0400 (0:00:00.165) 0:02:08.689 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.149) 0:02:08.839 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.056) 0:02:08.895 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.088) 0:02:08.984 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.648) 0:02:09.633 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.081) 0:02:09.715 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:05:20 -0400 (0:00:00.046) 0:02:09.761 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:05:21 -0400 (0:00:00.047) 0:02:09.809 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:05:21 -0400 (0:00:00.707) 0:02:10.516 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:21 -0400 (0:00:00.082) 0:02:10.598 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:21 -0400 (0:00:00.093) 0:02:10.692 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.093) 0:02:10.785 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.080) 0:02:10.866 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.444) 0:02:11.310 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.050) 0:02:11.361 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.154) 0:02:11.515 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.118) 0:02:11.633 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.079) 0:02:11.713 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:05:22 -0400 (0:00:00.052) 0:02:11.766 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:05:23 -0400 (0:00:00.052) 0:02:11.819 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:05:25 -0400 (0:00:02.325) 0:02:14.145 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.967) 0:02:15.112 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.050) 0:02:15.162 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.047) 0:02:15.209 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.047) 0:02:15.257 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.069) 0:02:15.327 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.086) 0:02:15.414 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.123) 0:02:15.537 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.079) 0:02:15.616 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:05:26 -0400 (0:00:00.138) 0:02:15.755 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:05:27 -0400 (0:00:00.047) 0:02:15.803 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:05:27 -0400 (0:00:00.045) 0:02:15.849 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:05:27 -0400 (0:00:00.083) 0:02:15.933 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:05:27 -0400 (0:00:00.693) 0:02:16.626 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:05:27 -0400 (0:00:00.156) 0:02:16.783 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.058) 0:02:16.841 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.047) 0:02:16.889 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.621) 0:02:17.511 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.056) 0:02:17.567 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.051) 0:02:17.619 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0ed3aee4-917f-4f1d-8983-a6ad8b60908d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.051) 0:02:17.671 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:28 -0400 (0:00:00.046) 0:02:17.718 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.446) 0:02:18.165 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.152) 0:02:18.318 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.095) 0:02:18.413 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.084) 0:02:18.497 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.080) 0:02:18.577 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:05:29 -0400 (0:00:00.086) 0:02:18.664 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:05:32 -0400 (0:00:02.369) 0:02:21.034 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:05:33 -0400 (0:00:01.106) 0:02:22.141 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:05:33 -0400 (0:00:00.090) 0:02:22.231 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:05:33 -0400 (0:00:00.086) 0:02:22.318 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:05:33 -0400 (0:00:00.081) 0:02:22.399 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:05:33 -0400 (0:00:00.122) 0:02:22.522 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:05:33 -0400 (0:00:00.213) 0:02:22.736 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.070) 0:02:22.806 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.079) 0:02:22.885 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.119) 0:02:23.005 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.060) 0:02:23.065 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.083) 0:02:23.148 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:05:34 -0400 (0:00:00.141) 0:02:23.289 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:05:35 -0400 (0:00:00.832) 0:02:24.121 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:05:35 -0400 (0:00:00.137) 0:02:24.259 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:05:35 -0400 (0:00:00.068) 0:02:24.327 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:05:35 -0400 (0:00:00.052) 0:02:24.380 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:05:36 -0400 (0:00:00.714) 0:02:25.094 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:36 -0400 (0:00:00.047) 0:02:25.142 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:36 -0400 (0:00:00.060) 0:02:25.203 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:36 -0400 (0:00:00.082) 0:02:25.285 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:36 -0400 (0:00:00.083) 0:02:25.368 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.481) 0:02:25.850 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.120) 0:02:25.971 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.181) 0:02:26.152 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.117) 0:02:26.270 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.079) 0:02:26.349 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.051) 0:02:26.400 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 14:05:37 -0400 (0:00:00.058) 0:02:26.458 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 14:05:40 -0400 (0:00:02.384) 0:02:28.842 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 14:05:41 -0400 (0:00:01.041) 0:02:29.884 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.101) 0:02:29.986 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.046) 0:02:30.032 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.047) 0:02:30.079 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.075) 0:02:30.155 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.085) 0:02:30.240 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.072) 0:02:30.313 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.081) 0:02:30.394 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.113) 0:02:30.508 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.047) 0:02:30.555 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.046) 0:02:30.602 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 14:05:41 -0400 (0:00:00.078) 0:02:30.680 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 14:05:42 -0400 (0:00:00.682) 0:02:31.363 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 14:05:42 -0400 (0:00:00.134) 0:02:31.497 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 14:05:42 -0400 (0:00:00.059) 0:02:31.557 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 14:05:42 -0400 (0:00:00.045) 0:02:31.602 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 14:05:43 -0400 (0:00:00.677) 0:02:32.280 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 14:05:43 -0400 (0:00:00.099) 0:02:32.379 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 14:05:43 -0400 (0:00:00.051) 0:02:32.430 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 14:05:43 -0400 (0:00:00.053) 0:02:32.483 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 14:05:43 -0400 (0:00:00.047) 0:02:32.531 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.424) 0:02:32.955 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.095) 0:02:33.050 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.084) 0:02:33.135 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.048) 0:02:33.184 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.399) 0:02:33.583 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 14:05:44 -0400 (0:00:00.046) 0:02:33.629 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017995", "end": "2024-10-12 14:05:45.176274", "rc": 1, "start": "2024-10-12 14:05:45.158279" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.409) 0:02:34.039 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.047) 0:02:34.086 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.047) 0:02:34.134 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.046) 0:02:34.180 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.105) 0:02:34.285 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.048) 0:02:34.334 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 12 October 2024 14:05:45 -0400 (0:00:00.051) 0:02:34.385 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.330486", "end": "2024-10-12 14:05:46.242889", "rc": 0, "start": "2024-10-12 14:05:45.912403" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 12 October 2024 14:05:46 -0400 (0:00:00.724) 0:02:35.109 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 12 October 2024 14:05:46 -0400 (0:00:00.050) 0:02:35.160 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 14:05:46 -0400 (0:00:00.050) 0:02:35.210 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 14:05:46 -0400 (0:00:00.124) 0:02:35.335 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 14:05:46 -0400 (0:00:00.078) 0:02:35.413 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 14:05:47 -0400 (0:00:00.397) 0:02:35.810 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 14:05:47 -0400 (0:00:00.051) 0:02:35.862 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 14:05:47 -0400 (0:00:00.048) 0:02:35.911 ****** included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 14:05:47 -0400 (0:00:00.098) 0:02:36.010 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037563", "end": "2024-10-12 14:05:47.580765", "rc": 1, "start": "2024-10-12 14:05:47.543202" } 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-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 12 October 2024 14:05:47 -0400 (0:00:00.435) 0:02:36.445 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008910", "end": "2024-10-12 14:05:47.988253", "rc": 0, "start": "2024-10-12 14:05:47.979343" } 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 12:c9:34:06:83:ef brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.8.141/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2835sec preferred_lft 2835sec inet6 fe80::d90f:e706:357d:783f/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.141 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.141 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 12 October 2024 14:05:48 -0400 (0:00:00.455) 0:02:36.901 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=11 Saturday 12 October 2024 14:05:48 -0400 (0:00:00.139) 0:02:37.040 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.51s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.44s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.36s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.60s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.47s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-Ged/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26